Announcement Announcement Module
Collapse
No announcement yet.
Error: Spring MVC & Maven & Tomcat 7 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error: Spring MVC & Maven & Tomcat 7

    Can you help me this Error !!!

    SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe ner
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at org.springframework.web.context.ContextLoader.<cli nit>(ContextLoader.java:146)
    at org.springframework.web.context.ContextLoaderListe ner.createContextLoader(ContextLoaderListener.java :53)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 44)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4723)
    at org.apache.catalina.core.StandardContext$1.call(St andardContext.java:5226)
    at org.apache.catalina.core.StandardContext$1.call(St andardContext.java:5221)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1676)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1521)
    ... 11 more

    Plz, dowload my Example
    http://www.mediafire.com/?9jdd1yveekk1atc

    Layout & Error
    http://www.mediafire.com/?0se8rsojkzo0gy3

    Please. help me

  • #2
    Please use [ code][/code ] tags when posting code, that way it remains readable ..

    Have you actually read the stack trace.

    Code:
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    Indicates you are missing a jar file, to be exact you are missing commons-logging. I suggest using something like maven/ant+ivy/gradle to manage your dependencies, saves you a lot of headaches...

    Comment


    • #3
      Thanks, i will try

      Comment

      Working...
      X