Hello,
I built and integrated servicemix-3.0-M2 successfully into eclipse.
Now, when running the basic example I get the following exception:
java.lang.ClassNotFoundException:
org.apache.servicemix.components.quartz.QuartzComponent
Do I need to change the build path in eclipse? As far as I understand, the
servicemix-components project is already included in the build path via
other projects.
Thx for helping,
Martin
Console output:
Apache ServiceMix ESB: null
Loading Apache ServiceMix from file: servicemix.xml
18:04:28,546 | INFO | main | CollectionFactory |
framework.core.CollectionFactory 75 | JDK 1.4+ collections available
18:04:28,562 | INFO | main | CollectionFactory |
framework.core.CollectionFactory 80 | Commons Collections 3.x available
18:04:28,562 | DEBUG | main | CollectionFactory |
framework.core.CollectionFactory 99 | Creating [java.util.LinkedHashSet]
18:04:28,562 | DEBUG | main | CollectionFactory |
framework.core.CollectionFactory 123 | Creating [java.util.LinkedHashMap]
18:04:28,625 | DEBUG | main | PluggableSchemaResolver |
tory.xml.PluggableSchemaResolver 89 | Loading schema mappings from
[META-INF/spring.schemas].
18:04:28,625 | DEBUG | main | PluggableSchemaResolver |
tory.xml.PluggableSchemaResolver 89 | Loading schema mappings from
[META-INF/spring.schemas].
18:04:28,640 | DEBUG | main | PluggableSchemaResolver |
tory.xml.PluggableSchemaResolver 89 | Loading schema mappings from
[META-INF/spring.schemas].
18:04:28,640 | INFO | main | XBeanXmlBeanDefinitionReader |
tory.xml.XmlBeanDefinitionReader 329 | Loading XML bean definitions from
file
[C:\opt\apache-servicemix-3.0-M2-incubating\examples\basic\servicemix.xml]
18:04:28,656 | DEBUG | main | XBeanXmlBeanDefinitionReader |
tory.xml.XmlBeanDefinitionReader 386 | Using JAXP provider
[EMAIL PROTECTED]
18:04:28,953 | DEBUG | main | XBeanNamespaceHandlerResolver |
.DefaultNamespaceHandlerResolver 101 | Loaded mappings
[{http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler}]
18:04:28,968 | DEBUG | main | ClassUtils |
.springframework.util.ClassUtils 121 | Class [groovy.lang.GroovyObject] or
one of its dependencies is not present: java.lang.ClassNotFoundException:
groovy.lang.GroovyObject
18:04:28,968 | DEBUG | main | ClassUtils |
.springframework.util.ClassUtils 121 | Class [org.jruby.IRuby] or one of
its dependencies is not present: java.lang.ClassNotFoundException:
org.jruby.IRuby
18:04:28,968 | DEBUG | main | ClassUtils |
.springframework.util.ClassUtils 121 | Class [bsh.Interpreter] or one of
its dependencies is not present: java.lang.ClassNotFoundException:
bsh.Interpreter
18:04:29,000 | DEBUG | main | BeanBeanDefinitionDocumentReader |
aultBeanDefinitionDocumentReader 87 | Loading bean definitions
18:04:29,031 | DEBUG | main | XBeanNamespaceHandler |
context.v2.XBeanNamespaceHandler 688 | Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/config/1.0/container
18:04:29,125 | DEBUG | main | XBeanNamespaceHandler |
context.v2.XBeanNamespaceHandler 688 | Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/config/1.0/activationSpec
18:04:29,140 | DEBUG | main | BeanBeanDefinitionParserDelegate |
xml.BeanDefinitionParserDelegate 387 | Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.jbi.container.ActivationSpec]
18:04:29,140 | DEBUG | main | CollectionFactory |
framework.core.CollectionFactory 123 | Creating [java.util.LinkedHashMap]
18:04:29,156 | DEBUG | main | BeanBeanDefinitionParserDelegate |
xml.BeanDefinitionParserDelegate 387 | Neither XML 'id' nor 'name'
specified - using generated bean name [org.quartz.SimpleTrigger#171bbc9]
18:04:29,171 | DEBUG | main | BeanBeanDefinitionParserDelegate |
xml.BeanDefinitionParserDelegate 387 | Neither XML 'id' nor 'name'
specified - using generated bean name [org.quartz.JobDetail#12d7a10]
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Error 'Bean class [org.apache.servicemix.components.quartz.QuartzComponent]
not found' in resource 'file
[C:\opt\apache-servicemix-3.0-M2-incubating\examples\basic\servicemix.xml]'
at:
Bean ''; nested exception is java.lang.ClassNotFoundException:
org.apache.servicemix.components.quartz.QuartzComponent
org.springframework.beans.factory.BeanDefinitionStoreException: Error 'Bean
class [org.apache.servicemix.components.quartz.QuartzComponent] not found'
in resource 'file
[C:\opt\apache-servicemix-3.0-M2-incubating\examples\basic\servicemix.xml]'
at:
Bean ''; nested exception is java.lang.ClassNotFoundException:
org.apache.servicemix.components.quartz.QuartzComponent
Caused by: java.lang.ClassNotFoundException:
org.apache.servicemix.components.quartz.QuartzComponent
at java.net.URLClassLoader$1.run(Unknown Source)
[...]
at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:150)
at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:101)
at org.apache.servicemix.Main.main(Main.java:80)
--
View this message in context:
http://www.nabble.com/Basic-example-in-eclipse%3A-ClassNotFoundException%3A-QuartzComponent-tf2234145.html#a6193515
Sent from the ServiceMix - User forum at Nabble.com.