java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader

Spring JIRA | Barry Lagerweij | 1 decade ago
  1. 0

    When two Spring-enabled applications are configured in the application-server, then only one of those applications will work. The second application produces an exception: 500 Internal Server Error org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/greeting' defined in ServletContext resource [/WEB-INF/spring-actions.xml]: Can't resolve reference to bean 'recordingManager' while setting property 'recordingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordingManager' defined in ServletContext resource [/WEB-INF/spring.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordingManager' defined in ServletContext resource [/WEB-INF/spring.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:345) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:564) at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:102) at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:92) at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:66) at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.afterPropertiesSet(TransactionProxyFactoryBean.java:278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:937) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:707) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:316) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:150) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:529) at org.springframework.web.struts.DelegatingRequestProcessor.getDelegateAction(DelegatingRequestProcessor.java:160) at org.springframework.web.struts.DelegatingRequestProcessor.processActionCreate(DelegatingRequestProcessor.java:141) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:220) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Orion/2.0.6 (build 11252)]._csb._pud(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._csb._bqc(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._ax._ltc(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._ax._ucb(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._bf.run(Unknown Source)

    Spring JIRA | 1 decade ago | Barry Lagerweij
    java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader
  2. 0

    When two Spring-enabled applications are configured in the application-server, then only one of those applications will work. The second application produces an exception: 500 Internal Server Error org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/greeting' defined in ServletContext resource [/WEB-INF/spring-actions.xml]: Can't resolve reference to bean 'recordingManager' while setting property 'recordingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordingManager' defined in ServletContext resource [/WEB-INF/spring.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordingManager' defined in ServletContext resource [/WEB-INF/spring.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:345) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:564) at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:102) at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:92) at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:66) at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.afterPropertiesSet(TransactionProxyFactoryBean.java:278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:937) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:707) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:316) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:150) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:529) at org.springframework.web.struts.DelegatingRequestProcessor.getDelegateAction(DelegatingRequestProcessor.java:160) at org.springframework.web.struts.DelegatingRequestProcessor.processActionCreate(DelegatingRequestProcessor.java:141) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:220) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Orion/2.0.6 (build 11252)]._csb._pud(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._csb._bqc(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._ax._ltc(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._ax._ucb(Unknown Source) at com.evermind[Orion/2.0.6 (build 11252)]._bf.run(Unknown Source)

    Spring JIRA | 1 decade ago | Barry Lagerweij
    java.lang.IllegalArgumentException: interface org.springframework.aop.framework.Advised is not visible from class loader
  3. 0

    Eclipse Community Forums: Rich Client Platform (RCP) » RCP + spring

    eclipse.org | 1 year ago
    java.lang.IllegalArgumentException: interface org.springframework.security.providers.rcp.RemoteAuthenticationManager is not visible from class loader
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JPA with hibernate with spring DM

    Google Groups | 9 years ago | ouertani slim
    java.lang.IllegalArgumentException: interface org.springframework.beans.factory.xml.NamespaceHandlerResolver is not visible from class loader
  6. 0

    YourKit Java Profiler and .NET Profiler Forums • View topic - Interaction with AOP

    yourkit.com | 1 year ago
    java.lang.IllegalArgumentException: java.lang.ClassFormatError: Illegal exception table range in class file $Proxy71

    17 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      interface org.springframework.aop.framework.Advised is not visible from class loader

      at java.lang.reflect.Proxy.getProxyClass()
    2. Java RT
      Proxy.newProxyInstance
      1. java.lang.reflect.Proxy.getProxyClass(Proxy.java:345)
      2. java.lang.reflect.Proxy.newProxyInstance(Proxy.java:564)
      2 frames
    3. Spring AOP
      ProxyFactory.getProxy
      1. org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:102)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:92)
      3. org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:66)
      3 frames
    4. Spring Tx
      TransactionProxyFactoryBean.afterPropertiesSet
      1. org.springframework.transaction.interceptor.TransactionProxyFactoryBean.afterPropertiesSet(TransactionProxyFactoryBean.java:278)
      1 frame
    5. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:937)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
      6. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:707)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:316)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
      12. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:150)
      12 frames
    6. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:529)
      1 frame
    7. Spring Struts
      DelegatingRequestProcessor.processActionCreate
      1. org.springframework.web.struts.DelegatingRequestProcessor.getDelegateAction(DelegatingRequestProcessor.java:160)
      2. org.springframework.web.struts.DelegatingRequestProcessor.processActionCreate(DelegatingRequestProcessor.java:141)
      2 frames
    8. struts
      ActionServlet.doGet
      1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:220)
      2. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      3. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
      3 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
      3. javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
      3 frames