Eclipse 配置Struts2,创建一个空项目,报错There is no action ....
来源:互联网 发布:大数据平台下数据仓库 编辑:程序博客网 时间:2024/04/27 14:51
以前使用MyEclipse创建Struts2项目时,没有出现过这个问题,许久没用过Struts2了,然后在Eclipse上创建Struts2的web项目,按着一般的配置步骤来做,最后点击运行,结果不显示项目该要显示的首页,反而显示的是一堆的错误:“There is no action.....“,霎时间感觉好坑爹啊,怎么会这样的呢?照理说是按照应有的步骤一步步来配置了的,想想都不可能,很是纠结。
后面发现MyEclipse生成字节码文件的默认目录和Eclipse生成字节码的默认目录居然是不一样的,MyEclipse字节码生成的文件所在的目录是WEB-INF下的classes,而Eclipse字节码生成的文件所在目录却是根目录下的build,因而,只需把Eclipse的Web项目字节码目录修改为”WebContent\WEB-INF\classes“即可,点击运行,OK啦!
0 0
- Eclipse 配置Struts2,创建一个空项目,报错There is no action ....
- 配置Struts2动态Action报错404:There is no Action mapped for namespace [/]
- eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name...
- Struts2报错There is no Action mapped for action name XXXX
- struts2报错,There is no Action mapped for namespace [/] and action name
- eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name [Login] associated wi
- eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name [Login] associated w
- eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name [Login] associated w
- Struts2中关于"There is no Action mapped for namespace / and action name"的报错的总结
- 报错There is no mapped Action name xxx解决
- eclipse中配置struts2出现eclipse中配置struts2出现There is no Action mapped for namespace [/] and action name [L
- eclipse 部署struts2 There is no Action mapped for namespace / and action name
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- IDEA配置Struts2出现There is no Action mapped for namespace [/] and action name [login]
- struts2 框架0配置,错误信息:There is no Action mapped for namespace
- ssi整合action采用注解方式,运行报错:There is no Action mapped for namespace [/]
- Android中控制台报错,There is no Action mapped for namespace/and action name ...
- 报错 There is no Action mapped for namespace / and action name upload/.
- extjs4 examplesshared 里头的弹窗提示
- NSString的内存管理
- Eclipse意外关闭之后无法启动
- 怎么给网页中的元素赋值JSON
- CSS的ul和li实现横向排列和去掉li的点
- Eclipse 配置Struts2,创建一个空项目,报错There is no action ....
- 号嚎愿延诼淮俳忍倭颗
- 前端js中解析XML文件(一)
- Android网络编程概述
- 用小优启动u盘启动盘制作工具v7.0安装winxp
- Scripts:检查ASMM的各个动态组件信息asmm_components.sql
- 把金额转换成汉字大写金额的Java代码
- Linux下运行命令时CTRL Z的作用
- 第03章-VTK系统概述(2)