Announcement Announcement Module
Collapse
No announcement yet.
Probems updating from 1.1.2 to 1.2.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Probems updating from 1.1.2 to 1.2.1

    As in the title, I jsut updated a Roo 1.1.2 project to Roo 1.2.1.
    Now I cannot start the web app anymore: the error is
    Code:
    GRAVE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
    	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525)
    	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507)
    	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:662)
    22-mag-2012 17.41.28 org.apache.catalina.core.StandardContext listenerStart
    GRAVE: Skipped installing application listeners due to previous error(s)
    22-mag-2012 17.41.28 org.apache.catalina.core.StandardContext startInternal
    GRAVE: Error listenerStart
    22-mag-2012 17.41.28 org.apache.catalina.core.StandardContext startInternal
    GRAVE: Context [/webapp] startup failed due to previous errors
    Any hint?

    Many thanks,
    Stefano

  • #2
    Are you running the application server from Eclipse/STS ?
    In this case, clean Tomcat server and work directory.

    Comment


    • #3
      Yes I am runing a vFabric tc server from inside my Eclipse.
      I've tried as you suggested but it did'nt solve the problem.

      Stefano

      Comment


      • #4
        I think this is not a real error.
        Could be a Eclipse project misconfiguration.

        Try to start the server from system shell with:

        mvn clean tomcat:run

        if works, then with Eclipse project closed run:

        mvn eclipse:clean eclipse:eclipse

        Then open your project and start it.

        Comment


        • #5
          Solved

          Ops, I realized I forgot to reply!
          Thanks mmartinez, it worked (plus a project configuration update from inside the IDE)

          Best regards,
          Stefano

          Comment

          Working...
          X