Jump to content
Changes to the Jaspersoft community edition download ×

Compile error by JDK1.3 in V1.1.0 & V1.1.1


Recommended Posts

By: gkklee - gkklee

Compile error by JDK1.3 in V1.1.0 & V1.1.1

2006-01-10 03:02

I have found the following error when using the library of JasperReports with version greater than V1.1.0 (both 1.1.0 and 1.1.1). However, it is state in the homepage that it could be runnable using JRE1.3.

 

There is no problem in previous version (V1.0.3)

 

Please help to fix the problem. Thanks!

 

compile:

[java] java.lang.NoClassDefFoundError: ~=.>>a.>Vb?

[java] java.lang.reflect.Method[] java.lang.Class.getMethods0(int)

[java] java.lang.reflect.Method[] java.lang.Class.getDeclaredMethods()

[java] java.lang.Object java.beans.Introspector$1.run()

[java] java.lang.Object java.security.AccessController.doPrivileged(java.security

.PrivilegedAction)

[java] java.lang.reflect.Method[] java.beans.Introspector.getPublicDeclaredMethod

s(java.lang.Class)

[java] java.beans.EventSetDescriptor[] java.beans.Introspector.getTargetEventInfo

()

[java] java.beans.GenericBeanInfo java.beans.Introspector.getBeanInfo()

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] java.beans.BeanInfo java.beans.Introspector.getBeanInfo(java.lang.Class)

[java] java.beans.PropertyDescriptor[] org.apache.commons.beanutils.PropertyUtils

.getPropertyDescriptors(java.lang.Class)

[java] java.beans.PropertyDescriptor[] org.apache.commons.beanutils.PropertyUtils

.getPropertyDescriptors(java.lang.Object)

[java] java.beans.PropertyDescriptor org.apache.commons.beanutils.PropertyUtils.g

etPropertyDescriptor(java.lang.Object, java.lang.String)

[java] void org.apache.commons.beanutils.BeanUtils.setProperty(java.lang.Object,

java.lang.String, java.lang.Object)

[java] void org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body

(java.lang.String)

[java] void org.apache.commons.digester.Rule.body(java.lang.String, java.lang.Str

ing, java.lang.String)

[java] void org.apache.commons.digester.Digester.endElement(java.lang.String, jav

a.lang.String, java.lang.String)

[java] void org.apache.xerces.parsers.AbstractSAXParser.endElement(org.apache.xer

ces.xni.QName, org.apache.xerces.xni.Augmentations)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(org.apac

he.xerces.xni.QName, org.apache.xerces.xni.Augmentations, boolean)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(org.apach

e.xerces.xni.QName, org.apache.xerces.xni.Augmentations, boolean)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(org.apache.xerc

es.xni.QName, org.apache.xerces.xni.Augmentations)

[java] int org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement()

 

[java] boolean org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont

entDispatcher.dispatch(boolean)

[java] boolean org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument

(boolean)

[java] boolean org.apache.xerces.parsers.XML11Configuration.parse(boolean)

[java] void org.apache.xerces.parsers.XML11Configuration.parse(org.apache.xerces.

xni.parser.XMLInputSource)

[java] void org.apache.xerces.parsers.XMLParser.parse(org.apache.xerces.xni.parse

r.XMLInputSource)

[java] void org.apache.xerces.parsers.AbstractSAXParser.parse(org.xml.sax.InputSo

urce)

[java] void org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(org.xml.sax.

InputSource)

[java] java.lang.Object org.apache.commons.digester.Digester.parse(org.xml.sax.In

putSource)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.loadXML(org.xml.sax.InputSource)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.loadXML(java.io.InputStream)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.io.InputStream)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.io.File)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.lang.String)

[java] java.lang.String net.sf.jasperreports.engine.JasperCompileManager.compileR

eportToFile(java.lang.String)

[java] void QueryApp.main(java.lang.String[])

[java] [ERROR] Digester - -Body event threw error <java.lang.NoClassDefFoundError: ~=

.>>a.>Vb?>

[java] java.lang.NoClassDefFoundError: ~=.>>a.>Vb?

[java] java.lang.reflect.Method[] java.lang.Class.getMethods0(int)

[java] java.lang.reflect.Method[] java.lang.Class.getDeclaredMethods()

[java] java.lang.Object java.beans.Introspector$1.run()

[java] java.lang.Object java.security.AccessController.doPrivileged(java.security

.PrivilegedAction)

[java] java.lang.reflect.Method[] java.beans.Introspector.getPublicDeclaredMethod

s(java.lang.Class)

[java] java.beans.EventSetDescriptor[] java.beans.Introspector.getTargetEventInfo

()

[java] java.beans.GenericBeanInfo java.beans.Introspector.getBeanInfo()

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] void java.beans.Introspector.<init>(java.lang.Class, java.lang.Class, int)

 

[java] java.beans.BeanInfo java.beans.Introspector.getBeanInfo(java.lang.Class)

[java] java.beans.PropertyDescriptor[] org.apache.commons.beanutils.PropertyUtils

.getPropertyDescriptors(java.lang.Class)

[java] java.beans.PropertyDescriptor[] org.apache.commons.beanutils.PropertyUtils

.getPropertyDescriptors(java.lang.Object)

[java] java.beans.PropertyDescriptor org.apache.commons.beanutils.PropertyUtils.g

etPropertyDescriptor(java.lang.Object, java.lang.String)

[java] void org.apache.commons.beanutils.BeanUtils.setProperty(java.lang.Object,

java.lang.String, java.lang.Object)

[java] void org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body

(java.lang.String)

[java] void org.apache.commons.digester.Rule.body(java.lang.String, java.lang.Str

ing, java.lang.String)

[java] void org.apache.commons.digester.Digester.endElement(java.lang.String, jav

a.lang.String, java.lang.String)

[java] void org.apache.xerces.parsers.AbstractSAXParser.endElement(org.apache.xer

ces.xni.QName, org.apache.xerces.xni.Augmentations)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(org.apac

he.xerces.xni.QName, org.apache.xerces.xni.Augmentations, boolean)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(org.apach

e.xerces.xni.QName, org.apache.xerces.xni.Augmentations, boolean)

[java] void org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(org.apache.xerc

es.xni.QName, org.apache.xerces.xni.Augmentations)

[java] int org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement()

 

[java] boolean org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont

entDispatcher.dispatch(boolean)

[java] boolean org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument

(boolean)

[java] boolean org.apache.xerces.parsers.XML11Configuration.parse(boolean)

[java] void org.apache.xerces.parsers.XML11Configuration.parse(org.apache.xerces.

xni.parser.XMLInputSource)

[java] void org.apache.xerces.parsers.XMLParser.parse(org.apache.xerces.xni.parse

r.XMLInputSource)

[java] void org.apache.xerces.parsers.AbstractSAXParser.parse(org.xml.sax.InputSo

urce)

[java] void org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(org.xml.sax.

InputSource)

[java] java.lang.Object org.apache.commons.digester.Digester.parse(org.xml.sax.In

putSource)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.loadXML(org.xml.sax.InputSource)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.loadXML(java.io.InputStream)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.io.InputStream)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.io.File)

[java] net.sf.jasperreports.engine.design.JasperDesign net.sf.jasperreports.engin

e.xml.JRXmlLoader.load(java.lang.String)

[java] java.lang.String net.sf.jasperreports.engine.JasperCompileManager.compileR

eportToFile(java.lang.String)

[java] void QueryApp.main(java.lang.String[])

[java] Exception in thread main

[java] Java Result: 1

 

 

 

 

By: gkklee - gkklee

RE: Compile error by JDK1.3 in V1.1.0 & V1.1.1

2006-01-15 17:09

Any one experience this problem?

 

 

 

 

By: Ionut Nedelcu - ionutned

RE: Compile error by JDK1.3 in V1.1.0 & V1.1.1

2006-01-16 04:53

Could you give us more details?

1. OS

2. JDK version and producer (Sun, IBM, etc.)

3. the exact scenario that lead to this error (our samples seem to work fine with JDK 1.3.1)

 

Alternatively, you could download the JasperReports sources and compile them using JDK 1.3 (the sources in the release are compiled with a 1.4 compiler)

 

Ionut

 

 

 

 

By: gkklee - gkklee

RE: Compile error by JDK1.3 in V1.1.0 & V1.1.1

2006-01-16 19:53

Hi Lonut

 

I am using Windows 2000 professional. The JDK is 1.3.1 from SUN. Compile using ANT 1.5.4

 

When I try you suggestion compile the source using JDK 1.3, the JasperReports source is compiled. However, when I try to compile the barbecue example, the error is different. It shows :

 

 

No supported regular expression matcher found

 

 

Could you help to solve this problem?

 

Peter

 

 

 

 

By: Ionut Nedelcu - ionutned

RE: Compile error by JDK1.3 in V1.1.0 & V1.1.1

2006-01-17 01:22

This is because JDK 1.4 contains some extra libraries which are not found in JDK 1.3. One of these is the regular expression package. If you work with 1.3, you should download the jakarta regexp library (http://jakarta.apache.org/regexp)

and copy the jar into your ant/lib directory.

 

Please notify us of any other problems.

Ionut

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