0
當我嘗試運行使用struts2的簡單應用程序時,出現以下錯誤。你能告訴我解決方案嗎?攔截器類org.apache.struts2.interceptor.debugging.DebuggingInterceptor
Dec 22, 2010 1:50:47 PM com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
WARNING: Unable to load config class org.apache.struts2.interceptor.debugging.DebuggingInterceptor at interceptor - jar:file:/E:/Eclipseworkspace/MyTestJava/WebRoot/WEB-INF/lib/struts2-core-2.0.9.jar!/struts-default.xml:76:115 probably due to a missing jar, which might be fine if you never plan to use the debugging interceptor
Dec 22, 2010 1:50:47 PM com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
SEVERE: Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.interceptor.debugging.DebuggingInterceptor - interceptor - jar:file:/E:/Eclipseworkspace/MyTestJava/WebRoot/WEB-INF/lib/struts2-core-2.0.9.jar!/struts-default.xml:76:115
at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:78)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:57)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:905)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:743)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:756)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:777)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:410)
Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=org.apache.struts2.views.freemarker.FreemarkerManager, name='default'] in public void org.apache.struts2.interceptor.debugging.DebuggingInterceptor.setFreemarkerManager(org.apache.struts2.views.freemarker.FreemarkerManager).
我放了幾乎所有的罐子,我用於我以前的項目 – jayavardhan 2010-12-22 10:09:57