Struts2和Spring2結合時報的一個錯

wind13發表於2007-07-14
試著結合這兩個框架,但一直不順,現在報這個錯:

2007-7-14 12:58:30 com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
警告: Unable to load config class org.apache.struts2.interceptor.debugging.DebuggingInterceptor at interceptor - jar:file:/D:/EclipseProject/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/Game/WEB-INF/lib/struts2-core-2.0.8.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
2007-7-14 12:58:30 com.opensymphony.xwork2.config.providers.InterceptorBuilder constructInterceptorReference
嚴重: Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.interceptor.debugging.DebuggingInterceptor - interceptor - jar:file:/D:/EclipseProject/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/Game/WEB-INF/lib/struts2-core-2.0.8.jar!/struts-default.xml:76:115
	... 31 more
Caused by: 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).
2007-7-14 12:58:30 org.apache.catalina.core.StandardContext start
嚴重: Error filterStart
2007-7-14 12:58:30 org.apache.catalina.core.StandardContext start
嚴重: Context [/Game] startup failed due to previous errors
2007-7-14 12:58:30 org.apache.catalina.core.ApplicationContext log
資訊: Find registry server-registry.xml at classpath resource
2007-7-14 12:58:31 org.apache.catalina.startup.Catalina start
資訊: Server startup in 8312 ms
<p class="indent">


找了很多地方,沒有找到答案,鬱悶中……
好象就是Debug注入的一個問題,又好象是Struts2包裡面的問題,不知道如何解決。
誰知道提示一下,感激不盡~~

相關文章