-2
INFO: validateJarFile(C:\Users\smart\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ konzernauto1\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 
Feb 10, 2014 12:40:20 PM org.apache.catalina.core.StandardContext filterStart 
SEVERE: Exception starting filter struts2 
java.lang.NoClassDefFoundError: com/opensymphony/xwork2/config/FileManagerProvider 
    at org.apache.struts2.dispatcher.Dispatcher.init_FileManager(Dispatcher.java:352) 
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:481) 
    at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193) 
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) 
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) 
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) 
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) 
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) 
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) 
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) 
    at java.util.concurrent.FutureTask.run(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 
Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.config.FileManagerProvider 
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) 
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) 
    ... 15 more 
+0

似乎缺少必需的類..「FileManagerProvider」。 – user2864740

+0

jar文件丟失,請確保你已經包含了正確版本的所有jar jar文件 – Babel

+0

我已經添加了所有必需的jar文件。更改了他們的版本並被檢查。仍然是相同的錯誤 – jaseem

回答

0

INFO消息簡單地告訴你,Tomcat沒有從你的應用程序加載Servlet API,因爲它存在兩次或者它不是正確的版本。 SEVERE消息告訴你,你的類路徑中缺少一個類(NoClassDefFoundError)。該類稱爲FileManagerProvider,包含在「xwork-core.jar」中。