activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pga <payal_pa...@yahoo.co.in>
Subject NoClassDefFoundError org/springframework/context/MessageSourceResolvable| Even when the class is there
Date Fri, 25 May 2007 15:20:51 GMT

While integrating ActiveMQ4.1.1 with Jboss4.0.4
I recieved the following exception.
I am using Spring2.0 and Hibernate3.2.

And spring2.0.jar is present in the jboss-4.0.4\server\default\lib  and
jboss-4.0.4\server\default\deploy\activemq-ra.rar

And this jar indeed has this class "MessageSourceResolvable".
I also have one xbean-spring-2.8.jar in
jboss-4.0.4\server\default\deploy\activemq-ra.rar which is used for
configuring embedded broker for ActiveMQ.

What am i missing here?Is this jar needs to be put somewhere else also or i
need to delete it from somewhere?

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'beanRefFactory' defined in URL [
jar:file:/D:/jboss-4.0.4/server/default/tmp/deploy/tmp39455subscription-3.1.ear-contents/subscription-core-3.2-SNAPSHOT.
jar!/testbeanRefFactory.xml]: Instantiation of bean failed; nested exception
is java.lang.NoClassDefFoundError: org/spri
ngframework/context/MessageSourceResolvable
Caused by:
java.lang.NoClassDefFoundError:
org/springframework/context/MessageSourceResolvable
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
        at java.lang.Class.getDeclaredMethods(Class.java:1763)
        at java.beans.Introspector$1.run(Introspector.java:1265)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
        at
java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
        at java.beans.Introspector.getBeanInfo(Introspector.java:387)
        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
        at java.beans.Introspector.getBeanInfo(Introspector.java:220)
        at java.beans.Introspector.<init>(Introspector.java:368)
        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
        at java.beans.Introspector.getBeanInfo(Introspector.java:220)
        at java.beans.Introspector.<init>(Introspector.java:368)
        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
        at java.beans.Introspector.getBeanInfo(Introspector.java:220)
        at java.beans.Introspector.<init>(Introspector.java:368)
        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
        at
org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:142)
        at
org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:83)
        at
org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperImpl.java:239)
        at
org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:197)
        at
org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:180)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:15
8)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAuto
wireCapableBeanFactory.java:683)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutow
ireCapableBeanFactory.java:621)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
try.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
        at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642)
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocat
or.java:393)
        at
com.tomtom.subs.common.ServiceLocator.getContext(ServiceLocator.java:106)
        at
com.tomtom.subs.common.ServiceLocator.getConfigXmlService(ServiceLocator.java:164)
        at
com.tomtom.subs.common.ConfigReader.getXsdMap(ConfigReader.java:82)
        at com.tomtom.subs.common.ConfigHelper.<init>(ConfigHelper.java:97)
        at
com.tomtom.subs.common.ConfigHelper.getInstance(ConfigHelper.java:131)
        at
com.tomtom.subs.common.BatchSchedulerServlet.doGet(BatchSchedulerServlet.java:63)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)

Thanks.

-- 
View this message in context: http://www.nabble.com/NoClassDefFoundError-org-springframework-context-MessageSourceResolvable%7C-Even-when-the-class-is-there-tf3816762s2354.html#a10805125
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message