struts2 纯注解 却提示There is no Action mapped for namespace
2016-01-17 17:10
405 查看
1、看看struct2-convention-plugin-2.3.16.jar这个包是否已经加入
2、在struct。xml中没有启用纯注解的扫描,你可以指定路径启用注解扫码
<constant name="struts.convention.package.locators" value="action,actions,struts,struts2,funcs,api" />
2、在struct。xml中没有启用纯注解的扫描,你可以指定路径启用注解扫码
<constant name="struts.convention.package.locators" value="action,actions,struts,struts2,funcs,api" />
相关文章推荐
- cocos进入后台
- Android 笔记 Intent and Bundle day7
- MaxTemperature程序Mapper ClassNotFoundException
- android NDK :使用预编译第三方库
- ubuntu下配置Objective-C(2.0)学习…
- user_segments和user_objects
- user_segments和user_objects
- Android动画详解:
- android 命令行安装apk
- Android onTouch 多点触控实现图片移动缩放
- Android onTouch
- IOS开发OC 如何将导航栏左侧系统自动生成的返回按钮的文字去掉,只保留小于号"<"图案
- Android View 滚轮控件LoopView+自定义Dialog [时间地域选择器] Picker
- Android中删除Preference详解
- iOS App名称以及内容简繁体适配
- 斯坦福公开课:Developing IOS 8 App with Swift(1-3)心得体会
- Android 获取来电号码 + 悬浮框
- android shape的使用
- Swift ! ? 符号区别
- Unity3d个人笔记-5.脚本-7.脚本输入与控制