[
https://issues.apache.org/jira/browse/CAMEL-12618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16544211#comment-16544211
]
Zoran Regvart commented on CAMEL-12618:
---------------------------------------
Seems that the {{plexus-compiler}} under reports some errors when {{javac}}
can't be initialized. I've found the root cause and it's the [removal of Java
EE modules from Java 11|http://openjdk.java.net/jeps/320]. The error message is:
{code:java}
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found{code}
> Compilation failure on Java 11
> ------------------------------
>
> Key: CAMEL-12618
> URL: https://issues.apache.org/jira/browse/CAMEL-12618
> Project: Camel
> Issue Type: Sub-task
> Components: build system
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Major
>
> Maven compiler fails on JDK 11 for us. The error is not that helpful.
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project json-simple-ordered: Compilation failure ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project json-simple-ordered: Compilation failure
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)