SSH整合的问题,控制台没报错,但打开浏览器,提交后,报出了下面的异常.
HTTPStatus500------------------------------------------------------------------------...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\Apache Software Foundation\Tomcat 6.0\bin\src\applicationContext.xml]; nested exception is java.io.FileNotFoundException: src\applicationContext.xml (系统找不到指定的路径。)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
....
然后,在控制台打印了下面的异常:
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=org]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Creating an DefaultActionProxy for namespace / and action name UserAction
DEBUG - intercept '//UserAction' {
DEBUG - before Locale=zh_CN
DEBUG - Entering nullPropertyValue [target=[action.login@1c01def, com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Bypassing //UserAction
DEBUG - Setting static parameters {}
DEBUG - Setting params NONE
DEBUG - Setting params password => [ ojpj ] user => [ ytfcdyt ]
DEBUG - Property: password
DEBUG - Class: action.login
DEBUG - converter is null for property password. Mapping size: 0
DEBUG - field-level type converter for property [password] = none found
DEBUG - global-level type converter for property [password] = none found
DEBUG - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@6ea2c]
DEBUG - Property: user
DEBUG - Class: action.login
DEBUG - field-level type converter for property [user] = none found
DEBUG - global-level type converter for property [user] = none found
DEBUG - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@6ea2c]
DEBUG - Validating //UserAction with method execute.
DEBUG - Invoking validate() on action action.login@1c01def
DEBUG - cannot find method [validateExecute] in action [action.login@1c01def]
DEBUG - cannot find method [validateDoExecute] in action [action.login@1c01def]
DEBUG - Executing action method = null
INFO - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@323c51: startup date [Mon Dec 20 11:51:44 CST 2010]; root of context hierarchy
INFO - Loading XML bean definitions from file [D:\Apache Software Foundation\Tomcat 6.0\bin\applicationContext.xml]
高手给指点一下吧,谢谢 展开
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\Apache Software Foundation\Tomcat 6.0\bin\src\applicationContext.xml]; nested exception is java.io.FileNotFoundException: src\applicationContext.xml (系统找不到指定的路径。)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
....
然后,在控制台打印了下面的异常:
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=org]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Creating an DefaultActionProxy for namespace / and action name UserAction
DEBUG - intercept '//UserAction' {
DEBUG - before Locale=zh_CN
DEBUG - Entering nullPropertyValue [target=[action.login@1c01def, com.opensymphony.xwork2.DefaultTextProvider@552445], property=struts]
DEBUG - Bypassing //UserAction
DEBUG - Setting static parameters {}
DEBUG - Setting params NONE
DEBUG - Setting params password => [ ojpj ] user => [ ytfcdyt ]
DEBUG - Property: password
DEBUG - Class: action.login
DEBUG - converter is null for property password. Mapping size: 0
DEBUG - field-level type converter for property [password] = none found
DEBUG - global-level type converter for property [password] = none found
DEBUG - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@6ea2c]
DEBUG - Property: user
DEBUG - Class: action.login
DEBUG - field-level type converter for property [user] = none found
DEBUG - global-level type converter for property [user] = none found
DEBUG - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@6ea2c]
DEBUG - Validating //UserAction with method execute.
DEBUG - Invoking validate() on action action.login@1c01def
DEBUG - cannot find method [validateExecute] in action [action.login@1c01def]
DEBUG - cannot find method [validateDoExecute] in action [action.login@1c01def]
DEBUG - Executing action method = null
INFO - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@323c51: startup date [Mon Dec 20 11:51:44 CST 2010]; root of context hierarchy
INFO - Loading XML bean definitions from file [D:\Apache Software Foundation\Tomcat 6.0\bin\applicationContext.xml]
高手给指点一下吧,谢谢 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询