You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by karimh <ka...@gmail.com> on 2009/07/08 17:29:51 UTC
Re: trouble importing servicemix into eclipse
karimh wrote:
>
> hello everyone,
>
> I've tried to follow the instruction to import the servicemix project into
> eclipse.
> I've reached the step to start the debugger of the servicemix-core.
>
> I've got the following output:
>
> Starting Apache ServiceMix ESB: null
>
> Loading Apache ServiceMix from file: servicemix.xml
> INFO - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@e86da0:
> display name
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@e86da0];
> startup date [Fri Jun 12 15:13:13 CEST 2009]; root of context hierarchy
> INFO - XBeanXmlBeanDefinitionReader - Loading XML bean definitions from
> file
> [/opt/servicemix-3.3/distributions/apache-servicemix/src/main/release/examples/file-binding/servicemix.xml]
> DEBUG - DefaultDocumentLoader - Using JAXP provider
> [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
> DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
> DEBUG - XBeanNamespaceHandlerResolver - Loaded mappings
> [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://activemq.apache.org/schema/ra=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://lingo.codehaus.org/1.2=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.apache.org/schema/core=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler,
> http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}]
> DEBUG - XBeanNamespaceHandler - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/config/1.0/container
> DEBUG - XBeanNamespaceHandler - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/config/1.0/activationSpec
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.jbi.container.ActivationSpec#0]
> Caught:
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Unexpected failure during bean definition parsing
> Offending resource: file
> [/opt/servicemix-3.3/distributions/apache-servicemix/src/main/release/examples/file-binding/servicemix.xml]
> Bean ''; nested exception is
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Class that bean class
> [org.apache.servicemix.components.util.DefaultFileMarshaler] depends on
> not found
> Offending resource: file
> [/opt/servicemix-3.3/distributions/apache-servicemix/src/main/release/examples/file-binding/servicemix.xml]
> Bean ''
> -> Property 'marshaler'
> -> Bean ''; nested exception is java.lang.NoClassDefFoundError:
> org/jaxen/JaxenExceptionvvvvvv
>
>
>
> ===== END output
> I've probably a bet setting of the eclipse.
> Can someone help me in this case. I didn't find in the forum a similar
> error, or I didn't see it....
>
> Thank you in advance.
> Karim
>
Hello,
I continued to investigate and I found the following error when I started
the command "mvn -e install":
====================================================================
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/opt/servicemix-3.3/platforms/geronimo/deployer-service/target/surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to
/opt/servicemix-3.3/platforms/geronimo/deployer-service/target/surefire-reports
for the individual test results.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
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)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.
Please refer to
/opt/servicemix-3.3/platforms/geronimo/deployer-service/target/surefire-reports
for the individual test results.
at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 minutes 3 seconds
[INFO] Finished at: Wed Jul 08 16:29:49 CEST 2009
[INFO] Final Memory: 90M/161M
[INFO]
------------------------------------------------------------------------
====================================================================
This could help more...
karimh
--
View this message in context: http://www.nabble.com/trouble-importing-servicemix-into-eclipse-tp24049911p24393124.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.