Jump to content
Changes to the Jaspersoft community edition download ×

Applet JAVA 1.5.x JDT Compiler problem


Dehlinger

Recommended Posts

Hello guys,

 

I am using the latest JasperReports lib and the latest JDT lib to compile reports on the fly in my Java Applet.

 

Under Java 1.4.2 and Java 1.6.x it es working fine.

But in Java 1.5.x following error occured:

 

Code:

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
/*
^
1 errors

at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)

 

Running the application as a standalone Java application and not in an Applet, the compilation works fine.

So it could be a Classloader problem.

 

I need to get a solution.

It would be great, if anyone could help me with this problem.

 

Thanks.

 

Sebastian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...