[ 
https://issues.apache.org/jira/browse/KARAF-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671635#comment-16671635
 ] 

Martin Krüger commented on KARAF-5991:
--------------------------------------

[~ffang]: There is an issue with this code when Java11 is used to compile the 
module specs/java.xml.ws.

{noformat}
...
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) 
on project org.apache.karaf.specs.java.xml.ws: Compilation failure: Compilation 
failure: 
[ERROR] 
/home/mkrueger/ipoque/gitKaraf/specs/java.xml.ws/src/main/java/javax/xml/bind/ContextFinder.java:[36,29]
 cannot find symbol
[ERROR]   symbol:   class JAXBContext
[ERROR]   location: package javax.xml.bind
[ERROR] 
/home/mkrueger/ipoque/gitKaraf/specs/java.xml.ws/src/main/java/javax/xml/bind/ContextFinder.java:[36,1]
 static import only from classes and interfaces
[ERROR] 
/home/mkrueger/ipoque/gitKaraf/specs/java.xml.ws/src/main/java/javax/xml/bind/ContextFinder.java:[77,93]
 cannot find symbol
[ERROR]   symbol:   class JAXBException
[ERROR]   location: class javax.xml.bind.ContextFinder
[ERROR] 
/home/mkrueger/ipoque/gitKaraf/specs/java.xml.ws/src/main/java/javax/xml/bind/ContextFinder.java:[103,20]
 cannot find symbol
[ERROR]   symbol:   class JAXBException
[ERROR]   location: class javax.xml.bind.ContextFinder
...
{noformat}

I assume the reason is that they kicked out javaEE in java11.

> add jaxb api into Karaf specs
> -----------------------------
>
>                 Key: KARAF-5991
>                 URL: https://issues.apache.org/jira/browse/KARAF-5991
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>            Priority: Major
>             Fix For: 4.2.2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to