SSH 报 There is no result type defined for type 'json' mapped with name 'success'. 错
来源:互联网 发布:11月编程语言排行 编辑:程序博客网 时间:2024/04/27 14:39
ssh报错:
SEVERE: Exception starting filter struts2
Unable to load configuration. - action - file:/D:/Program%20Files%20(x86)/apache-tomcat-7.0.42/webapps/project1/WEB-INF/classes/struts-user.xml:7:58
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: Unable to load configuration. - action - file:/D:/Program%20Files%20(x86)/apache-tomcat-7.0.42/webapps/project1/WEB-INF/classes/struts-user.xml:7:58
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
... 15 more
Caused by: Error building results for action login in namespace /user - action - file:/D:/Program%20Files%20(x86)/apache-tomcat-7.0.42/webapps/project1/WEB-INF/classes/struts-user.xml:7:58
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:437)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:250)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
... 17 more
Caused by: There is no result type defined for type 'json' mapped with name 'success'. Did you mean 'json'? - result - file:/D:/Program%20Files%20(x86)/apache-tomcat-7.0.42/webapps/project1/WEB-INF/classes/struts-user.xml:8:24
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:721)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:435)
... 22 more
这个错误是因为struts中用了json而没导入struts-json的插件包 ,导入即可.
- SSH 报 There is no result type defined for type 'json' mapped with name 'success'. 错
- struts中使用json,报错There is no result type defined for type 'json' mapped with name 'success'.
- Struts2 错误:There is no result type defined for type 'json' mapped with name 'success'.
- There is no result type defined for type 'json' mapped with name 'success'.
- There is no result type defined for type 'json' mapped with name 'success'.
- There is no result type defined for type 'json' mapped with name 'success'.
- There is no result type defined for type 'json' mapped with name 'success'.
- SSH搭建遇到的问题---There is no result type defined for type 'json' mapped with name 'success'.
- Caused by: There is no result type defined for type 'json' mapped with name 'success'. Did you mean
- Caused by: There is no result type defined for type 'json' mapped with name 'rebback'. Did you mean
- struts2 配置错误There is no result type defined for type 'json'
- struts2 配置错误There is no result type defined for type 'json'
- Struts2 使用ajax访问action,返回json格式数据,提示error:There is no result type defined for type 'json'
- no result type defined for type 'dispatch'mapped
- 错误积累(二) There is no result type defined 错误
- here is no result type defined for type 'plaintext'解决
- HTTP Status 404 - There is no Action mapped for namespace /jsp and action name login. type Status re
- 报错There is no mapped Action name xxx解决
- c#数据格式化
- ARM926的Linux工具链的制作和测试
- 全排列(百度迅雷笔试题)
- Android仿QQ主界面-------完善篇
- ps H -eo user,pid,ppid,tid,time,%cpu,cmd --sort=%cpu
- SSH 报 There is no result type defined for type 'json' mapped with name 'success'. 错
- MPEG-2 PS流
- ThreadLocal的内部机制
- How to Solve Key_read Failed Error in Git Push
- 利用POI将word转换成html实现在线阅读
- Nginx配置文件详细说明
- Oracle 备份与还原工具 bat
- RMAN 还原与恢复
- dynamic_cast < type-id > ( expression )