java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t

MuleSoft JIRA | Daniel Zapata | 6 years ago
  1. 0

    The geomail example does not run. When you run 'mvn tomcat:run', you get the following stack trace: [INFO] Creating Tomcat server configuration at C:\mule-standalone-3.0.0-RC1\exam ples\geomail\target\tomcat Aug 16, 2010 4:55:12 PM org.apache.catalina.startup.Embedded start INFO: Starting tomcat server Aug 16, 2010 4:55:12 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 Aug 16, 2010 4:55:13 PM org.apache.catalina.core.StandardContext addApplicationL istener INFO: The listener "org.mule.config.builders.MuleXmlBuilderContextListener" is a lready configured for this context. The duplicate definition has been ignored. Aug 16, 2010 4:55:13 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleResources as unavailable Aug 16, 2010 4:55:13 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false repositories: ----------> Parent Classloader: org.codehaus.classworlds.RealmClassLoader@910040 org.mule.transport.ajax.MuleJarResourcesServlet java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 4:55:13 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 4:55:13 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8888 Aug 16, 2010 4:55:13 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8888

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t
  2. 0

    Steps to reproduce: * Run mvn gpswalker example fails on startup with the following error: Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext addApplicationL istener INFO: The listener "org.mule.config.builders.MuleXmlBuilderContextListener" is a lready configured for this context. The duplicate definition has been ignored. Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleServlet as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassCastException: org.mule.transport.servlet.MuleReceiverServlet can not be cast to javax.servlet.Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet ajax as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassCastException: org.mule.transport.ajax.container.MuleAjaxServlet cannot be cast to javax.servlet.Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleResources as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false repositories: ----------> Parent Classloader: org.codehaus.classworlds.RealmClassLoader@1922221 org.mule.transport.ajax.MuleJarResourcesServlet java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8888 Aug 16, 2010 5:05:34 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8888

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t
  3. 0

    The geomail example does not run. When you run 'mvn tomcat:run', you get the following stack trace: [INFO] Creating Tomcat server configuration at C:\mule-standalone-3.0.0-RC1\exam ples\geomail\target\tomcat Aug 16, 2010 4:55:12 PM org.apache.catalina.startup.Embedded start INFO: Starting tomcat server Aug 16, 2010 4:55:12 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 Aug 16, 2010 4:55:13 PM org.apache.catalina.core.StandardContext addApplicationL istener INFO: The listener "org.mule.config.builders.MuleXmlBuilderContextListener" is a lready configured for this context. The duplicate definition has been ignored. Aug 16, 2010 4:55:13 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleResources as unavailable Aug 16, 2010 4:55:13 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false repositories: ----------> Parent Classloader: org.codehaus.classworlds.RealmClassLoader@910040 org.mule.transport.ajax.MuleJarResourcesServlet java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 4:55:13 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 4:55:13 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8888 Aug 16, 2010 4:55:13 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8888

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce: * Run mvn gpswalker example fails on startup with the following error: Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext addApplicationL istener INFO: The listener "org.mule.config.builders.MuleXmlBuilderContextListener" is a lready configured for this context. The duplicate definition has been ignored. Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleServlet as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassCastException: org.mule.transport.servlet.MuleReceiverServlet can not be cast to javax.servlet.Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet ajax as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassCastException: org.mule.transport.ajax.container.MuleAjaxServlet cannot be cast to javax.servlet.Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet muleResources as unavailable Aug 16, 2010 5:05:34 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error loading WebappClassLoader delegate: false repositories: ----------> Parent Classloader: org.codehaus.classworlds.RealmClassLoader@1922221 org.mule.transport.ajax.MuleJarResourcesServlet java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet / threw load() exception java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1206) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper. java:1083) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98 1) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex t.java:4058) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 364) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo jo.java:385) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java :144) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.main(MavenCli.java:290) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Aug 16, 2010 5:05:34 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8888 Aug 16, 2010 5:05:34 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8888

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.ClassNotFoundException: org.mule.transport.ajax.MuleJarResourcesServle t
  6. 0

    Deploying Appfuse Spring MVC project to Tomcat direcly from STS - ERROR

    Stack Overflow | 3 years ago | Diode
    java.lang.ClassNotFoundException: com.webapp.listener.StartupListener

    1 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.ClassNotFoundException

      org.mule.transport.ajax.MuleJarResourcesServle t

      at org.apache.catalina.loader.WebappClassLoader.loadClass()
    2. Glassfish Core
      Embedded.start
      1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
      2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
      3. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083)
      4. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      5. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
      6. org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
      7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      8. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      9. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      10. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      11. org.apache.catalina.startup.Embedded.start(Embedded.java:825)
      11 frames
    3. org.codehaus.mojo
      AbstractRunMojo.execute
      1. org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:385)
      2. org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:144)
      2 frames
    4. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:454)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
      8 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames