7 Replies Latest reply on Mar 15, 2010 1:25 PM by Alexander Bell

    Problem: 1.0.1-CR2 on Tomcat 6.x

    Alexander Bell Newbie

      Hi,


      I've upgraded Weld for my application which uses Tomcat 6.


      On Startup I get the following error:



      SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener
      java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/jboss/weld/environment/servlet/Listener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ELResolver used in the signature
           at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:160)
           at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
           at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
           at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
           at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
           at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
           at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
           at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
           at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)



      Any suggestions?


      Alex