Hi,

I'm confronted to the same error even if the following folder is cleaned in
m2 repository (com\sun\xml\bind\jaxb-impl). During the build step, I see
that three folders are created one for 2.1.3, 2.1.4 and the last id for
2.1.6 in jaxb-impl directory. The folders with version number 2.1.3 and
2.1.6 only contain pom & pom.md5 files without jar. But the folder 2.1.4
contain the jar with the class mentioned in your email. 
A logic conclusion is that we have a classpath conflict with another version
of this jaxb-impl jar where such  class is missing ?

How to solve is another interesting question because what is described here
does not solve my problem ((http://jira.codehaus.org/browse/XFIRE-525))? 

Regards,

Charles


patgrea wrote:
> 
> Hello,
> 
> I'm new to servicemix and i try to build the projet. During phase2, I have
> build problem whith servicemix-wsn2005 and I have the folowing error (I
> try with the last 4 revision, I re-try with first delete .m2
> repository...) but always the same result. Can anyone help a poor beginner
> please ?
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: WS-Notification Service Engine
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [checkstyle:checkstyle {execution: validate}]
> [INFO] Starting audit...
> Audit done.
> 
> [INFO] Preparing pmd:check
> [INFO] [pmd:pmd]
> [INFO] [pmd:check {execution: validate}]
> [INFO]
> [INFO] [xbean:mapping {execution: default}]
> [INFO] Generating META-INF properties file:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\META-INF\
> services\org\apache\xbean\spring\http\servicemix.apache.org\wsn\1.0 for
> namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating Spring 2.0 handler mapping:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\META-IN
> F\spring.handlers for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating Spring 2.0 schema mapping:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\META-INF
> \spring.schemas for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating HTML documentation file:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\servicemix
> -wsn2005.xsd.html for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating XSD file:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\servicemix-wsn2005.xsd
> fo
> r namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating WIKI documentation file:
> C:\ServiceMixRep\ServiceMix\deployables\serviceengines\servicemix-wsn2005\target\xbean\servicemix
> -wsn2005.xsd.wiki for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] ...done.
> [INFO] [xfire:wsgen {execution: default}]
> [INFO] Executing XFire WsGen task with url:
> file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resourc
> es/org/apache/servicemix/wsn/wsn.wsdl
> [ERROR] log4j:WARN No appenders could be found for logger
> (org.codehaus.xfire.gen.Wsdl11Generator).
> [ERROR] log4j:WARN Please initialize the log4j system properly.
> Retrieving document at 'brw-2.wsdl', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/r
> esources/org/apache/servicemix/wsn/wsn.wsdl'.
> Retrieving document at 'rw-2.wsdl', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/re
> sources/org/apache/servicemix/wsn/brw-2.wsdl'.
> Retrieving schema at 'r-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/rw-2.wsdl'.
> Retrieving schema at 'bf-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resou
> rces/org/apache/servicemix/wsn/r-2.xsd'.
> Retrieving schema at 'xml.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/bf-2.xsd'.
> Retrieving schema at 'ws-addr.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/re
> sources/org/apache/servicemix/wsn/bf-2.xsd'.
> Retrieving document at 'bw-2.wsdl', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/re
> sources/org/apache/servicemix/wsn/brw-2.wsdl'.
> Retrieving schema at 'b-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/bw-2.wsdl'.
> Retrieving schema at 'bf-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resou
> rces/org/apache/servicemix/wsn/b-2.xsd'.
> Retrieving schema at 't-1.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/b-2.xsd'.
> Retrieving schema at 'ws-addr.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/re
> sources/org/apache/servicemix/wsn/b-2.xsd'.
> Retrieving schema at 'br-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resou
> rces/org/apache/servicemix/wsn/brw-2.wsdl'.
> Retrieving schema at 'bf-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resou
> rces/org/apache/servicemix/wsn/br-2.xsd'.
> Retrieving schema at 'b-2.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/br-2.xsd'.
> Retrieving schema at 't-1.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/resour
> ces/org/apache/servicemix/wsn/br-2.xsd'.
> Retrieving schema at 'ws-addr.xsd', relative to
> 'file:/C:/ServiceMixRep/ServiceMix/deployables/serviceengines/servicemix-wsn2005/src/main/re
> sources/org/apache/servicemix/wsn/br-2.xsd'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] com/sun/istack/SAXParseException2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
>         at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:51)
>         at
> org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSchemaSupport.java:59)
>         at
> org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:151)
>         at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:66)
>         at
> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>         at
> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 42 seconds
> [INFO] Finished at: Mon Mar 24 22:43:48 CET 2008
> [INFO] Final Memory: 68M/123M
> [INFO]
> ------------------------------------------------------------------------
> 

-- 
View this message in context: 
http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16274964.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to