Jump to content
We've recently updated our Privacy Statement, available here ×

Why JR is looking for Eclipse class?


2004 IR Help

Recommended Posts

By: Igor Regis - igor_ti

Why JR is looking for Eclipse class?

2005-10-27 03:45

Can someone give a clue about this error? Why jasperreports engine is looking for this class?

 

Regards,

Igor Regis

 

java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at net.sf.jasperreports.engine.design.JRDefaultCompiler.getCompiler(JRDefaultCompiler.java:178)

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

at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:382)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:451)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:91)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:73)

at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:113)

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

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

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

at br.com.igor.gfp.reports.ReportFactory.makeReport(ReportFactory.java:75)

at br.com.igor.gfp.telas.TelaLancamentos$1.run(TelaLancamentos.java:687)

 

 

 

 

By: Teodor Danciu - teodord

RE: Why JR is looking for Eclipse class?

2005-10-27 03:54

 

Hi,

 

What version of JR are you using?

I think this was solved a few versions ago.

 

Thank you,

Teodor

 

 

 

 

 

By: Igor Regis - igor_ti

RE: Why JR is looking for Eclipse class?

2005-10-27 04:08

Hi Teodor!

 

I am using the 1.1.0 release.

My jrxml files was designed using IReports 0.5.0 (0.6.7 jasperreports).

*BUT* I just compiled them all using the 1.1.0 release of jasperreports (with no errors messages). And now IÂ’m trying to filling the reports.

 

Regards,

Igor Regis

 

 

 

 

By: Lucian Chirita - lucianc

RE: Why JR is looking for Eclipse class?

2005-10-27 04:14

Hi

 

This issue has been reintroduced in 1.1.0 as the the report compilers were refactored. The fix is available on CVS.

 

If you don't want the CVS version, include jdt-compiler.jar in the classpath when filling the reports.

 

Regards,

Lucian

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