You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by patgrea <pa...@gmail.com> on 2008/03/24 23:00:10 UTC
Error to build servicemix-wsn2005
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-tp16262821s12049p16262821.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by cmoulliard <cm...@gmail.com>.
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.
Re: Error to build servicemix-wsn2005
Posted by patgrea <pa...@gmail.com>.
cmoulliard wrote:
>
>
> Hello Charles,
>
> Thank you for your response. Yes I start with
>
> mvn -Dmaven.test.skip=true -Pstep1 install
>
> with no error, the error come from the step 2
>
> mvn -Dmaven.test.skip=true -Pstep2 install
>
>
> To verify my config I make a project with the pre-build version 3.2.1 with
> a file pooler, an eip and two pojo and It work fine.
>
>
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16304016.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by patgrea <pa...@gmail.com>.
cmoulliard wrote:
>
>
> Hello Charles,
>
> Thank you for your response. Yes I start with
>
> mvn -Dmaven.test.skip=true -Pstep1 install
>
> with no error, the error come from the step 2
>
> mvn -Dmaven.test.skip=true -Pstep2 install
>
>
> To verify my config I make a project with the pre-build version 3.2.1 with
> a file pooler, an eip and two pojo and It work fine.
>
>
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16304016.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by cmoulliard <cm...@gmail.com>.
Pat,
I have posted a message in order to ask which JDK should be used. It seems
that the error that we have come from the fact that there is a dependency
error between the JDK used (5_0_15) )and JAXB2. The code to be compiled here
use JAXB2 which is now included in JDK 6 but there is a dependency in the
POM pointing in the maven repository to
com/sun/xml/bind/jaxb-impl/jaxb-impl-2.1.4.jar. In consequence everything
should work but this is not the case.
Have you try to build using the following maven commands ?
mvn -Dmaven.test.skip=true -Pstep1 install
mvn -Dmaven.test.skip=true -Pstep2 install
Regards,
Charles
patgrea wrote:
>
>
>
> patgrea wrote:
>>
>>
>> Hi,
>>
>> I retry to rebuild all from scratch with previous jdk : jdk1.5.05 with
>> the same result. Is there a specific version of java 5 to use ? Must I
>> use jdk 6 ? I don't understand that starting from scratch : maven
>> repository, project, jdk, the build failed for servicemix trunk.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16302991.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by patgrea <pa...@gmail.com>.
patgrea wrote:
>
>
> Hi,
>
> I retry to rebuild all from scratch with previous jdk : jdk1.5.05 with the
> same result. Is there a specific version of java 5 to use ? Must I use jdk
> 6 ? I don't understand that starting from scratch : maven repository,
> project, jdk, the build failed for servicemix trunk.
>
>
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16302203.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by patgrea <pa...@gmail.com>.
Hello Bruce,
Yes I see this item but I work with the jdk1.5.0.15.
Pat
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16280382.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by patgrea <pa...@gmail.com>.
Hello Bruce,
Yes I see this problem but I work with the jdk1.5.0.15.
Pat
bsnyder wrote:
>
> On Mon, Mar 24, 2008 at 4:00 PM, patgrea <pa...@gmail.com> 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 ?
> ...
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] com/sun/istack/SAXParseException2
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
>
> Are you compiling with Java 1.6 perhaps? This error only occurs when
> the JAXB2 libraries are not in the classpath. They are listed in the
> servicemix-wxn2005 POM file, but when compiling with Java 1.6, the
> classpath is different.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>
>
--
View this message in context: http://www.nabble.com/Error-to-build-servicemix-wsn2005-tp16262821s12049p16277348.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error to build servicemix-wsn2005
Posted by Gert Vanthienen <ge...@skynet.be>.
... although I can build it without any problems using JDK 1.6 as well.
I do use the _04 update release which has JAXB 2.1 (cfr.
http://servicemix.apache.org/linkageerror-on-jaxb-api-when-building-with-jdk-6.html)
Gert
Bruce Snyder wrote:
> On Tue, Mar 25, 2008 at 7:34 AM, Gert Vanthienen
> <ge...@skynet.be> wrote:
>
>> Guillaume,
>>
>> Could we perhaps use
>> http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaVersion.html?
>>
>
> Yeah, we need to warn folks early that they must use JDK 1.5 to build
> ServiceMix.
>
> Bruce
>
Re: Error to build servicemix-wsn2005
Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Mar 25, 2008 at 7:34 AM, Gert Vanthienen
<ge...@skynet.be> wrote:
> Guillaume,
>
> Could we perhaps use
> http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaVersion.html?
Yeah, we need to warn folks early that they must use JDK 1.5 to build
ServiceMix.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/
Re: Error to build servicemix-wsn2005
Posted by Gert Vanthienen <ge...@skynet.be>.
Guillaume,
Could we perhaps use
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaVersion.html?
Gert
Guillaume Nodet wrote:
> Is there an easy way to somehow force the use of JDK 5 in maven ? If we
> could fail saying we require JDK 5 early, it would be better.
>
> On Tue, Mar 25, 2008 at 2:20 PM, Bruce Snyder <br...@gmail.com>
> wrote:
>
>
>> On Mon, Mar 24, 2008 at 4:00 PM, patgrea <pa...@gmail.com> 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 ?
>>>
>> ...
>>
>> ------------------------------------------------------------------------
>>
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>>
>>>
>> ------------------------------------------------------------------------
>>
>>> [INFO] com/sun/istack/SAXParseException2
>>> [INFO]
>>>
>>>
>> ------------------------------------------------------------------------
>>
>>> [INFO] Trace
>>> java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
>>>
>> Are you compiling with Java 1.6 perhaps? This error only occurs when
>> the JAXB2 libraries are not in the classpath. They are listed in the
>> servicemix-wxn2005 POM file, but when compiling with Java 1.6, the
>> classpath is different.
>>
>> Bruce
>> --
>> perl -e 'print
>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>>
>> Apache ActiveMQ - http://activemq.org/
>> Apache Camel - http://activemq.org/camel/
>> Apache ServiceMix - http://servicemix.org/
>> Apache Geronimo - http://geronimo.apache.org/
>>
>> Blog: http://bruceblog.org/
>>
>>
>
>
>
>
Re: Error to build servicemix-wsn2005
Posted by Guillaume Nodet <gn...@gmail.com>.
Is there an easy way to somehow force the use of JDK 5 in maven ? If we
could fail saying we require JDK 5 early, it would be better.
On Tue, Mar 25, 2008 at 2:20 PM, Bruce Snyder <br...@gmail.com>
wrote:
> On Mon, Mar 24, 2008 at 4:00 PM, patgrea <pa...@gmail.com> 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 ?
> ...
> >
> ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] com/sun/istack/SAXParseException2
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
>
> Are you compiling with Java 1.6 perhaps? This error only occurs when
> the JAXB2 libraries are not in the classpath. They are listed in the
> servicemix-wxn2005 POM file, but when compiling with Java 1.6, the
> classpath is different.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: Error to build servicemix-wsn2005
Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Mar 24, 2008 at 4:00 PM, patgrea <pa...@gmail.com> 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 ?
...
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] com/sun/istack/SAXParseException2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
Are you compiling with Java 1.6 perhaps? This error only occurs when
the JAXB2 libraries are not in the classpath. They are listed in the
servicemix-wxn2005 POM file, but when compiling with Java 1.6, the
classpath is different.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/