/ / Interceptor-Klasse org.apache.struts2.interceptor.debugging.DebuggingInterceptor - struts2

Interceptor-Klasse org.apache.struts2.interceptor.debugging.DebuggingInterceptor - struts2

Ich erhalte die folgende Fehlermeldung, wenn ich versuche, eine einfache Anwendung mit struts2 auszuführen. Können Sie mir die Lösung nennen?

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).

Antworten:

1 für die Antwort № 1

Versuchen Sie, struts2-config-browser-plugin.i zu importieren. Ich weiß, dass dies ein etwas alter Thread ist, aber das hat bei mir funktioniert. Ich konnte die Antwort nirgendwo im Internet finden.


0 für die Antwort № 2

Überprüfen Sie Zeile 76, Zeichen 115 von Ihnen

struts-default.xml

Ein Glas scheint zu fehlen