![](https://img-blog.csdnimg.cn/20200322182304726.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Struts2
Apache Struts 2最初被称为WebWork 2,它是一个简洁的、可扩展的框架,可用于创建企业级Java web应用程序。设计这个框架是为了从构建、部署、到应用程序维护方面来简化整个开发周期。
胶泥座人
程序员永远不能说不!!!
展开
-
404 (There is no Action mapped for namespace [/] and action name [VideoAction!getSourceList] associa
<package name="video" extends="cis-default" namespace="/"> <action name="Video!*" method="{1}" class="com.bluewit.cis.action.videos.MiaVideoAction"> <result name="success">/bro...原创 2020-03-22 18:08:11 · 193 阅读 · 0 评论 -
Exception occurred during processing request: null异常解决办法
在使用struts2框架开发的时候,前端发送.action请求后,控制台报以下异常,2018-07-25 19:48:18,911 [http-9001-Processor7] ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler(42) - Exception occurred during processing ...原创 2018-07-25 22:56:51 · 13345 阅读 · 3 评论 -
错误报告页面
错误报告页面 Unable to instantiate Action, com.founder.cis.action.zxb.ZxbMobileFolderAction, defined for 'ZxbMobileFolder' in namespace '/'Failed to convert property value of type [com.sun.proxy.$Prox...原创 2018-07-29 23:37:34 · 437 阅读 · 0 评论 -
There is no statement named MobileSiteFolder.getMobileSiteFolderList in this SqlMap异常解决办法
使用ibatis和struts2框架开发项目过程中遇到如下异常:2018-07-26 12:48:05,888 [http-9001-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler(42) - Exception occurred during processing request: T...原创 2018-07-26 22:43:26 · 379 阅读 · 0 评论 -
如何使项目运行时在控制台打印出sql语句
使用struts2+mybatis进行项目开发时,想要在debug模式运行时在控制台打印sql语句,只需打开配置文件log4j.properties然后设置如下参数中的红色部分为ERROR即可log4j.logger.org.springframework.jdbc.support=INFOlog4j.logger.org.springframework.scheduling=INF...原创 2018-10-08 17:07:18 · 15074 阅读 · 2 评论 -
异常[http-8092-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcher
在使用struts2的过程中,启动项目后控制台报错[http-8092-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcher页面报错空指针异常,如下图:原因:配置文件SqlMapConfig.xml和applicationContext-dao.xml中忘记配置解决办法:检查上述配置文件中遗漏的的...原创 2019-08-06 23:13:22 · 621 阅读 · 0 评论