Could not find action or result

h334stu 2009-06-05 03:07:07
SSH框架遇到的问题,
2009-6-5 3:05:48 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;E:\MyEclipse\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\tomcat\bin
2009-6-5 3:05:48 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-6-5 3:05:48 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 625 ms
2009-6-5 3:05:48 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-6-5 3:05:48 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2009-6-5 3:05:49 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2009-6-5 3:05:50 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
2009-6-5 3:05:50 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2009-6-5 3:05:50 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
2009-6-5 3:05:51 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-6-5 3:05:51 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-6-5 3:05:51 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31 config=null
2009-6-5 3:05:51 org.apache.catalina.startup.Catalina start
信息: Server startup in 2663 ms
2009-6-5 3:05:53 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find action or result
There is no Action mapped for namespace / and action name . - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:177)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:458)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
...全文
3442 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
micro19890 2012-09-01
  • 打赏
  • 举报
回复
你要确保,你修改后的文件被重新发表了
gqq1022 2012-08-16
  • 打赏
  • 举报
回复
我也碰到了这个问题,目前还没解决
三月暖阳 2009-09-12
  • 打赏
  • 举报
回复
刚遇到这个问题,把struts.xml的配置文件移到src目录下就解决了
xcj0722 2009-06-05
  • 打赏
  • 举报
回复
配置文件中 action name 寫錯了吧
xcj0722 2009-06-05
  • 打赏
  • 举报
回复
配置文件中 action name 寫錯了吧
cbynietg 2009-06-05
  • 打赏
  • 举报
回复
配置有问题.检查一下. 或者再试一下.
MavenTalk 2009-06-05
  • 打赏
  • 举报
回复
There is no Action mapped for namespace / and action name . - [unknown location]

配置有问题
ou_yangpengfei 2009-06-05
  • 打赏
  • 举报
回复
配置出错了
maya520 2009-06-05
  • 打赏
  • 举报
回复
检查struts-config.xml文件里是否有对应的Action
cjm123s 2009-06-05
  • 打赏
  • 举报
回复
你在页面的action name和struts.xml配置文件里面的action name名字不一样,看看是不是写错了
lvsh870228 2009-06-05
  • 打赏
  • 举报
回复
action名称不正确(不对应)或者return string 找不到或者jsp路径不对
SLOONG 2009-06-05
  • 打赏
  • 举报
回复
There is no Action mapped for namespace / and action name . - [unknown location]
配置出了错误,在命名空间内没有发现对应的action name
天边星斗 2009-06-05
  • 打赏
  • 举报
回复
缺少必要的系统配置
猿敲月下码 2009-06-05
  • 打赏
  • 举报
回复
在struts.xml文件里面有没写Action?写了的话对应的Action类文件有没建立?

67,515

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧