在线求解答!!!

问题描述

10:12:37,120ERROR[[/association]]StandardWrapper.Throwableorg.apache.velocity.tools.config.ConfigurationException:Couldn'tfindnecessarysupportingclassesfor:UnsupportedTool'errors'=>org.apache.velocity.tools.struts.ErrorsToolwith1properties[key-auto->errors;](java.lang.NoClassDefFoundError:org/apache/struts/action/ActionMessages)atorg.apache.velocity.tools.config.ToolConfiguration.validate(ToolConfiguration.java:356)atorg.apache.velocity.tools.config.CompoundConfiguration.validate(CompoundConfiguration.java:115)atorg.apache.velocity.tools.config.ToolboxConfiguration.validate(ToolboxConfiguration.java:108)atorg.apache.velocity.tools.config.CompoundConfiguration.validate(CompoundConfiguration.java:115)atorg.apache.velocity.tools.config.FactoryConfiguration.validate(FactoryConfiguration.java:232)atorg.apache.velocity.tools.ToolboxFactory.configure(ToolboxFactory.java:80)atorg.apache.velocity.tools.ToolManager.configure(ToolManager.java:90)atorg.apache.velocity.tools.view.ViewToolManager.configure(ViewToolManager.java:213)atorg.apache.velocity.tools.view.VelocityView.configure(VelocityView.java:508)atorg.apache.velocity.tools.view.VelocityView.init(VelocityView.java:313)atorg.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:213)atorg.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:195)atorg.apache.velocity.tools.view.servlet.VelocityViewServlet.getVelocityView(VelocityViewServlet.java:67)atorg.apache.velocity.tools.view.VelocityViewServlet.init(VelocityViewServlet.java:122)atorg.apache.velocity.tools.view.servlet.VelocityViewServlet.init(VelocityViewServlet.java:51)atorg.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)atorg.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)atorg.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:623)atorg.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)atorg.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)atcom.opensymphony.sitemesh.compatability.OldDecorator2NewDecorator.render(OldDecorator2NewDecorator.java:46)atcom.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:33)atcom.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atcom.dhgate.apsaras.internation.InternationalizationFilter.doFilter(InternationalizationFilter.java:45)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)atorg.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)atorg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)atorg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)atjava.lang.Thread.run(Thread.java:662)

解决方案

解决方案二:
java.lang.NoClassDefFoundError:org/apache/struts/action/ActionMessagesorg/apache/struts/action目录下的ActionMessages类未定义,看看是不是少包或者包冲突或者没有加载完全或者其它错误
解决方案三:
java.lang.NoClassDefFoundError:org/apache/struts/action/ActionMessages你用的structs的jar包版本是多少?跟你Jboss里面的版本不一致,在WEB-INF目录下新建jboss-web.xml文件,文件内容如下:<!DOCTYPEjboss-webPUBLIC"-//JBoss//DTDWebApplication5.0//EN""http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd"><jboss-web><!--Forloadclassindependently用来配置JBoss的classloader,避免class加载冲突--><class-loadingjava2ClassLoadingCompliance='true'><loader-repository>com.example:archive=test.war<loader-repository-config>java2ParentDelegaton=true</loader-repository-config></loader-repository></class-loading></jboss-web>这样在加载应用时,先加载应用中lib下的Jar注意NoClassDefFoundError跟ClassNotFound是完全不同的异常,前者是有java类但是版本冲突,后者是jar包缺失

时间: 2024-09-21 11:38:11

在线求解答!!!的相关文章

打不开ubuntu服务器端的mysql,在线求解答!

问题描述 打不开ubuntu服务器端的mysql,在线求解答! 查询状态的时候打印如下 xxx@r10f17332:~$ service mysql status mysql stop/waiting 启动的时候打印如下 xxx@r10f17332:~$ service mysql start start: Rejected send message, 1 matched rules; type="method_call", sender=":1.114" (uid

ASP.NET 中 table的问题,在线求解答。

问题描述 我有一个页面,像这样<%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="temp.aspx.cs"Inherits="Lib.Web.CompetionAndObservingArea.temp"%><linkhref="/css/style.css"rel="stylesheet"type="

联通和电信访问不到,东方宽带用户的服务器,在线求解答,急急急!

问题描述 公司用的是东方宽带,之前用花生壳和金万维是可以访问公司的服务器,但是现在联通和电信访问不到服务器.好像说东方宽带对外是一个IP,而整个东方宽带就像一个大局域网,所以访问有问题.求帮助,电信和联通的用户怎么才能访问到服务器呢?求高手,急急急!

app-android_studio xmln自定义不识别问题~ 求解答

问题描述 android_studio xmln自定义不识别问题~ 求解答 在最布局中,已定义: xmlns:app="http://schemas.android.com/apk/res-auto"(自动识别) 在控件打app就是出不来属性 gradle里面的dependencies中已经依赖过:compile 'com.zhy:percent-support-extends:1.0.1'这是我需要的控件 Rebuild和CloseProject都已经试过,没用!! 在线求解答 解决

mysql做数据库cpu占用率竟达300多,在线求大神解答

问题描述 mysql做数据库cpu占用率竟达300多,在线求大神解答 话不多说,直接上图 解决方案 http://blog.csdn.net/yhawaii/article/details/7246008 用一些工具先看下问题在哪里 解决方案二: 为何这么叼 开启了隐藏功能么 解决方案三: 没人知道咋回事么,很急的啊.快来大神帮我解答吧

mysql 存储过程 1242-mysql 存储过程 在线急求解答!!!

问题描述 mysql 存储过程 在线急求解答!!! BEGIN /*起始时间|上车时间*/ DECLARE startime varchar(20); /*结束时间|下车时间*/ DECLARE endtime varchar(20) ; /*上车站号*/ DECLARE upnum int(11) ; /*循环判断条件*/ DECLARE b varchar(10); /*避免死循环,设置循环次数*/ DECLARE i int(11) ; /*当前站号*/ DECLARE starnum i

关联-在线求大神解答,急SQL 子查询

问题描述 在线求大神解答,急SQL 子查询 我现在有两张表,表1和表2,表2里面有一个权限字段,权限1,权限2.权限3.我现在要用权限1的id 查出权限2,3和权限1有关联的ID.然后把这查出来的ID作为条件,在表1里面去查. select * from dbo.Ask_info where login_ID not in (select login_ID from dbo.Login where teacher_Contact in (select login_ID from dbo.Logi

python 爬虫-爬虫 遇到重定向问题,求解答。在线

问题描述 爬虫 遇到重定向问题,求解答.在线 解决方案 重定向收到后,查看返回的302时,解析返回的内容,获取到重定向以后的URL.然后爬虫访问新的URL

求大神解答 在线等-快来大神 求解答.................

问题描述 快来大神 求解答................. HTTP Status 500 - Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: type Exception report message Request processing failed; nested exception is org.springframework.