Jump to content
Changes to the Jaspersoft community edition download ×

Problem with generating PDF report after upgrade.


Recommended Posts

After migration from JR 1.0.0 to JR 1.2.7 receiving error while generating PDF report. Old templates was buil properly by new JRC, but at runtime whe I want to display PDF report it gives me error:

net.sf.jasperreports.engine.JRException: Class not found when loading object from file : C:/jboss-4/server/default/./tmp/deploy/tmp47327myapp-exp.war/reports/myreport.jasper


11:17:10,047 INFO [sTDOUT] java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.commons.collections.SequencedHashMap

11:17:10,047 INFO [sTDOUT] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)

11:17:10,047 INFO [sTDOUT] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)

11:17:10,047 INFO [sTDOUT] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)

11:17:10,047 INFO [sTDOUT] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)



Built by Ant, deployed to JBoss 404. I've used iReport 1.2.7 to create report templaes.


here is piace of sourcecode:

String s = servletContext.getRealPath(MY_REPORT);

jReport = (JasperReport) JRLoader.loadObject(s);

JRXmlDataSource dataSource = new JRXmlDataSource(document, "/ReportModel");

HashMap parameters = new HashMap();

report = JasperFillManager.fillReport(jReport, parameters, dataSource);



Exception is in JRLoader.loadObject(s)

Post edited by: Amir, at: 2006/10/20 15:21

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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