codegen failing on 3.4.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

codegen failing on 3.4.0

David Karlsen
I'm seeing:

[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.edb.finance.common.cxf:cxf-utils
>----------------
[INFO] Building cxf-utils 8.2.2-SNAPSHOT
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ cxf-utils ---
[INFO] Deleting /Users/et2448/projects/tac/cxf-utils/cxf-utils/target
[INFO]
[INFO] --- git-commit-id-plugin:4.0.2:revision (default) @ cxf-utils ---
[INFO]
[INFO] --- maven-dependency-plugin:3.1.2:unpack (extract-security-wsdls) @
cxf-utils ---
[INFO] Configured Artifact:
com.edb.finance.security.token.create:securitytoken-create-service:2.2.7:war
[INFO] Unpacking
/Users/et2448/.m2/repository/com/edb/finance/security/token/create/securitytoken-create-service/2.2.7/securitytoken-create-service-2.2.7.war
to
/Users/et2448/projects/tac/cxf-utils/cxf-utils/target/classes/META-INF/wsdl
with includes "**/SECSSecurityTokenCreate_V1_0.wsdl" and excludes ""
[INFO]
[INFO] --- cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) @ cxf-utils
---
[WARNING] Error injecting:
org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo
java.lang.NoClassDefFoundError: org/apache/cxf/Bus
    at java.lang.Class.getDeclaredMethods0 (Native Method)
    at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
    at java.lang.Class.getDeclaredMethods (Class.java:1975)
    at com.google.inject.spi.InjectionPoint.getDeclaredMethods
(InjectionPoint.java:766)
    at com.google.inject.spi.InjectionPoint.getInjectionPoints
(InjectionPoint.java:683)
    at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
(InjectionPoint.java:378)
    at
com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
(ConstructorBindingImpl.java:182)
    at com.google.inject.internal.InjectorImpl.getInternalDependencies
(InjectorImpl.java:661)
    at com.google.inject.internal.InjectorImpl.cleanup
(InjectorImpl.java:617)
    at com.google.inject.internal.InjectorImpl.initializeJitBinding
(InjectorImpl.java:603)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
(InjectorImpl.java:932)
    at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
(InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
(InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow
(InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow
(InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider
(InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider
(InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance
(InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get
(AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision
(ProviderInternalFactory.java:85)
    at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
(InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call
(ProviderInternalFactory.java:66)
    at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
(ProvisionListenerStackCallback.java:112)
    at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
(ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision
(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet
(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get
(InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get
(InjectorImpl.java:1050)
    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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
(DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.Bus
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass
(SelfFirstStrategy.java:50)
    at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass
(ClassRealm.java:271)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
(ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
(ClassRealm.java:239)
    at java.lang.Class.getDeclaredMethods0 (Native Method)
    at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
    at java.lang.Class.getDeclaredMethods (Class.java:1975)
    at com.google.inject.spi.InjectionPoint.getDeclaredMethods
(InjectionPoint.java:766)
    at com.google.inject.spi.InjectionPoint.getInjectionPoints
(InjectionPoint.java:683)
    at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
(InjectionPoint.java:378)
    at
com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
(ConstructorBindingImpl.java:182)
    at com.google.inject.internal.InjectorImpl.getInternalDependencies
(InjectorImpl.java:661)
    at com.google.inject.internal.InjectorImpl.cleanup
(InjectorImpl.java:617)
    at com.google.inject.internal.InjectorImpl.initializeJitBinding
(InjectorImpl.java:603)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
(InjectorImpl.java:932)
    at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
(InjectorImpl.java:852)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
(InjectorImpl.java:291)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow
(InjectorImpl.java:222)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow
(InjectorImpl.java:1040)
    at com.google.inject.internal.InjectorImpl.getProvider
(InjectorImpl.java:1071)
    at com.google.inject.internal.InjectorImpl.getProvider
(InjectorImpl.java:1034)
    at com.google.inject.internal.InjectorImpl.getInstance
(InjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.get
(AbstractDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision
(ProviderInternalFactory.java:85)
    at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
(InternalFactoryToInitializableAdapter.java:57)
    at com.google.inject.internal.ProviderInternalFactory$1.call
(ProviderInternalFactory.java:66)
    at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
(ProvisionListenerStackCallback.java:112)
    at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
(ProvisionListenerStackCallback.java:127)
    at com.google.inject.internal.ProvisionListenerStackCallback.provision
(ProvisionListenerStackCallback.java:66)
    at com.google.inject.internal.ProviderInternalFactory.circularGet
(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get
(InternalFactoryToInitializableAdapter.java:47)
    at com.google.inject.internal.InjectorImpl$1.get
(InjectorImpl.java:1050)
    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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
(DefaultMavenPluginManager.java:520)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:124)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  14.186 s
[INFO] Finished at: 2020-08-25T09:52:00+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) on
project cxf-utils: Execution embedded-wsdls of goal
org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java failed: A required class
was missing while executing
org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java: org/apache/cxf/Bus
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.cxf:cxf-codegen-plugin:3.4.0
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.4.0/cxf-codegen-plugin-3.4.0.jar
[ERROR] urls[1] =
file:/Users/et2448/.m2/repository/org/apache/cxf/xjcplugins/cxf-xjc-ts/3.3.1/cxf-xjc-ts-3.3.1.jar
[ERROR] urls[2] =
file:/Users/et2448/.m2/repository/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar
[ERROR] urls[3] =
file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-fluent-api/3.0/jaxb2-fluent-api-3.0.jar
[ERROR] urls[4] =
file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.12.0/jaxb2-basics-0.12.0.jar
[ERROR] urls[5] =
file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.12.0/jaxb2-basics-runtime-0.12.0.jar
[ERROR] urls[6] =
file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.12.0/jaxb2-basics-tools-0.12.0.jar
[ERROR] urls[7] =
file:/Users/et2448/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar
[ERROR] urls[8] =
file:/Users/et2448/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar
[ERROR] urls[9] =
file:/Users/et2448/.m2/repository/com/google/code/javaparser/javaparser/1.0.11/javaparser-1.0.11.jar
[ERROR] urls[10] =
file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.0/plexus-utils-3.2.0.jar
[ERROR] urls[11] =
file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-archiver/4.2.0/plexus-archiver-4.2.0.jar
[ERROR] urls[12] =
file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-io/3.2.0/plexus-io-3.2.0.jar
[ERROR] urls[13] =
file:/Users/et2448/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
[ERROR] urls[14] =
file:/Users/et2448/.m2/repository/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar
[ERROR] urls[15] =
file:/Users/et2448/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
[ERROR] urls[16] =
file:/Users/et2448/.m2/repository/org/tukaani/xz/1.8/xz-1.8.jar
[ERROR] urls[17] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-core/3.4.0/cxf-core-3.4.0.jar
[ERROR] urls[18] =
file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3/jaxb-runtime-2.3.3.jar
[ERROR] urls[19] =
file:/Users/et2448/.m2/repository/org/glassfish/jaxb/txw2/2.3.3/txw2-2.3.3.jar
[ERROR] urls[20] =
file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.11/istack-commons-runtime-3.0.11.jar
[ERROR] urls[21] =
file:/Users/et2448/.m2/repository/com/sun/activation/jakarta.activation/1.2.2/jakarta.activation-1.2.2.jar
[ERROR] urls[22] =
file:/Users/et2448/.m2/repository/com/fasterxml/woodstox/woodstox-core/6.2.1/woodstox-core-6.2.1.jar
[ERROR] urls[23] =
file:/Users/et2448/.m2/repository/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar
[ERROR] urls[24] =
file:/Users/et2448/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.5/xmlschema-core-2.2.5.jar
[ERROR] urls[25] =
file:/Users/et2448/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar
[ERROR] urls[26] =
file:/Users/et2448/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar
[ERROR] urls[27] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-common/3.4.0/cxf-tools-common-3.4.0.jar
[ERROR] urls[28] =
file:/Users/et2448/.m2/repository/org/apache/velocity/velocity-engine-core/2.2/velocity-engine-core-2.2.jar
[ERROR] urls[29] =
file:/Users/et2448/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
[ERROR] urls[30] =
file:/Users/et2448/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar
[ERROR] urls[31] =
file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.3.3/jaxb-xjc-2.3.3.jar
[ERROR] urls[32] =
file:/Users/et2448/.m2/repository/org/glassfish/jaxb/xsom/2.3.3/xsom-2.3.3.jar
[ERROR] urls[33] =
file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/relaxng-datatype/2.3.3-b02/relaxng-datatype-2.3.3-b02.jar
[ERROR] urls[34] =
file:/Users/et2448/.m2/repository/org/glassfish/jaxb/codemodel/2.3.3/codemodel-2.3.3.jar
[ERROR] urls[35] =
file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/rngom/2.3.3/rngom-2.3.3.jar
[ERROR] urls[36] =
file:/Users/et2448/.m2/repository/com/sun/xml/dtd-parser/dtd-parser/1.4.3/dtd-parser-1.4.3.jar
[ERROR] urls[37] =
file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-tools/3.0.11/istack-commons-tools-3.0.11.jar
[ERROR] urls[38] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/3.4.0/cxf-tools-wsdlto-core-3.4.0.jar
[ERROR] urls[39] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-validator/3.4.0/cxf-tools-validator-3.4.0.jar
[ERROR] urls[40] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/3.4.0/cxf-rt-bindings-soap-3.4.0.jar
[ERROR] urls[41] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/3.4.0/cxf-rt-databinding-jaxb-3.4.0.jar
[ERROR] urls[42] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-wsdl/3.4.0/cxf-rt-wsdl-3.4.0.jar
[ERROR] urls[43] =
file:/Users/et2448/.m2/repository/org/ow2/asm/asm/8.0.1/asm-8.0.1.jar
[ERROR] urls[44] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-databinding-jaxb/3.4.0/cxf-tools-wsdlto-databinding-jaxb-3.4.0.jar
[ERROR] urls[45] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-jaxws/3.4.0/cxf-tools-wsdlto-frontend-jaxws-3.4.0.jar
[ERROR] urls[46] =
file:/Users/et2448/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
[ERROR] urls[47] =
file:/Users/et2448/.m2/repository/org/apache/commons/commons-text/1.9/commons-text-1.9.jar
[ERROR] urls[48] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-javascript/3.4.0/cxf-tools-wsdlto-frontend-javascript-3.4.0.jar
[ERROR] urls[49] =
file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-javascript/3.4.0/cxf-rt-javascript-3.4.0.jar
[ERROR] urls[50] =
file:/Users/et2448/.m2/repository/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar
[ERROR] urls[51] =
file:/Users/et2448/.m2/repository/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE.jar
[ERROR] urls[52] =
file:/Users/et2448/.m2/repository/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE.jar
[ERROR] urls[53] =
file:/Users/et2448/.m2/repository/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE.jar
[ERROR] urls[54] =
file:/Users/et2448/.m2/repository/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE.jar
[ERROR] urls[55] =
file:/Users/et2448/.m2/repository/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE.jar
[ERROR] urls[56] =
file:/Users/et2448/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.apache.cxf.Bus
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/PluginContainerException


mvn 3.6.3

/Library/Java/JavaVirtualMachines/1.8/Contents/Home/bin/java -version

openjdk version "1.8.0_265"

OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)

OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)

--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
Reply | Threaded
Open this post in threaded view
|

Re: codegen failing on 3.4.0

Dennis Kieselhorst
Hi David,

I'm unable to reproduce it. This interface is part of cxf-core which is
listed in your output as well. Maybe a corrupted Maven download? Have
you tried it with a clean repo?

Best,
Dennis

Am 25.08.2020 um 09:55 schrieb David Karlsen:

> I'm seeing:
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ----------------< com.edb.finance.common.cxf:cxf-utils
>> ----------------
> [INFO] Building cxf-utils 8.2.2-SNAPSHOT
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ cxf-utils ---
> [INFO] Deleting /Users/et2448/projects/tac/cxf-utils/cxf-utils/target
> [INFO]
> [INFO] --- git-commit-id-plugin:4.0.2:revision (default) @ cxf-utils ---
> [INFO]
> [INFO] --- maven-dependency-plugin:3.1.2:unpack (extract-security-wsdls) @
> cxf-utils ---
> [INFO] Configured Artifact:
> com.edb.finance.security.token.create:securitytoken-create-service:2.2.7:war
> [INFO] Unpacking
> /Users/et2448/.m2/repository/com/edb/finance/security/token/create/securitytoken-create-service/2.2.7/securitytoken-create-service-2.2.7.war
> to
> /Users/et2448/projects/tac/cxf-utils/cxf-utils/target/classes/META-INF/wsdl
> with includes "**/SECSSecurityTokenCreate_V1_0.wsdl" and excludes ""
> [INFO]
> [INFO] --- cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) @ cxf-utils
> ---
> [WARNING] Error injecting:
> org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo
> java.lang.NoClassDefFoundError: org/apache/cxf/Bus
>     at java.lang.Class.getDeclaredMethods0 (Native Method)
>     at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
>     at java.lang.Class.getDeclaredMethods (Class.java:1975)
>     at com.google.inject.spi.InjectionPoint.getDeclaredMethods
> (InjectionPoint.java:766)
>     at com.google.inject.spi.InjectionPoint.getInjectionPoints
> (InjectionPoint.java:683)
>     at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
> (InjectionPoint.java:378)
>     at
> com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
> (ConstructorBindingImpl.java:182)
>     at com.google.inject.internal.InjectorImpl.getInternalDependencies
> (InjectorImpl.java:661)
>     at com.google.inject.internal.InjectorImpl.cleanup
> (InjectorImpl.java:617)
>     at com.google.inject.internal.InjectorImpl.initializeJitBinding
> (InjectorImpl.java:603)
>     at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
> (InjectorImpl.java:932)
>     at
> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
> (InjectorImpl.java:852)
>     at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
> (InjectorImpl.java:291)
>     at com.google.inject.internal.InjectorImpl.getBindingOrThrow
> (InjectorImpl.java:222)
>     at com.google.inject.internal.InjectorImpl.getProviderOrThrow
> (InjectorImpl.java:1040)
>     at com.google.inject.internal.InjectorImpl.getProvider
> (InjectorImpl.java:1071)
>     at com.google.inject.internal.InjectorImpl.getProvider
> (InjectorImpl.java:1034)
>     at com.google.inject.internal.InjectorImpl.getInstance
> (InjectorImpl.java:1086)
>     at org.eclipse.sisu.space.AbstractDeferredClass.get
> (AbstractDeferredClass.java:48)
>     at com.google.inject.internal.ProviderInternalFactory.provision
> (ProviderInternalFactory.java:85)
>     at
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
> (InternalFactoryToInitializableAdapter.java:57)
>     at com.google.inject.internal.ProviderInternalFactory$1.call
> (ProviderInternalFactory.java:66)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> (ProvisionListenerStackCallback.java:112)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> (ProvisionListenerStackCallback.java:127)
>     at com.google.inject.internal.ProvisionListenerStackCallback.provision
> (ProvisionListenerStackCallback.java:66)
>     at com.google.inject.internal.ProviderInternalFactory.circularGet
> (ProviderInternalFactory.java:61)
>     at com.google.inject.internal.InternalFactoryToInitializableAdapter.get
> (InternalFactoryToInitializableAdapter.java:47)
>     at com.google.inject.internal.InjectorImpl$1.get
> (InjectorImpl.java:1050)
>     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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
> (DefaultMavenPluginManager.java:520)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:124)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> Caused by: java.lang.ClassNotFoundException: org.apache.cxf.Bus
>     at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass
> (SelfFirstStrategy.java:50)
>     at
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass
> (ClassRealm.java:271)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
> (ClassRealm.java:247)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
> (ClassRealm.java:239)
>     at java.lang.Class.getDeclaredMethods0 (Native Method)
>     at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
>     at java.lang.Class.getDeclaredMethods (Class.java:1975)
>     at com.google.inject.spi.InjectionPoint.getDeclaredMethods
> (InjectionPoint.java:766)
>     at com.google.inject.spi.InjectionPoint.getInjectionPoints
> (InjectionPoint.java:683)
>     at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
> (InjectionPoint.java:378)
>     at
> com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
> (ConstructorBindingImpl.java:182)
>     at com.google.inject.internal.InjectorImpl.getInternalDependencies
> (InjectorImpl.java:661)
>     at com.google.inject.internal.InjectorImpl.cleanup
> (InjectorImpl.java:617)
>     at com.google.inject.internal.InjectorImpl.initializeJitBinding
> (InjectorImpl.java:603)
>     at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
> (InjectorImpl.java:932)
>     at
> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
> (InjectorImpl.java:852)
>     at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
> (InjectorImpl.java:291)
>     at com.google.inject.internal.InjectorImpl.getBindingOrThrow
> (InjectorImpl.java:222)
>     at com.google.inject.internal.InjectorImpl.getProviderOrThrow
> (InjectorImpl.java:1040)
>     at com.google.inject.internal.InjectorImpl.getProvider
> (InjectorImpl.java:1071)
>     at com.google.inject.internal.InjectorImpl.getProvider
> (InjectorImpl.java:1034)
>     at com.google.inject.internal.InjectorImpl.getInstance
> (InjectorImpl.java:1086)
>     at org.eclipse.sisu.space.AbstractDeferredClass.get
> (AbstractDeferredClass.java:48)
>     at com.google.inject.internal.ProviderInternalFactory.provision
> (ProviderInternalFactory.java:85)
>     at
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
> (InternalFactoryToInitializableAdapter.java:57)
>     at com.google.inject.internal.ProviderInternalFactory$1.call
> (ProviderInternalFactory.java:66)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> (ProvisionListenerStackCallback.java:112)
>     at
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> (ProvisionListenerStackCallback.java:127)
>     at com.google.inject.internal.ProvisionListenerStackCallback.provision
> (ProvisionListenerStackCallback.java:66)
>     at com.google.inject.internal.ProviderInternalFactory.circularGet
> (ProviderInternalFactory.java:61)
>     at com.google.inject.internal.InternalFactoryToInitializableAdapter.get
> (InternalFactoryToInitializableAdapter.java:47)
>     at com.google.inject.internal.InjectorImpl$1.get
> (InjectorImpl.java:1050)
>     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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
> (DefaultMavenPluginManager.java:520)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:124)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  14.186 s
> [INFO] Finished at: 2020-08-25T09:52:00+02:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) on
> project cxf-utils: Execution embedded-wsdls of goal
> org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java failed: A required class
> was missing while executing
> org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java: org/apache/cxf/Bus
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.cxf:cxf-codegen-plugin:3.4.0
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.4.0/cxf-codegen-plugin-3.4.0.jar
> [ERROR] urls[1] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/xjcplugins/cxf-xjc-ts/3.3.1/cxf-xjc-ts-3.3.1.jar
> [ERROR] urls[2] =
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar
> [ERROR] urls[3] =
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-fluent-api/3.0/jaxb2-fluent-api-3.0.jar
> [ERROR] urls[4] =
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.12.0/jaxb2-basics-0.12.0.jar
> [ERROR] urls[5] =
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.12.0/jaxb2-basics-runtime-0.12.0.jar
> [ERROR] urls[6] =
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.12.0/jaxb2-basics-tools-0.12.0.jar
> [ERROR] urls[7] =
> file:/Users/et2448/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar
> [ERROR] urls[8] =
> file:/Users/et2448/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar
> [ERROR] urls[9] =
> file:/Users/et2448/.m2/repository/com/google/code/javaparser/javaparser/1.0.11/javaparser-1.0.11.jar
> [ERROR] urls[10] =
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.0/plexus-utils-3.2.0.jar
> [ERROR] urls[11] =
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-archiver/4.2.0/plexus-archiver-4.2.0.jar
> [ERROR] urls[12] =
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-io/3.2.0/plexus-io-3.2.0.jar
> [ERROR] urls[13] =
> file:/Users/et2448/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
> [ERROR] urls[14] =
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar
> [ERROR] urls[15] =
> file:/Users/et2448/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
> [ERROR] urls[16] =
> file:/Users/et2448/.m2/repository/org/tukaani/xz/1.8/xz-1.8.jar
> [ERROR] urls[17] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-core/3.4.0/cxf-core-3.4.0.jar
> [ERROR] urls[18] =
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3/jaxb-runtime-2.3.3.jar
> [ERROR] urls[19] =
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/txw2/2.3.3/txw2-2.3.3.jar
> [ERROR] urls[20] =
> file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.11/istack-commons-runtime-3.0.11.jar
> [ERROR] urls[21] =
> file:/Users/et2448/.m2/repository/com/sun/activation/jakarta.activation/1.2.2/jakarta.activation-1.2.2.jar
> [ERROR] urls[22] =
> file:/Users/et2448/.m2/repository/com/fasterxml/woodstox/woodstox-core/6.2.1/woodstox-core-6.2.1.jar
> [ERROR] urls[23] =
> file:/Users/et2448/.m2/repository/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar
> [ERROR] urls[24] =
> file:/Users/et2448/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.5/xmlschema-core-2.2.5.jar
> [ERROR] urls[25] =
> file:/Users/et2448/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar
> [ERROR] urls[26] =
> file:/Users/et2448/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar
> [ERROR] urls[27] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-common/3.4.0/cxf-tools-common-3.4.0.jar
> [ERROR] urls[28] =
> file:/Users/et2448/.m2/repository/org/apache/velocity/velocity-engine-core/2.2/velocity-engine-core-2.2.jar
> [ERROR] urls[29] =
> file:/Users/et2448/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
> [ERROR] urls[30] =
> file:/Users/et2448/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar
> [ERROR] urls[31] =
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.3.3/jaxb-xjc-2.3.3.jar
> [ERROR] urls[32] =
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/xsom/2.3.3/xsom-2.3.3.jar
> [ERROR] urls[33] =
> file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/relaxng-datatype/2.3.3-b02/relaxng-datatype-2.3.3-b02.jar
> [ERROR] urls[34] =
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/codemodel/2.3.3/codemodel-2.3.3.jar
> [ERROR] urls[35] =
> file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/rngom/2.3.3/rngom-2.3.3.jar
> [ERROR] urls[36] =
> file:/Users/et2448/.m2/repository/com/sun/xml/dtd-parser/dtd-parser/1.4.3/dtd-parser-1.4.3.jar
> [ERROR] urls[37] =
> file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-tools/3.0.11/istack-commons-tools-3.0.11.jar
> [ERROR] urls[38] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/3.4.0/cxf-tools-wsdlto-core-3.4.0.jar
> [ERROR] urls[39] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-validator/3.4.0/cxf-tools-validator-3.4.0.jar
> [ERROR] urls[40] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/3.4.0/cxf-rt-bindings-soap-3.4.0.jar
> [ERROR] urls[41] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/3.4.0/cxf-rt-databinding-jaxb-3.4.0.jar
> [ERROR] urls[42] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-wsdl/3.4.0/cxf-rt-wsdl-3.4.0.jar
> [ERROR] urls[43] =
> file:/Users/et2448/.m2/repository/org/ow2/asm/asm/8.0.1/asm-8.0.1.jar
> [ERROR] urls[44] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-databinding-jaxb/3.4.0/cxf-tools-wsdlto-databinding-jaxb-3.4.0.jar
> [ERROR] urls[45] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-jaxws/3.4.0/cxf-tools-wsdlto-frontend-jaxws-3.4.0.jar
> [ERROR] urls[46] =
> file:/Users/et2448/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
> [ERROR] urls[47] =
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-text/1.9/commons-text-1.9.jar
> [ERROR] urls[48] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-javascript/3.4.0/cxf-tools-wsdlto-frontend-javascript-3.4.0.jar
> [ERROR] urls[49] =
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-javascript/3.4.0/cxf-rt-javascript-3.4.0.jar
> [ERROR] urls[50] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar
> [ERROR] urls[51] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE.jar
> [ERROR] urls[52] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE.jar
> [ERROR] urls[53] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE.jar
> [ERROR] urls[54] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE.jar
> [ERROR] urls[55] =
> file:/Users/et2448/.m2/repository/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE.jar
> [ERROR] urls[56] =
> file:/Users/et2448/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> null]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] : org.apache.cxf.Bus
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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/PluginContainerException
>
>
> mvn 3.6.3
>
> /Library/Java/JavaVirtualMachines/1.8/Contents/Home/bin/java -version
>
> openjdk version "1.8.0_265"
>
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
>
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)
>

Reply | Threaded
Open this post in threaded view
|

Re: codegen failing on 3.4.0

David Karlsen
Indeed it was a corrupt .jar - sorry for not noticing that.

tir. 25. aug. 2020 kl. 10:14 skrev Dennis Kieselhorst <[hidden email]>:

> Hi David,
>
> I'm unable to reproduce it. This interface is part of cxf-core which is
> listed in your output as well. Maybe a corrupted Maven download? Have
> you tried it with a clean repo?
>
> Best,
> Dennis
>
> Am 25.08.2020 um 09:55 schrieb David Karlsen:
> > I'm seeing:
> >
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO] ----------------< com.edb.finance.common.cxf:cxf-utils
> >> ----------------
> > [INFO] Building cxf-utils 8.2.2-SNAPSHOT
> > [INFO] --------------------------------[ jar
> > ]---------------------------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ cxf-utils ---
> > [INFO] Deleting /Users/et2448/projects/tac/cxf-utils/cxf-utils/target
> > [INFO]
> > [INFO] --- git-commit-id-plugin:4.0.2:revision (default) @ cxf-utils ---
> > [INFO]
> > [INFO] --- maven-dependency-plugin:3.1.2:unpack (extract-security-wsdls)
> @
> > cxf-utils ---
> > [INFO] Configured Artifact:
> >
> com.edb.finance.security.token.create:securitytoken-create-service:2.2.7:war
> > [INFO] Unpacking
> >
> /Users/et2448/.m2/repository/com/edb/finance/security/token/create/securitytoken-create-service/2.2.7/securitytoken-create-service-2.2.7.war
> > to
> >
> /Users/et2448/projects/tac/cxf-utils/cxf-utils/target/classes/META-INF/wsdl
> > with includes "**/SECSSecurityTokenCreate_V1_0.wsdl" and excludes ""
> > [INFO]
> > [INFO] --- cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) @
> cxf-utils
> > ---
> > [WARNING] Error injecting:
> > org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo
> > java.lang.NoClassDefFoundError: org/apache/cxf/Bus
> >     at java.lang.Class.getDeclaredMethods0 (Native Method)
> >     at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
> >     at java.lang.Class.getDeclaredMethods (Class.java:1975)
> >     at com.google.inject.spi.InjectionPoint.getDeclaredMethods
> > (InjectionPoint.java:766)
> >     at com.google.inject.spi.InjectionPoint.getInjectionPoints
> > (InjectionPoint.java:683)
> >     at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
> > (InjectionPoint.java:378)
> >     at
> > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
> > (ConstructorBindingImpl.java:182)
> >     at com.google.inject.internal.InjectorImpl.getInternalDependencies
> > (InjectorImpl.java:661)
> >     at com.google.inject.internal.InjectorImpl.cleanup
> > (InjectorImpl.java:617)
> >     at com.google.inject.internal.InjectorImpl.initializeJitBinding
> > (InjectorImpl.java:603)
> >     at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
> > (InjectorImpl.java:932)
> >     at
> > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
> > (InjectorImpl.java:852)
> >     at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
> > (InjectorImpl.java:291)
> >     at com.google.inject.internal.InjectorImpl.getBindingOrThrow
> > (InjectorImpl.java:222)
> >     at com.google.inject.internal.InjectorImpl.getProviderOrThrow
> > (InjectorImpl.java:1040)
> >     at com.google.inject.internal.InjectorImpl.getProvider
> > (InjectorImpl.java:1071)
> >     at com.google.inject.internal.InjectorImpl.getProvider
> > (InjectorImpl.java:1034)
> >     at com.google.inject.internal.InjectorImpl.getInstance
> > (InjectorImpl.java:1086)
> >     at org.eclipse.sisu.space.AbstractDeferredClass.get
> > (AbstractDeferredClass.java:48)
> >     at com.google.inject.internal.ProviderInternalFactory.provision
> > (ProviderInternalFactory.java:85)
> >     at
> >
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
> > (InternalFactoryToInitializableAdapter.java:57)
> >     at com.google.inject.internal.ProviderInternalFactory$1.call
> > (ProviderInternalFactory.java:66)
> >     at
> >
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> > (ProvisionListenerStackCallback.java:112)
> >     at
> >
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> > (ProvisionListenerStackCallback.java:127)
> >     at
> com.google.inject.internal.ProvisionListenerStackCallback.provision
> > (ProvisionListenerStackCallback.java:66)
> >     at com.google.inject.internal.ProviderInternalFactory.circularGet
> > (ProviderInternalFactory.java:61)
> >     at
> com.google.inject.internal.InternalFactoryToInitializableAdapter.get
> > (InternalFactoryToInitializableAdapter.java:47)
> >     at com.google.inject.internal.InjectorImpl$1.get
> > (InjectorImpl.java:1050)
> >     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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
> > (DefaultMavenPluginManager.java:520)
> >     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > (DefaultBuildPluginManager.java:124)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:210)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:156)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:148)
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > (LifecycleModuleBuilder.java:117)
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > (LifecycleModuleBuilder.java:81)
> >     at
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (SingleThreadedBuilder.java:56)
> >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > (LifecycleStarter.java:128)
> >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:62)
> >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:43)
> >     at java.lang.reflect.Method.invoke (Method.java:498)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > (Launcher.java:282)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > (Launcher.java:225)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:406)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > (Launcher.java:347)
> > Caused by: java.lang.ClassNotFoundException: org.apache.cxf.Bus
> >     at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass
> > (SelfFirstStrategy.java:50)
> >     at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass
> > (ClassRealm.java:271)
> >     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
> > (ClassRealm.java:247)
> >     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass
> > (ClassRealm.java:239)
> >     at java.lang.Class.getDeclaredMethods0 (Native Method)
> >     at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
> >     at java.lang.Class.getDeclaredMethods (Class.java:1975)
> >     at com.google.inject.spi.InjectionPoint.getDeclaredMethods
> > (InjectionPoint.java:766)
> >     at com.google.inject.spi.InjectionPoint.getInjectionPoints
> > (InjectionPoint.java:683)
> >     at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields
> > (InjectionPoint.java:378)
> >     at
> > com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies
> > (ConstructorBindingImpl.java:182)
> >     at com.google.inject.internal.InjectorImpl.getInternalDependencies
> > (InjectorImpl.java:661)
> >     at com.google.inject.internal.InjectorImpl.cleanup
> > (InjectorImpl.java:617)
> >     at com.google.inject.internal.InjectorImpl.initializeJitBinding
> > (InjectorImpl.java:603)
> >     at com.google.inject.internal.InjectorImpl.createJustInTimeBinding
> > (InjectorImpl.java:932)
> >     at
> > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive
> > (InjectorImpl.java:852)
> >     at com.google.inject.internal.InjectorImpl.getJustInTimeBinding
> > (InjectorImpl.java:291)
> >     at com.google.inject.internal.InjectorImpl.getBindingOrThrow
> > (InjectorImpl.java:222)
> >     at com.google.inject.internal.InjectorImpl.getProviderOrThrow
> > (InjectorImpl.java:1040)
> >     at com.google.inject.internal.InjectorImpl.getProvider
> > (InjectorImpl.java:1071)
> >     at com.google.inject.internal.InjectorImpl.getProvider
> > (InjectorImpl.java:1034)
> >     at com.google.inject.internal.InjectorImpl.getInstance
> > (InjectorImpl.java:1086)
> >     at org.eclipse.sisu.space.AbstractDeferredClass.get
> > (AbstractDeferredClass.java:48)
> >     at com.google.inject.internal.ProviderInternalFactory.provision
> > (ProviderInternalFactory.java:85)
> >     at
> >
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision
> > (InternalFactoryToInitializableAdapter.java:57)
> >     at com.google.inject.internal.ProviderInternalFactory$1.call
> > (ProviderInternalFactory.java:66)
> >     at
> >
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> > (ProvisionListenerStackCallback.java:112)
> >     at
> >
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
> > (ProvisionListenerStackCallback.java:127)
> >     at
> com.google.inject.internal.ProvisionListenerStackCallback.provision
> > (ProvisionListenerStackCallback.java:66)
> >     at com.google.inject.internal.ProviderInternalFactory.circularGet
> > (ProviderInternalFactory.java:61)
> >     at
> com.google.inject.internal.InternalFactoryToInitializableAdapter.get
> > (InternalFactoryToInitializableAdapter.java:47)
> >     at com.google.inject.internal.InjectorImpl$1.get
> > (InjectorImpl.java:1050)
> >     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.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
> > (DefaultMavenPluginManager.java:520)
> >     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > (DefaultBuildPluginManager.java:124)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:210)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:156)
> >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:148)
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > (LifecycleModuleBuilder.java:117)
> >     at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > (LifecycleModuleBuilder.java:81)
> >     at
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (SingleThreadedBuilder.java:56)
> >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > (LifecycleStarter.java:128)
> >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:62)
> >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:43)
> >     at java.lang.reflect.Method.invoke (Method.java:498)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > (Launcher.java:282)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > (Launcher.java:225)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:406)
> >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > (Launcher.java:347)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  14.186 s
> > [INFO] Finished at: 2020-08-25T09:52:00+02:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java (embedded-wsdls) on
> > project cxf-utils: Execution embedded-wsdls of goal
> > org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java failed: A required
> class
> > was missing while executing
> > org.apache.cxf:cxf-codegen-plugin:3.4.0:wsdl2java: org/apache/cxf/Bus
> > [ERROR] -----------------------------------------------------
> > [ERROR] realm =    plugin>org.apache.cxf:cxf-codegen-plugin:3.4.0
> > [ERROR] strategy =
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > [ERROR] urls[0] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.4.0/cxf-codegen-plugin-3.4.0.jar
> > [ERROR] urls[1] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/xjcplugins/cxf-xjc-ts/3.3.1/cxf-xjc-ts-3.3.1.jar
> > [ERROR] urls[2] =
> >
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-lang3/3.11/commons-lang3-3.11.jar
> > [ERROR] urls[3] =
> >
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-fluent-api/3.0/jaxb2-fluent-api-3.0.jar
> > [ERROR] urls[4] =
> >
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.12.0/jaxb2-basics-0.12.0.jar
> > [ERROR] urls[5] =
> >
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.12.0/jaxb2-basics-runtime-0.12.0.jar
> > [ERROR] urls[6] =
> >
> file:/Users/et2448/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.12.0/jaxb2-basics-tools-0.12.0.jar
> > [ERROR] urls[7] =
> >
> file:/Users/et2448/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar
> > [ERROR] urls[8] =
> >
> file:/Users/et2448/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar
> > [ERROR] urls[9] =
> >
> file:/Users/et2448/.m2/repository/com/google/code/javaparser/javaparser/1.0.11/javaparser-1.0.11.jar
> > [ERROR] urls[10] =
> >
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.0/plexus-utils-3.2.0.jar
> > [ERROR] urls[11] =
> >
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-archiver/4.2.0/plexus-archiver-4.2.0.jar
> > [ERROR] urls[12] =
> >
> file:/Users/et2448/.m2/repository/org/codehaus/plexus/plexus-io/3.2.0/plexus-io-3.2.0.jar
> > [ERROR] urls[13] =
> >
> file:/Users/et2448/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
> > [ERROR] urls[14] =
> >
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar
> > [ERROR] urls[15] =
> >
> file:/Users/et2448/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
> > [ERROR] urls[16] =
> > file:/Users/et2448/.m2/repository/org/tukaani/xz/1.8/xz-1.8.jar
> > [ERROR] urls[17] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-core/3.4.0/cxf-core-3.4.0.jar
> > [ERROR] urls[18] =
> >
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.3/jaxb-runtime-2.3.3.jar
> > [ERROR] urls[19] =
> >
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/txw2/2.3.3/txw2-2.3.3.jar
> > [ERROR] urls[20] =
> >
> file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.11/istack-commons-runtime-3.0.11.jar
> > [ERROR] urls[21] =
> >
> file:/Users/et2448/.m2/repository/com/sun/activation/jakarta.activation/1.2.2/jakarta.activation-1.2.2.jar
> > [ERROR] urls[22] =
> >
> file:/Users/et2448/.m2/repository/com/fasterxml/woodstox/woodstox-core/6.2.1/woodstox-core-6.2.1.jar
> > [ERROR] urls[23] =
> >
> file:/Users/et2448/.m2/repository/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar
> > [ERROR] urls[24] =
> >
> file:/Users/et2448/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.5/xmlschema-core-2.2.5.jar
> > [ERROR] urls[25] =
> >
> file:/Users/et2448/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar
> > [ERROR] urls[26] =
> >
> file:/Users/et2448/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar
> > [ERROR] urls[27] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-common/3.4.0/cxf-tools-common-3.4.0.jar
> > [ERROR] urls[28] =
> >
> file:/Users/et2448/.m2/repository/org/apache/velocity/velocity-engine-core/2.2/velocity-engine-core-2.2.jar
> > [ERROR] urls[29] =
> >
> file:/Users/et2448/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
> > [ERROR] urls[30] =
> > file:/Users/et2448/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar
> > [ERROR] urls[31] =
> >
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.3.3/jaxb-xjc-2.3.3.jar
> > [ERROR] urls[32] =
> >
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/xsom/2.3.3/xsom-2.3.3.jar
> > [ERROR] urls[33] =
> >
> file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/relaxng-datatype/2.3.3-b02/relaxng-datatype-2.3.3-b02.jar
> > [ERROR] urls[34] =
> >
> file:/Users/et2448/.m2/repository/org/glassfish/jaxb/codemodel/2.3.3/codemodel-2.3.3.jar
> > [ERROR] urls[35] =
> >
> file:/Users/et2448/.m2/repository/com/sun/xml/bind/external/rngom/2.3.3/rngom-2.3.3.jar
> > [ERROR] urls[36] =
> >
> file:/Users/et2448/.m2/repository/com/sun/xml/dtd-parser/dtd-parser/1.4.3/dtd-parser-1.4.3.jar
> > [ERROR] urls[37] =
> >
> file:/Users/et2448/.m2/repository/com/sun/istack/istack-commons-tools/3.0.11/istack-commons-tools-3.0.11.jar
> > [ERROR] urls[38] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/3.4.0/cxf-tools-wsdlto-core-3.4.0.jar
> > [ERROR] urls[39] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-validator/3.4.0/cxf-tools-validator-3.4.0.jar
> > [ERROR] urls[40] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/3.4.0/cxf-rt-bindings-soap-3.4.0.jar
> > [ERROR] urls[41] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/3.4.0/cxf-rt-databinding-jaxb-3.4.0.jar
> > [ERROR] urls[42] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-wsdl/3.4.0/cxf-rt-wsdl-3.4.0.jar
> > [ERROR] urls[43] =
> > file:/Users/et2448/.m2/repository/org/ow2/asm/asm/8.0.1/asm-8.0.1.jar
> > [ERROR] urls[44] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-databinding-jaxb/3.4.0/cxf-tools-wsdlto-databinding-jaxb-3.4.0.jar
> > [ERROR] urls[45] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-jaxws/3.4.0/cxf-tools-wsdlto-frontend-jaxws-3.4.0.jar
> > [ERROR] urls[46] =
> >
> file:/Users/et2448/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
> > [ERROR] urls[47] =
> >
> file:/Users/et2448/.m2/repository/org/apache/commons/commons-text/1.9/commons-text-1.9.jar
> > [ERROR] urls[48] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-javascript/3.4.0/cxf-tools-wsdlto-frontend-javascript-3.4.0.jar
> > [ERROR] urls[49] =
> >
> file:/Users/et2448/.m2/repository/org/apache/cxf/cxf-rt-javascript/3.4.0/cxf-rt-javascript-3.4.0.jar
> > [ERROR] urls[50] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar
> > [ERROR] urls[51] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE.jar
> > [ERROR] urls[52] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE.jar
> > [ERROR] urls[53] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE.jar
> > [ERROR] urls[54] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE.jar
> > [ERROR] urls[55] =
> >
> file:/Users/et2448/.m2/repository/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE.jar
> > [ERROR] urls[56] =
> >
> file:/Users/et2448/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> > [ERROR] Number of foreign imports: 1
> > [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> > null]]
> > [ERROR]
> > [ERROR] -----------------------------------------------------
> > [ERROR] : org.apache.cxf.Bus
> > [ERROR] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [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/PluginContainerException
> >
> >
> > mvn 3.6.3
> >
> > /Library/Java/JavaVirtualMachines/1.8/Contents/Home/bin/java -version
> >
> > openjdk version "1.8.0_265"
> >
> > OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
> >
> > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)
> >
>
>

--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen