关于 struts2 Unable to load configuration.
来源:互联网 发布:真实二手房源 知乎 编辑:程序博客网 时间:2024/05/17 23:46
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd"><struts><package name="student" namespace="/student" extends="struts-default,json-default"><action name="student_*" class="cn.edu.nwsuaf.action.StudentAction"method="{1}"><result name="init">/pages/student/student-edit.jsp</result><result name="update">/pages/student/student-list.jsp</result><result name="find">/pages/student/student-list.jsp</result><result name="delete">/pages/student/student-list.jsp</result><result name="add" type="json"><param name="root">studentAdd</param></result></action></package></struts>
因为没有继承json-default,导致再加入result type="json"属性时,启动tomcat控制台报错:Exception starting filter struts2 Unable to load configuration. - action
解决方法:
package extends要继承json-default
阅读全文
0 0
- 关于 struts2 Unable to load configuration.
- 关于Struts2项目运行报错Unable to load configuration
- Struts2 错误Unable to load configuration. - action
- Struts2.1.6 - Unable to load configuration
- struts2启动错误Unable to load configuration.
- Unable to load configuration
- Unable to load configuration
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- Unable to load configuration.
- http请求
- 【Android学习】自定义View的实现----以圆形图片控件为例
- 小飞鱼二开 使用jwt TOKEN方式单点登录开发(代码)
- spark的rdd.saveastextfile可以追加写入hdfs吗
- tomcat异常:Illegal access: this web application instance has been stopped already. Could not load ...
- 关于 struts2 Unable to load configuration.
- 用U盘安装Ubuntu系统,但不知道如何设置U盘启动
- Oracle索引与视图的创建与应用
- django 中验证码登录验证的实现
- 自学qt之 事件
- 【面试题20】顺时针打印矩阵
- 最长公共子序列问题
- Centos7.3.1611安装mysql5.7.18 rpm教程
- POJ 2492 A Bug's Life 带权并查集!