activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Danek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-683) artemis-dto module cannot be built with JDK 9
Date Tue, 07 Mar 2017 18:47:38 GMT

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

Jiri Danek commented on ARTEMIS-683:
------------------------------------

I was not to compile current git-tip with  using {{MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"
mvn package}}. I got the following error

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project artemis-commons: Fatal error compiling: CompilerException: InvocationTargetException:
java.nio.file.NotDirectoryException: /mnt/lib/modules -> [Help 1]
{noformat}

According to https://cwiki.apache.org/confluence/display/MAVEN/Java+9+-+Jigsaw, maven-compiler-plugin-3.6.0
is the minimal version working with Java 9.

Running {{MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" mvn clean install -pl artemis-dto}}
like in the ticket description produces another error

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default)
on project artemis-dto: An Ant BuildException has occured: Error starting ap
[ERROR] around Ant part ...<schemagen includeantruntime="false" destdir="/activemq-artemis/artemis-dto/target/schema/org.apache.activemq/dto"
srcdir="/activemq-artemis/artemis-dto/..">... @ 7:160 in /activemq-artemis/artemis-dto/target/antrun/build-main.xml:
java.lang.NoClassDefFoundError: javax/activation/DataSource: javax.activation.DataSource
{noformat}

When running Maven Without {{MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"}}, I
was getting exception

{noformat}
Step 6 : RUN mvn clean install -pl artemis-dto -am
 ---> Running in 9848439f0019
[ERROR] Error executing Maven.
[ERROR] java.lang.IllegalStateException: Unable to load cache item
[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$ReflectUtils
{noformat}

And with Docker image {{library/openjdk:9}} instead of JDK from Oracle I was getting following
exception. I had to use JDK downloaded from https://jdk9.java.net/download/ to progress beyond
this.

{noformat}
Step 6 : RUN MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" mvn clean install -pl
artemis-dto -am
 ---> Running in 57f3c21d25cc
[INFO] Scanning for projects...
[WARNING] Error injecting: org.apache.maven.wagon.providers.http.HttpWagon$__sisu1
java.lang.ExceptionInInitializerError
        at java.base/javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:66)
        at java.base/javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2610)
        at java.base/javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2634)
        at java.base/sun.security.ssl.CipherSuite$BulkCipher.isUnlimited(CipherSuite.java:602)
        at java.base/sun.security.ssl.CipherSuite$BulkCipher.<init>(CipherSuite.java:574)
        at java.base/sun.security.ssl.CipherSuite$BulkCipher.<clinit>(CipherSuite.java:460)
        at java.base/sun.security.ssl.CipherSuite.<clinit>(CipherSuite.java:1074)
        at java.base/sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuiteList(SSLContextImpl.java:354)
        at java.base/sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:42)
        at java.base/sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:590)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:292)
        at java.base/java.security.Provider$Service.getImplClass(Provider.java:1844)
        at java.base/java.security.Provider$Service.newInstance(Provider.java:1820)
        at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
        at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
        at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:169)
        at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:99)
        at java.base/javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:123)
        at java.base/javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:335)
        at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.createConnManager(AbstractHttpClientWagon.java:345)
        at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.<clinit>(AbstractHttpClientWagon.java:270)
        at org.apache.maven.wagon.providers.http.HttpWagon$__sisu1$$FastClassByGuice$$fd3b369a.newInstance(<generated>)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
        at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
        at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
        at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
        at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
        at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
        at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
        at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
        at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
        at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
        at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
        at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
        at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
        at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance(WagonTransporterFactory.java:127)
        at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
        at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
        at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:193)
        at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:246)
        at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1000)
        at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:800)
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:329)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:469)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:438)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:402)
        at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
        at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
        at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
        at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
        at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:118)
        ... 94 more
Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited
        at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:324)
        at java.base/javax.crypto.JceSecurity.access$000(JceSecurity.java:73)
        at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:109)
        at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:106)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:105)
        ... 94 more
Exception in thread "main" java.lang.ExceptionInInitializerError






























































der.java:113)                                                                            
                                           































Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism       
                                           


Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited
                                        







---------------------------------------------------
constituent[0]: file:/usr/share/maven/lib/plexus-utils.jar
constituent[1]: file:/usr/share/maven/lib/maven-builder-support-3.x.jar
constituent[2]: file:/usr/share/maven/lib/plexus-cipher.jar
constituent[3]: file:/usr/share/maven/lib/aopalliance.jar
constituent[4]: file:/usr/share/maven/lib/commons-lang.jar
constituent[5]: file:/usr/share/maven/lib/maven-repository-metadata-3.x.jar
constituent[6]: file:/usr/share/maven/lib/eclipse-aether-transport-wagon.jar
constituent[7]: file:/usr/share/maven/lib/maven-artifact-3.x.jar
constituent[8]: file:/usr/share/maven/lib/jsoup.jar
constituent[9]: file:/usr/share/maven/lib/guava.jar
constituent[10]: file:/usr/share/maven/lib/sisu-plexus.jar
constituent[11]: file:/usr/share/maven/lib/plexus-interpolation.jar
constituent[12]: file:/usr/share/maven/lib/plexus-component-annotations.jar
constituent[13]: file:/usr/share/maven/lib/maven-model-3.x.jar
constituent[14]: file:/usr/share/maven/lib/javax.inject.jar
constituent[15]: file:/usr/share/maven/lib/maven-plugin-api-3.x.jar
constituent[16]: file:/usr/share/maven/lib/eclipse-aether-api.jar
constituent[17]: file:/usr/share/maven/lib/maven-aether-provider-3.x.jar
constituent[18]: file:/usr/share/maven/lib/plexus-sec-dispatcher.jar
constituent[19]: file:/usr/share/maven/lib/eclipse-aether-spi.jar
constituent[20]: file:/usr/share/maven/lib/guice.jar
constituent[21]: file:/usr/share/maven/lib/eclipse-aether-connector-basic.jar
constituent[22]: file:/usr/share/maven/lib/eclipse-aether-impl.jar
constituent[23]: file:/usr/share/maven/lib/maven-compat-3.x.jar
constituent[24]: file:/usr/share/maven/lib/sisu-inject.jar
constituent[25]: file:/usr/share/maven/lib/wagon-http-shared.jar
constituent[26]: file:/usr/share/maven/lib/wagon-http-shaded.jar
constituent[27]: file:/usr/share/maven/lib/commons-io.jar
constituent[28]: file:/usr/share/maven/lib/eclipse-aether-util.jar
constituent[29]: file:/usr/share/maven/lib/slf4j-api.jar
constituent[30]: file:/usr/share/maven/lib/wagon-file.jar
constituent[31]: file:/usr/share/maven/lib/commons-lang3.jar
constituent[32]: file:/usr/share/maven/lib/maven-embedder-3.x.jar
constituent[33]: file:/usr/share/maven/lib/commons-cli.jar
constituent[34]: file:/usr/share/maven/lib/slf4j-simple.jar
constituent[35]: file:/usr/share/maven/lib/wagon-provider-api.jar
constituent[36]: file:/usr/share/maven/lib/maven-core-3.x.jar
constituent[37]: file:/usr/share/maven/lib/maven-model-builder-3.x.jar
constituent[38]: file:/usr/share/maven/lib/maven-settings-3.x.jar
constituent[39]: file:/usr/share/maven/lib/maven-settings-builder-3.x.jar
constituent[40]: file:/usr/share/maven/lib/cdi-api.jar
constituent[41]: file:/usr/share/maven/conf/logging/
---------------------------------------------------
{noformat}

> artemis-dto module cannot be built with JDK 9
> ---------------------------------------------
>
>                 Key: ARTEMIS-683
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-683
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Erich Duda
>
> *Reproducer*
> {code}
> MAVEN_OPTS="-addmods java.activation" mvn clean install -pl artemis-dto
> {code}
> *Build Error*
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default)
on project artemis-dto: An Ant BuildException has occured: Error starting ap
> [ERROR] around Ant part ...<schemagen includeantruntime="false" destdir="/home/eduda/Projects/activemq-artemis/artemis-dto/target/schema/org.apache.activemq/dto"
srcdir="/home/eduda/Projects/activemq-artemis/artemis-dto/..">... @ 7:200 in /home/eduda/Projects/activemq-artemis/artemis-dto/target/antrun/build-main.xml:
java.lang.annotation.IncompleteAnnotationException: javax.xml.bind.annotation.XmlSchema missing
element namespace
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(default) on project artemis-dto: An Ant BuildException has occured: Error starting ap
> around Ant part ...<schemagen includeantruntime="false" destdir="/home/eduda/Projects/activemq-artemis/artemis-dto/target/schema/org.apache.activemq/dto"
srcdir="/home/eduda/Projects/activemq-artemis/artemis-dto/..">... @ 7:200 in /home/eduda/Projects/activemq-artemis/artemis-dto/target/antrun/build-main.xml
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
> 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
> 	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has
occured: Error starting ap
> around Ant part ...<schemagen includeantruntime="false" destdir="/home/eduda/Projects/activemq-artemis/artemis-dto/target/schema/org.apache.activemq/dto"
srcdir="/home/eduda/Projects/activemq-artemis/artemis-dto/..">... @ 7:200 in /home/eduda/Projects/activemq-artemis/artemis-dto/target/antrun/build-main.xml
> 	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:355)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	... 20 more
> Caused by: /home/eduda/Projects/activemq-artemis/artemis-dto/target/antrun/build-main.xml:7:
Error starting ap
> 	at com.sun.tools.jxc.ApBasedTask$InternalApAdapter.execute(ApBasedTask.java:131)
> 	at com.sun.tools.jxc.ApBasedTask.compile(ApBasedTask.java:170)
> 	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
> 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
> 	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:390)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
> 	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327)
> 	... 22 more
> Caused by: java.lang.RuntimeException: java.lang.annotation.IncompleteAnnotationException:
javax.xml.bind.annotation.XmlSchema missing element namespace
> 	at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(jdk.compiler@9-ea/JavacTaskImpl.java:151)
> 	at com.sun.tools.javac.api.JavacTaskImpl.doCall(jdk.compiler@9-ea/JavacTaskImpl.java:100)
> 	at com.sun.tools.javac.api.JavacTaskImpl.call(jdk.compiler@9-ea/JavacTaskImpl.java:94)
> 	at com.sun.tools.jxc.ApBasedTask$InternalApAdapter.execute(ApBasedTask.java:127)
> 	... 36 more
> Caused by: java.lang.annotation.IncompleteAnnotationException: javax.xml.bind.annotation.XmlSchema
missing element namespace
> 	at sun.reflect.annotation.AnnotationInvocationHandler.invoke(java.base@9-ea/AnnotationInvocationHandler.java:82)
> 	at com.sun.proxy.$Proxy24.namespace(Unknown Source)
> 	at com.sun.xml.bind.v2.model.annotation.XmlSchemaQuick.namespace(XmlSchemaQuick.java:77)
> 	at com.sun.xml.bind.v2.model.impl.TypeInfoImpl.parseTypeName(TypeInfoImpl.java:172)
> 	at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.<init>(ClassInfoImpl.java:173)
> 	at com.sun.xml.bind.v2.model.impl.ModelBuilder.createClassInfo(ModelBuilder.java:399)
> 	at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:257)
> 	at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)
> 	at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)
> 	at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:390)
> 	at com.sun.tools.jxc.api.impl.j2s.JavaCompilerImpl.bind(JavaCompilerImpl.java:95)
> 	at com.sun.tools.jxc.ap.SchemaGenerator.process(SchemaGenerator.java:110)
> 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(jdk.compiler@9-ea/JavacProcessingEnvironment.java:959)
> 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(jdk.compiler@9-ea/JavacProcessingEnvironment.java:875)
> 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2100(jdk.compiler@9-ea/JavacProcessingEnvironment.java:105)
> 	at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(jdk.compiler@9-ea/JavacProcessingEnvironment.java:1182)
> 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(jdk.compiler@9-ea/JavacProcessingEnvironment.java:1290)
> 	at com.sun.tools.javac.main.JavaCompiler.processAnnotations(jdk.compiler@9-ea/JavaCompiler.java:1225)
> 	at com.sun.tools.javac.main.JavaCompiler.compile(jdk.compiler@9-ea/JavaCompiler.java:904)
> 	at com.sun.tools.javac.api.JavacTaskImpl$1.call(jdk.compiler@9-ea/JavacTaskImpl.java:104)
> 	at com.sun.tools.javac.api.JavacTaskImpl$1.call(jdk.compiler@9-ea/JavacTaskImpl.java:100)
> 	at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(jdk.compiler@9-ea/JavacTaskImpl.java:135)
> 	... 39 more
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message