1 Reply Latest reply on May 22, 2011 11:55 AM by Wolf-Dieter Fink

    Error during deploy

    imi imi Newbie

      hello

      i have a problem with jboss 5 when i run my application ( web dynamic project ) with framworks ( jsf , spring , hibernate ) , i can't resolve this error , if is there any person had a similar problem ??

       

      this is the log error

       

       

      12:45:18,293 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/D:/docs/Iheb/GL4/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/TP-JSF.war/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/docs/Iheb/GL4/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/TP-JSF.war/

          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

          at org.jboss.Main.boot(Main.java:209)

          at org.jboss.Main$1.run(Main.java:547)

          at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

          at java.lang.ClassLoader.findBootstrapClass(Native Method)

          at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Unknown Source)

          at org.jboss.classloader.plugins.loader.ClassLoaderToLoaderAdapter.loadClass(ClassLoaderToLoaderAdapter.java:172)

          at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)

          at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:258)

          at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:152)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:259)

          at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.getRelevantServlets(JAXWSDeployerHookPreJSE.java:121)

          at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.isWebServiceDeployment(JAXWSDeployerHookPreJSE.java:97)

          at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:65)

          at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          ... 18 more

      12:45:18,641 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console

      12:45:19,030 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfsfile:/D:/docs/Iheb/GL4/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/TP-JSF.war/" is in error due to the following reason(s): java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

       

       

      12:45:19,102 INFO  [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur http-localhost%2F127.0.0.1-8080