Announcement Announcement Module
Collapse
No announcement yet.
Problem start jboss as6 with spring 2.5 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem start jboss as6 with spring 2.5

    Problem at startup the jboss as 6, localhost does not occur in the error:
    Can someone help me?

    11:14:44,868 ERROR [[/]] StandardWrapper.Throwable: java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApp licationContext.setConfigLocation(Ljava/lang/StringV
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:3 98) [:2.5.6.SEC02]
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:316 ) [:2.5.6.SEC02]
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:282) [:2.5.6.SEC02]
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:126) [:2.5.6.SEC02]
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:242) [:1.0.0.Final]
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1208) [:6.1.0.Final]
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:1108) [:6.1.0.Final]
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3628) [:6.1.0.Final]
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:3851) [:6.1.0.Final]
    at org.jboss.web.tomcat.service.deployers.TomcatDeplo yment.performDeployInternal(TomcatDeployment.java: 294) [:6.1.0.Final]
    at org.jboss.web.tomcat.service.deployers.TomcatDeplo yment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final]
    at org.jboss.web.deployers.AbstractWarDeployment.star t(AbstractWarDeployment.java:476) [:6.1.0.Final]
    at org.jboss.web.deployers.WebModule.startModule(WebM odule.java:118) [:6.1.0.Final]
    at org.jboss.web.deployers.WebModule.start(WebModule. java:95) [:6.1.0.Final]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) [:1.6.0_21]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) [:1.6.0_21]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) [:1.6.0_21]
    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:157) [:6.0.0.GA]
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:96) [:6.0.0.GA]
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:88) [:6.0.0.GA]
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:271) [:6.0.0.GA]
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:670) [:6.0.0.GA]
    at org.jboss.system.microcontainer.ServiceProxy.invok e(ServiceProxy.java:206) [:2.2.0.SP2]
    at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycle Action.installAction(StartStopLifecycleAction.java :53) [:2.2.0.SP2]
    at org.jboss.system.microcontainer.StartStopLifecycle Action.installAction(StartStopLifecycleAction.java :41) [:2.2.0.SP2]
    at org.jboss.dependency.plugins.action.SimpleControll erContextAction.simpleInstallAction(SimpleControll erContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.action.AccessControll erContextAction.install(AccessControllerContextAct ion.java:71) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractControllerCon textActions.install(AbstractControllerContextActio ns.java:51) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractControllerCon text.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.system.microcontainer.ServiceControllerC ontext.install(ServiceControllerContext.java:301) [:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in stall(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ex ecuteOrIncrementStateDirectly(AbstractController.j ava:1322) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.system.ServiceController.doChange(Servic eController.java:671) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)]
    at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:443) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)]
    at org.jboss.system.deployers.ServiceDeployer.start(S erviceDeployer.java:189) [:6.1.0.Final]
    at org.jboss.system.deployers.ServiceDeployer.deploy( ServiceDeployer.java:102) [:6.1.0.Final]
    at org.jboss.system.deployers.ServiceDeployer.deploy( ServiceDeployer.java:49) [:6.1.0.Final]
    at org.jboss.deployers.spi.deployer.helpers.AbstractS impleRealDeployer.internalDeploy(AbstractSimpleRea lDeployer.java:63) [:2.2.2.GA]
    at org.jboss.deployers.spi.deployer.helpers.AbstractR ealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployerWrap per.deploy(DeployerWrapper.java:179) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.install(DeployersImpl.java:1491) [:2.2.2.GA]
    at org.jboss.dependency.plugins.AbstractControllerCon text.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in stall(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ex ecuteOrIncrementStateDirectly(AbstractController.j ava:1322) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.change(DeployersImpl.java:1983) [:2.2.2.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImp l.process(DeployersImpl.java:1076) [:2.2.2.GA]
    at org.jboss.deployers.plugins.main.MainDeployerImpl. process(MainDeployerImpl.java:679) [:2.2.2.GA]
    at org.jboss.system.server.profileservice.deployers.M ainDeployerPlugin.process(MainDeployerPlugin.java: 106) [:6.1.0.Final]
    at org.jboss.profileservice.dependency.ProfileControl lerContext$DelegateDeployer.process(ProfileControl lerContext.java:143) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileDeployA ction.deploy(ProfileDeployAction.java:151) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileDeployA ction.installActionInternal(ProfileDeployAction.ja va:94) [:0.2.2]
    at org.jboss.kernel.plugins.dependency.InstallsAwareA ction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]
    at org.jboss.kernel.plugins.dependency.InstallsAwareA ction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.action.SimpleControll erContextAction.simpleInstallAction(SimpleControll erContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.action.AccessControll erContextAction.install(AccessControllerContextAct ion.java:71) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractControllerCon textActions.install(AbstractControllerContextActio ns.java:51) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractControllerCon text.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in stall(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.in crementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ex ecuteOrIncrementStateDirectly(AbstractController.j ava:1322) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.re solveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.dependency.plugins.AbstractController.ch ange(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
    at org.jboss.profileservice.dependency.ProfileActivat ionWrapper$BasicProfileActivation.start(ProfileAct ivationWrapper.java:190) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivat ionWrapper.start(ProfileActivationWrapper.java:87)

  • #2
    Please use [ code][/code ] tags when posting stack traces keeps them readable.

    Also this question has been answered before you have either a class loading problem (spring in your web application and somewhere else on the class path or with jboss it could be different applications) or you are mixing spring versions.

    Comment


    • #3
      First sorry my english, I'm using Spring 2.5 and Snowdrop 2.0.2 for spring 2.5, I reviewed all the libraries.

      but when I try to run the web server without eclipse I get this error

      will be that I'm missing in the configuration of snowdrop?

      Comment


      • #4
        I found the solution:
        http://forum.springsource.org/showth...644#post198644

        I was using spring-framework-2.5.6, I had to change to spring-framework-2.5-rc2.

        Comment


        • #5
          That is not a solution... Reverting to an older non-final version..... In my book not a solution.

          Comment

          Working...
          X