]
Alessio Soldano commented on JBWS-4122:
---------------------------------------
[~rsearls], is this fully solved by
Can't compile the project with JDK11
------------------------------------
Key: JBWS-4122
URL:
https://issues.jboss.org/browse/JBWS-4122
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.1.Final
Reporter: Jan Blizňák
Assignee: R Searls
Fix For: jbossws-cxf-5.2.2.Final
It's not possible to compile the project with the JDK11
http://jdk.java.net/11/ due
to some packages being removed in
https://bugs.openjdk.java.net/browse/JDK-8189188
{code:java}
$ java -version
java version "11-ea" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11-ea+13)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+13, mixed mode)
$ mvn -V -B install -Pwildfly1300
-Dserver.home=/tmp/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT -fn -U -pl
\!modules/testsuite
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: /opt/apache-maven-3.5.3
Java version: 11-ea, vendor: Oracle Corporation
Java home: /opt/jdk/oracle/jdk-11
Default locale: en_US, platform encoding: UTF-8
...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project
jbossws-cxf-jaspi: Compilation failure: Compilation failure:
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientAuthenticator.java:[12,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[38,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[39,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[40,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[41,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[42,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[44,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientOutInterceptor.java:[28,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[38,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[39,22]
package javax.xml.soap does not exist
[ERROR]
/tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[44,22]
package javax.xml.soap does not exist
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project
jbossws-cxf-transports-undertow: Compilation failure: Compilation failure:
[ERROR]
/tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[29,24]
package javax.annotation does not exist
[ERROR]
/tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[60,5]
cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class
org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineFactory
{code}