You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by sanjay0522 <sa...@gmail.com> on 2015/07/23 02:56:18 UTC

code gen plugin in eclipse showing error ...

Getting Following Error Even Thought JDK settings are correctly mentioned
for the maven code gen plugin


Execution default of goal org.apache.cxf:cxf-codegen-plugin:3.1.1:wsdl2java
failed: Unable to load the mojo 'wsdl2java' in the plugin
'org.apache.cxf:cxf-codegen-plugin:3.1.1' due to an API incompatibility:
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo : Unsupported
major.minor version 51.0
-----------------------------------------------------
realm =    plugin>org.apache.cxf:cxf-codegen-plugin:3.1.1
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-codegen-plugin/3.1.1/cxf-codegen-plugin-3.1.1.jar
urls[1] =
file:////myfiles/home/sgautam/profile/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar
urls[2] =
file:////myfiles/home/sgautam/profile/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar
urls[3] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/maven/shared/maven-artifact-resolver/1.0/maven-artifact-resolver-1.0.jar
urls[4] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[5] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-1.2.jar
urls[6] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
urls[7] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-core/3.1.1/cxf-core-3.1.1.jar
urls[8] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar
urls[9] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar
urls[10] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.1/xmlschema-core-2.2.1.jar
urls[11] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-common/3.1.1/cxf-tools-common-3.1.1.jar
urls[12] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
urls[13] =
file:////myfiles/home/sgautam/profile/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
urls[14] =
file:////myfiles/home/sgautam/profile/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
urls[15] =
file:////myfiles/home/sgautam/profile/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar
urls[16] =
file:////myfiles/home/sgautam/profile/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
urls[17] =
file:////myfiles/home/sgautam/profile/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
urls[18] =
file:////myfiles/home/sgautam/profile/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar
urls[19] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/3.1.1/cxf-tools-wsdlto-core-3.1.1.jar
urls[20] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-validator/3.1.1/cxf-tools-validator-3.1.1.jar
urls[21] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-rt-bindings-soap/3.1.1/cxf-rt-bindings-soap-3.1.1.jar
urls[22] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-rt-databinding-jaxb/3.1.1/cxf-rt-databinding-jaxb-3.1.1.jar
urls[23] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-rt-wsdl/3.1.1/cxf-rt-wsdl-3.1.1.jar
urls[24] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
urls[25] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-databinding-jaxb/3.1.1/cxf-tools-wsdlto-databinding-jaxb-3.1.1.jar
urls[26] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-jaxws/3.1.1/cxf-tools-wsdlto-frontend-jaxws-3.1.1.jar
urls[27] =
file:////myfiles/home/sgautam/profile/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
urls[28] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-javascript/3.1.1/cxf-tools-wsdlto-frontend-javascript-3.1.1.jar
urls[29] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/cxf/cxf-rt-javascript/3.1.1/cxf-rt-javascript-3.1.1.jar
urls[30] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/springframework/spring-core/4.1.6.RELEASE/spring-core-4.1.6.RELEASE.jar
urls[31] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/springframework/spring-beans/4.1.6.RELEASE/spring-beans-4.1.6.RELEASE.jar
urls[32] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/springframework/spring-context/4.1.6.RELEASE/spring-context-4.1.6.RELEASE.jar
urls[33] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/springframework/spring-aop/4.1.6.RELEASE/spring-aop-4.1.6.RELEASE.jar
urls[34] =
file:////myfiles/home/sgautam/profile/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
urls[35] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/springframework/spring-expression/4.1.6.RELEASE/spring-expression-4.1.6.RELEASE.jar
urls[36] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/ant/ant/1.8.4/ant-1.8.4.jar
urls[37] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/ant/ant-launcher/1.8.4/ant-launcher-1.8.4.jar
urls[38] =
file:////myfiles/home/sgautam/profile/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
Number of foreign imports: 4
import: Entry[import org.sonatype.plexus.build.incremental from realm
ClassRealm[plexus.core, parent: null]]
import: Entry[import org.codehaus.plexus.util.Scanner from realm
ClassRealm[plexus.core, parent: null]]
import: Entry[import org.codehaus.plexus.util.AbstractScanner from realm
ClassRealm[plexus.core, parent: null]]
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

(org.apache.cxf:cxf-codegen-plugin:3.1.1:wsdl2java:default:generate-sources)



--
View this message in context: http://cxf.547215.n5.nabble.com/code-gen-plugin-in-eclipse-showing-error-tp5759357.html
Sent from the cxf-user mailing list archive at Nabble.com.