当前位置: 代码迷 >> Java Web开发 >> SSH 整合奇葩有关问题
  详细解决方案

SSH 整合奇葩有关问题

热度:877   发布时间:2016-04-13 22:41:14.0
SSH 整合奇葩问题
log4j 控制台输出:
18:00:40,153 DEBUG ConfigurationManager:68 - Checking ConfigurationProviders for reload.
18:00:40,154 DEBUG InstantiatingNullHandler:68 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@18c7ceb], property=struts]
18:00:40,154 DEBUG ConfigurationManager:68 - Checking ConfigurationProviders for reload.
18:00:40,155 DEBUG InstantiatingNullHandler:68 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@18c7ceb], property=struts]
18:00:40,155 DEBUG ConfigurationManager:68 - Checking ConfigurationProviders for reload.
18:00:40,156 DEBUG DefaultActionProxy:68 - Creating an DefaultActionProxy for namespace / and action name photoSys
18:00:40,157 DEBUG DefaultListableBeanFactory:430 - Creating instance of bean 'photoSys'
18:00:40,157 DEBUG DefaultListableBeanFactory:242 - Returning cached instance of singleton bean 'generalDao'
18:00:40,157 DEBUG DefaultListableBeanFactory:458 - Finished creating instance of bean 'photoSys'
18:00:40,157 DEBUG I18nInterceptor:68 - intercept '//photoSys' { 
18:00:40,158 DEBUG I18nInterceptor:68 - applied invocation context locale=zh_CN
18:00:40,158 DEBUG I18nInterceptor:68 - before Locale=zh_CN
18:00:40,280 DEBUG InstantiatingNullHandler:68 - Entering nullPropertyValue [target=[com.zy.home.action.PhotoSysAction@e33a4d, com.opensymphony.xwork2.DefaultTextProvider@18c7ceb], property=struts]
18:00:40,310 DEBUG LocalizedTextUtil:68 - Resource bundles reloaded
18:00:40,311 DEBUG FileUploadInterceptor:68 - Bypassing //photoSys
18:00:40,311 DEBUG StaticParametersInterceptor:68 - Setting static parameters {}
18:00:40,311 DEBUG ParametersInterceptor:68 - Setting params NONE
18:00:40,311 DEBUG ParametersInterceptor:68 - Setting params 
18:00:40,313 DEBUG AnnotationValidationInterceptor:68 - Validating //photoSys with method photoSys.
18:00:40,389 DEBUG ValidationInterceptor:68 - Invoking validate() on action com.zy.home.action.PhotoSysAction@e33a4d
18:00:40,390 DEBUG PrefixMethodInvocationUtil:68 - cannot find method [validatePhotoSys] in action [com.zy.home.action.PhotoSysAction@e33a4d]
18:00:40,390 DEBUG PrefixMethodInvocationUtil:68 - cannot find method [validateDoPhotoSys] in action [com.zy.home.action.PhotoSysAction@e33a4d]
18:00:40,390 DEBUG DefaultActionInvocation:68 - Executing action method = null
18:00:40,391 DEBUG DefaultListableBeanFactory:430 - Creating instance of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult'
18:00:40,391 DEBUG DefaultListableBeanFactory:1114 - Not autowiring property 'urlHelper' of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult' by name: no matching bean found
18:00:40,391 DEBUG DefaultListableBeanFactory:458 - Finished creating instance of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult'
18:00:40,392 DEBUG ServletDispatcherResult:68 - Forwarding to location /photoSys/index.jsp
18:00:40,392 DEBUG InstantiatingNullHandler:68 - Entering nullPropertyValue [target=[com.zy.home.action.PhotoSysAction@e33a4d, com.opensymphony.xwork2.DefaultTextProvider@18c7ceb], property=struts]
18:00:40,393 DEBUG InstantiatingNullHandler:68 - Entering nullPropertyValue [target=[com.zy.home.action.PhotoSysAction@e33a4d, com.opensymphony.xwork2.DefaultTextProvider@18c7ceb], property=org]
18:00:40,400 DEBUG I18nInterceptor:68 - after Locale=zh_CN
18:00:40,400 DEBUG I18nInterceptor:68 - intercept } 
18:00:40,460 DEBUG ConfigurationManager:68 - Checking ConfigurationProviders for reload.


出现的现象如下:
在我本机 控制台即时输出以上内容但不影响正常跳转和解析jsp
在阿里服务器上就没办法跳转。Windows service 2003 
本机软件版本:tomcat 6.0 jdk 6.0
阿里服务器:tomcat 6.0 jdk 6.0
网上搜了好多资料,好多说是配置文件的问题,都没有写上具体的解决方法。
还希望不吝赐教,
------解决思路----------------------
这些调试信息并没有抛出什么错误,因此无法确定症结所在。有关SSH整合,网上有很多资料,可以搜索一下。同时附参考资料与源码一份
相关参考资料,请移步这里
  相关解决方案