paul4001 Posted November 23, 2011 Share Posted November 23, 2011 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,PaulCode:!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 More sharing options...
chrisdurham Posted December 7, 2011 Share Posted December 7, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now