Jump to content

Class not found when loading


steccov

Recommended Posts

Hi,

when i try to load a jasper report after the Tomcat (version 4.0) deploy apperars this error:

 

"javax.servlet.ServletException: Class not found when opening object from file : filepath"

 

I have used jasper report 1.2.7 and my web app is developed on jbuilder.

 

Therefore when i printed the stack of the error "org.apache.commons.collections.sequencedhashmap".

 

Can anyone halp me, please.

 

Andrea

 

Post edited by: steccov, at: 2006/10/17 15:56

Post edited by: steccov, at: 2006/10/17 16:11

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Have similar problem:

net.sf.jasperreports.engine.JRException: Class not found when loading object from file : C:jboss-4serverdefault.tmpdeploytmp51495voipaudit-exp.warreportsassetPluginCoverageMain.jasper

 

Tried to migrate from JR1.0.0 to 1.2.7

With 1.0.0 works fine, when replaced jars - got error!

Ant compiles reports before deploing well, deploing to JBoss4. Error occured in runtime, when doind export to PDF.

...

String s = servletContext.getRealPath(MY_REPORT);

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

...

JRLoader.loadObject(s) - throws exception

 

Any ideas?

 

Post edited by: Amir, at: 2006/10/19 19:25

Post edited by: Amir, at: 2006/10/19 19:33

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