Jump to content
JasperReports Library 7.0 is now available ×

problem upgrading to 1.0.0


2004 IR Help

Recommended Posts

By: johnnytmac - johnme14

problem upgrading to 1.0.0

2005-08-04 06:26

I recently upgraded from jasper 0.6.5 to version 1.0.0 and i get the following error.

java.lang.NoClassDefFoundError: org/apache/commons/digester/SetNestedPropertiesRule

This was the only change I made. Are there any other libraries or classes that i need to update?

 

 

 

 

By: Teodor Danciu - teodord

RE: problem upgrading to 1.0.0

2005-08-04 07:35

 

Hi,

 

Upgrade Digester to version 1.7.

This is in the new "Requirements" page.

 

Thank you,

Teodor

 

 

 

 

 

By: Tbozu - tbozu

RE: problem upgrading to 1.0.0

2005-08-07 19:06

Hi,

 

i also have a problem with the upgrading. However, the error is not similar. i have copied all the libraries from the jasperreport-1.0.0 project lib during my compilation in my antcompile in eclipse. Below is my errors :

 

Buildfile: C:eclipseworkspacecompile_jasper-1.0.0build.xml

compile1:

[jrc] Compiling 2 report design files.

[jrc] Aug 8, 2005 9:51:22 AM org.apache.commons.digester.Digester getParser

[jrc] SEVERE: Digester.getParser:

[jrc] org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic

[jrc] at org.apache.crimson.parser.XMLReaderImpl.setFeature(Unknown Source)

[jrc] at org.apache.crimson.jaxp.SAXParserImpl.setFeatures(Unknown Source)

[jrc] at org.apache.crimson.jaxp.SAXParserImpl.<init>(Unknown Source)

[jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)

[jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)

[jrc] at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)

[jrc] at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)

[jrc] at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:71)

[jrc] at org.apache.commons.digester.Digester.getParser(Digester.java:692)

[jrc] at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)

[jrc] at org.apache.commons.digester.Digester.parse(Digester.java:1666)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:209)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:163)

[jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:147)

[jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)

[jrc] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398)

[jrc] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)

[jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[jrc] at org.apache.tools.ant.Task.perform(Task.java:364)

[jrc] at org.apache.tools.ant.Target.execute(Target.java:341)

[jrc] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[jrc] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

[jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)

[jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)

File : C:eclipseworkspacecompile_jasper-1.0.0reportscomfooFooReport.jrxml ...

BUILD FAILED: C:eclipseworkspacecompile_jasper-1.0.0build.xml:41: java.lang.NullPointerException

Total time: 1 second

 

please help.. any advice is greatly appreciated. thanks

 

 

 

 

By: Tbozu - tbozu

RE: problem upgrading to 1.0.0

2005-08-08 17:54

hmmm...is it just me or what? i never have any problem upgrading from previous version of jasperreports. It just seems to me that jasperreports-1.0.0 comes with a lot of trouble to be integrated into the current version.

 

 

 

 

By: Gisele Brito - gisele-brito

RE: problem upgrading to 1.0.0

2005-08-08 07:07

Hi,

 

I'm trying upgrading to 1.0.0. I upgrade all libraries that is required. But when I try to compile my report the occur the followed error:

 

net.sf.jasperreports.engine.JRException: Attribute "" bound to namespace "null" was already specified for element "jasperReport"

 

Anyone knows the cause of this. tks.

 

 

 

 

By: Teodor Danciu - teodord

RE: problem upgrading to 1.0.0

2005-08-09 10:56

 

Hi,

 

This is probably related to the version of the ANT tool

you are using.

Try to upgrade or replace the xercesImpl.jar and xml-apis.jar files from the ant/lib directory with the ones

found in our distribution.

 

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