Multi-projects Maven compilation issue -


i'm experiencing trouble trying build maven project multi-modules project.

in main pom have following modules :

<modules>     <module>modulea</module>     <module>moduleb</module>     <module>modulec</module> </modules> 

when comes build third module (that includes 2 others) i'd generate wsdl java2ws goal classnotfoundexception error (trace below) guess occurs because class contained package modulea. how can specify in java2ws command class contained in module ?

...

<execution>          <id>process-classes-reclamacion</id>     <phase>process-classes</phase>     <configuration>         <classname>com.classx</classname>         <genwsdl>true</genwsdl>         <verbose>true</verbose>     </configuration>     <goals>             <goal>java2ws</goal>     </goals> </execution> 

...

grave: failed execute goal org.apache.cxf:cxf-java2ws-plugin:2.2.6:java2ws on project modulec: fail load class : com.classx -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.cxf:cxf-java2ws-plugin:2.2.6:java2ws on project modulec : fail load class : com.classx     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:217)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161)     @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320)     @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156)     @ org.jvnet.hudson.maven3.launcher.maven3launcher.main(maven3launcher.java:117)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ org.codehaus.plexus.classworlds.launcher.launcher.launchstandard(launcher.java:329)     @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:239)     @ org.jvnet.hudson.maven3.agent.maven3main.launch(maven3main.java:178)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ hudson.maven.maven3builder.call(maven3builder.java:134)     @ hudson.maven.maven3builder.call(maven3builder.java:69)     @ hudson.remoting.userrequest.perform(userrequest.java:118)     @ hudson.remoting.userrequest.perform(userrequest.java:48)     @ hudson.remoting.request$2.run(request.java:328)     @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:72)     @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:303)     @ java.util.concurrent.futuretask.run(futuretask.java:138)     @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918)     @ java.lang.thread.run(thread.java:662) caused by: org.apache.maven.plugin.mojoexecutionexception: fail load class : com.calculo.gestconv.webservices.reclamacion.sdm.ireclamacionsdmws     @ org.apache.cxf.maven_plugin.java2wsmojo.processjavaclass(java2wsmojo.java:268)     @ org.apache.cxf.maven_plugin.java2wsmojo.execute(java2wsmojo.java:154)     @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:101)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:209)     ... 31 more caused by: org.apache.cxf.tools.common.toolexception: fail load class : com.classx     @ org.apache.cxf.tools.util.annotationutil.loadclass(annotationutil.java:83)     @ org.apache.cxf.tools.java2wsdl.processor.javatowsdlprocessor.getserviceclass(javatowsdlprocessor.java:307)     @ org.apache.cxf.tools.java2wsdl.processor.javatowsdlprocessor.getservicebuilder(javatowsdlprocessor.java:204)     @ org.apache.cxf.tools.java2wsdl.processor.javatowsdlprocessor.process(javatowsdlprocessor.java:127)     @ org.apache.cxf.tools.java2ws.javatowscontainer.processwsdl(javatowscontainer.java:109)     @ org.apache.cxf.tools.java2ws.javatowscontainer.execute(javatowscontainer.java:75)     @ org.apache.cxf.tools.common.toolspec.toolrunner.runtool(toolrunner.java:103)     @ org.apache.cxf.tools.common.toolspec.toolrunner.runtool(toolrunner.java:58)     @ org.apache.cxf.tools.common.toolspec.toolrunner.runtool(toolrunner.java:40)     @ org.apache.cxf.tools.java2ws.javatows.run(javatows.java:77)     @ org.apache.cxf.maven_plugin.java2wsmojo.processjavaclass(java2wsmojo.java:265)     ... 34 more caused by: java.lang.classnotfoundexception: com.classx     @ java.net.urlclassloader$1.run(urlclassloader.java:202)     @ java.security.accesscontroller.doprivileged(native method)     @ java.net.urlclassloader.findclass(urlclassloader.java:190)     @ java.lang.classloader.loadclass(classloader.java:306)     @ java.lang.classloader.loadclass(classloader.java:247)     @ org.apache.cxf.tools.util.annotationutil.loadclass(annotationutil.java:80)     ... 44 more 

thank help.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -