java.lang.ClassNotFoundException: org.apache.struts.util.MessageResources
atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)...
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:120)
at org.apache.jsp.catalog.Main_jsp._jspx_meth_html_005fform_005f0(Main_jsp.java:353)
at org.apache.jsp.catalog.Main_jsp._jspService(Main_jsp.java:130)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at cc
at org.terceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterIn.inte
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.je(DefaultActionInvocation.java:246)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at org.apache.struts2.
a 展开
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:120)
at org.apache.jsp.catalog.Main_jsp._jspx_meth_html_005fform_005f0(Main_jsp.java:353)
at org.apache.jsp.catalog.Main_jsp._jspService(Main_jsp.java:130)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at cc
at org.terceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterIn.inte
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.je(DefaultActionInvocation.java:246)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at org.apache.struts2.
a 展开
展开全部
没发现org.apache.struts.util.MessageResources 这个类。
看是否导入包。
看是否导入包。
更多追问追答
追问
你好,struts2我刚接触,不懂啊,我按照struts2-blank。war解压包里lib文件夹中的jar文件导入逗我的项目,请问还需要别的包吗?您可以具体告诉我该导入哪个包吗?谢谢了!
追答
是自己写的项目。还是导入的?
org.apache.struts.util.MessageResources 这个类在包 struts-core 包里。(可能有版本区别)
你看看里的包里有这个吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询