Announcement Announcement Module
No announcement yet.
Issue with Spring WS JMS implementation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with Spring WS JMS implementation

    Hi All,

    I am trying to implement spring JMS.. I done with all the changes required, however when I deploy my code to BEA Weblogic I face the below issues. Can someone assist me solving the issue at the earliest.

    15:28:52,691 ERROR ContextLoader:238 - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'queueConnectionFactory' defined in ServletContext resource [/WEB-INF/spring-ws-servlet.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
    at AutowireCapableBeanFactory.doCreateBean(AbstractAu
    at AutowireCapableBeanFactory.createBean(AbstractAuto
    at BeanFactory$1.getObject( 95)
    at ingletonBeanRegistry.getSingleton(DefaultSingleton
    at BeanFactory.doGetBean( )
    at BeanFactory.getBean(
    at istableBeanFactory.preInstantiateSingletons(Defaul
    at ationContext.finishBeanFactoryInitialization(Abstr
    at ationContext.refresh(AbstractApplicationContext.ja va:455)
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized( 47)
    at weblogic.servlet.internal.EventsManager$FireContex
    at t.doAs(
    at known Source)
    at weblogic.servlet.internal.EventsManager.notifyCont extCreatedEvent(

    Thanks in advance.

  • #2
    Have you actually looked at the stack trace?

    java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
    Which indicates a missing class, which indicates a missing jar.. In this case the aopalliance.jar... I suggest using something like maven, ant+ivy or gradle to manage your dependencies.


    • #3
      Hi Marten,

      Thanks for the response.. I managed to solve the issue by importing the spring.jar which has the classes of aopalliance.jar