Bug#875416: FTBFS with Java 9: javax.xml.soap / (mvn) javadoc classpath

Chris West debian at fau.xxx
Mon Sep 11 08:58:35 UTC 2017


Source: jasperreports
Version: 6.2.2
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

Fails to find javax.xml.soap packages during maven javadoc generation.
Double-whammy of wiki-related fun!

Build log:

ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project jasperreports: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/jasperreports-6.2.2/src/net/sf/jasperreports/olap/xmla/JRXmlaQueryExecuter.java:35: error: package javax.xml.soap is not visible
[ERROR] import javax.xml.soap.MessageFactory;
[ERROR]                 ^
[ERROR]   (package javax.xml.soap is declared in module java.xml.ws, which is not in the module graph)
[ERROR] /build/jasperreports-6.2.2/src/net/sf/jasperreports/olap/xmla/JRXmlaQueryExecuter.java:36: error: package javax.xml.soap is not visible
[ERROR] import javax.xml.soap.MimeHeaders;
[ERROR]                 ^





Cheers,
Chris.



More information about the pkg-java-maintainers mailing list