1 Reply Latest reply on Oct 2, 2008 1:25 PM by Pete Muir

    Has someone Seam 2.1.0.BETA1 with Wicket running on Tomcat

    Martijn Lindhout Newbie
      I got this error when running Seam with Wicket on Tomcat 6.0.16:

      My Seam components (Sayer.class) are all in WEB-INF/classes, my Wicket components are all in WEB-INF/wicket.

      Any ideas?

      Sep 23, 2008 4:38:37 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.IllegalStateException: Cannot load WEB-INF/classes/nl/jointeffort/model/Sayer.class from WebappClassLoader

        delegate: true

        repositories:

          /WEB-INF/classes/

      ----------> Parent Classloader:

      org.apache.catalina.loader.StandardClassLoader@e24e2a

      (using getResourceAsStream() returned null)
           at org.jboss.seam.deployment.AbstractDeploymentHandler.getClassFile(AbstractDeploymentHandler.java:41)
           at org.jboss.seam.deployment.ComponentDeploymentHandler.handle(ComponentDeploymentHandler.java:57)
           at org.jboss.seam.deployment.DeploymentStrategy.handle(DeploymentStrategy.java:177)
           at org.jboss.seam.deployment.AbstractScanner.handleItem(AbstractScanner.java:30)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:141)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
           at org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
           at org.jboss.seam.deployment.URLScanner.scanDirectories(URLScanner.java:40)
           at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:107)
           at org.jboss.seam.init.Initialization.create(Initialization.java:113)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
           at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
           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.deployWAR(HostConfig.java:829)
           at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
           at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
           at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1215)
           at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
           at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
           at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
           at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
           at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
           at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
           at java.lang.Thread.run(Thread.java:619)