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

Installed 1.0.4 into Eclipse Indigo. Can't open any jrxml file or compile reports


paul4001

Recommended Posts

Hi, when I try to open a .jrxml file in Eclipse or compile it or even switch to the report design perspective, I get the attached error.  I've included the logged error also.

I have added the jasperreports jar to my project's classpath but problem persists.  Any suggestions?

Thanks,

Paul

Code:
!ENTRY org.eclipse.ui 4 0 2011-11-23 16:44:26.613!MESSAGE Unhandled event loop exception!STACK 0java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.xml.JRReportSaxParserFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:157) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:115) at net.sf.jasperreports.engine.util.JRSingletonCache.createInstance(JRSingletonCache.java:85) at net.sf.jasperreports.engine.util.JRSingletonCache.getCachedInstance(JRSingletonCache.java:74)...
Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 I got the same problem - eventually traced it to having also installed the JBoss tools version 3.3 from the Eclipse marketplace. It looks like you can either do Jasper Reports development OR you can do JBoss development - but not both in the same IDE! 

 

Hope this helps !

If anyone knows of a fix for this please let me know as this would be really usefull!

Link to comment
Share on other sites

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