Jump to content
Changes to the Jaspersoft community edition download ×

UnsupportedClassVersionError on filling report


lena5il

Recommended Posts

Hello,

 

I have the following problem:

I use jasperreport-1.2.0 with j2sdk1.4.2_04 (on WIN server 2003).

 

The same project runs ok with the same jars on another machine (WinXp).

 

When I try to create a report on win server, I get the following exception:

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: HeaderCAF_1170929904496_715845 (Unsupported major.minor version 50.0)

 

at java.lang.ClassLoader.defineClass0(Native Method)

 

at java.lang.ClassLoader.defineClass(Unknown Source)

 

at net.sf.jasperreports.engine.util.JRClassLoader.loadClass(JRClassLoader.java:245)

 

at net.sf.jasperreports.engine.util.JRClassLoader.loadClassFromBytes(JRClassLoader.java:154)

 

at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:77)

 

at net.sf.jasperreports.engine.design.JRAbstractCompiler.loadEvaluator(JRAbstractCompiler.java:327)

 

at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:195)

 

at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:209)

 

at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:321)

 

at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275)

 

at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:399)

 

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1300)

 

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:542)

 

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:480)

 

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160)

 

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:730)

 

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:651)

 

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)

 

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)

 

The strange thing that I get this error not for all reports. Some of them run ok, and I don't understand what the difference between them.

 

The source was compiled with j2re1.4.2_03 in eclipse.

 

I hope someone can help me :blush:

 

Regards,

Elena

Post edited by: lena5il, at: 2007/02/27 09:13

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...