Java 8 BIRT Issues [message #1794374] |
Wed, 29 August 2018 12:52  |
Eclipse User |
|
|
|
Hi,
We have a spring based Web application which uses BIRT to generate PDF reports. This is working fine with JDK 7. We are in the process of upgrading to JDK 8 and running into below issues. Any help is highly appreciated. Thanks
We have xercesimpl 2.8.1 as maven dependency. I updated it to 2.11.0 based on other post, but i still see the xerces error.
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun An error happened while running the report. Cause:
java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
I do also see the following error in the logs:
SEVERE [http-nio-8080-exec-6] org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.execute Cannot execute statement.
org.eclipse.datatools.connectivity.oda.OdaException: no protocol:
at org.eclipse.datatools.enablement.oda.ws.util.RawMessageSender.getSOAPResponse(RawMessageSender.java:107)
The BIRT dependencies in maven:
<dependency>
<groupId>birt-runtime</groupId>
<artifactId>birt-runtime</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
<dependency>
<groupId>birt</groupId>
<artifactId>chartengineapi</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>com.ibm.icu_3.8.1.v20080530</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>commons-cli-1.0</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>coreapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>crosstabcoreapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>dataadapterapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>dataaggregationapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>dteapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>engineapi</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>flute</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<artifactId>js</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>birt</groupId>
<artifactId>modelapi</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>birt</groupId>
<artifactId>modelodaapi</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>birt</groupId>
<artifactId>odadesignapi</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.apache.commons.codec_1.3.0.v20080530-1600</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.eclipse.birt.report.engine.dataextraction_2.3.0.v20080611</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.eclipse.emf.common_2.4.0.v200808251517</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.eclipse.emf.ecore.xmi_2.4.1.v200808251517</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.eclipse.emf.ecore_2.4.1.v200808251517</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>org.w3c.css.sac_1.3.0.v200805290154</artifactId>
</dependency>
<dependency>
<groupId>birt</groupId>
<version>2.3.1</version>
<artifactId>scriptapi</artifactId>
</dependency>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05767 seconds