You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/01/21 07:16:25 UTC

[GitHub] [camel-quarkus] Hotstuff4u opened a new issue #642: java.lang.NoClassDefFoundError with JDK 11+

Hotstuff4u opened a new issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642
 
 
   When starting up the quarkus server in dev mode it gives java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement.  I'm running open jdk 12.  The fix for this is attached, but if you have  a better fix please assist: 
   [fixXMLBindIssue.txt](https://github.com/apache/camel-quarkus/files/4089664/fixXMLBindIssue.txt)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576569836
 
 
   as per https://camel.apache.org/camel-quarkus/latest/first-steps.html , it tells you to replace org.apache.camel.quarkus:camel-quarkus-core-xml with org.apache.camel.quarkus:camel-quarkus-bom.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576551964
 
 
   cool, no problem.  should I close the issue?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-598109258
 
 
   yes, i will close it now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576550122
 
 
   We can document this for sure. Thanks for spotting this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] ppalaga commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576567802
 
 
   For jaxb to work flawlessly with camel-quarkus, your project needs to depend on `org.apache.camel.quarkus:camel-quarkus-core-xml` (which should transitively pull whichever artifact that contains `javax/xml/bind/annotation/XmlElement`). If this does not help, please share a minimal project demonstrating the issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] lburgazzoli commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-597220228
 
 
   @NFI-Chase can we close this issue ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576552128
 
 
   Leave this one open, so we can remember about document this :-)
   
   Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
NFI-Chase commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576578155
 
 
   ok, I agree with that. Thank you

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576550063
 
 
   You need to add that dependency explicitly. This is something changed with JDK 11.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] ppalaga commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642#issuecomment-576572571
 
 
   > as per https://camel.apache.org/camel-quarkus/latest/first-steps.html , it tells you to replace org.apache.camel.quarkus:camel-quarkus-core-xml with org.apache.camel.quarkus:camel-quarkus-bom.
   
   That page recommends to use `camel-quarkus-bom` as the parent of your maven project so that you get the dependency versions of camel quarkus extensions (and their transitive dependencies) managed. There is no mention of `camel-quarkus-core-xml`. What I mean is that you need to add something like the following to your project:
   
   ```
   <project>
   
   ...
   
       <dependencies>
   ...
           <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-core-xml</artifactId>
           </dependency>
   ...
       </dependencies>
   ...
   </project>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-quarkus] NFI-Chase closed issue #642: java.lang.NoClassDefFoundError with JDK 11+

Posted by GitBox <gi...@apache.org>.
NFI-Chase closed issue #642: java.lang.NoClassDefFoundError with JDK 11+
URL: https://github.com/apache/camel-quarkus/issues/642
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services