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

JasperReports 0.4.6 and common-xxx.jar


Recommended Posts

By: Alec Swan - alecswan

JasperReports 0.4.6 and common-xxx.jar

2003-05-12 10:26

I got webapp that came with JasperReports 0.4.5 working. Now, I updated jasperreport.jar in WEB-INF/lib/ directory to version 0.4.6 and started getting the following error:

Error: 500

Internal Servlet Error:

 

java.lang.NoSuchMethodError

at dori.jasper.engine.xml.JRXmlLoader.prepareDigester(JRXmlLoader.java:419)

at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:370)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:357)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:337)

at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:102)

 

It would help if you could list all the libraries that need to be updated when upgrading to the next JasperReports version.

Thanks.

 

Alec

 

 

 

 

 

By: Teodor Danciu - teodord

RE: JasperReports 0.4.6 and common-xxx.jar

2003-05-13 13:06

 

Hi,

 

Yes, I'm aware of this problem.

In fact, since 0.4.6, JasperReports uses the

SAX 2.0 API through JAXP.

I should put this into the requirements.

Some older versions of JAXP do not have

the SAXParser.getXMLReader() method.

 

Apparently, your application uses such a version of

the JAXP API, probably due to the fact that it is

found somewhere on the server's classpath.

I saw this problem with tomcat 3.2 for example.

 

A solution would be to upgrade those jars that contain JAXP in your webserver.

 

I hope this helps.

Teodor

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