首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

ssh2登陆界面的密码传不到action中password(为null) 望高手指教!解决思路

2012-01-26 
ssh2登陆界面的密码传不到action中password(为null) 望高手指教!!!!2011-10-19 07:47:42,546 DEBUG [com.o

ssh2登陆界面的密码传不到action中password(为null) 望高手指教!!!!
2011-10-19 07:47:42,546 DEBUG [com.opensymphony.xwork2.DefaultActionProxy] - Creating an DefaultActionProxy for namespace / and action name loginAction
2011-10-19 07:47:42,546 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - No bean named 'ssh2.wq.fn.action.loginAction' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@107bd0d: defining beans [dataSource,sessionFactory,userInfoDAO,userInfoBiz]; root of factory hierarchy
2011-10-19 07:47:42,562 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Getting BeanInfo for class [ssh2.wq.fn.action.loginAction]
2011-10-19 07:47:42,562 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Caching PropertyDescriptors for class [ssh2.wq.fn.action.loginAction]
2011-10-19 07:47:42,562 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'actionErrors' of type [java.util.Collection]
2011-10-19 07:47:42,562 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'actionMessages' of type [java.util.Collection]
2011-10-19 07:47:42,562 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'class' of type [java.lang.Class]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'errorMessages' of type [java.util.Collection]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'errors' of type [java.util.Map]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'fieldErrors' of type [java.util.Map]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'locale' of type [java.util.Locale]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'texts' of type [java.util.ResourceBundle]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'ui' of type [ssh2.wq.fn.entity.userInfo]
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Not autowiring property 'actionErrors' of bean 'ssh2.wq.fn.action.loginAction' by name: no matching bean found
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Not autowiring property 'actionMessages' of bean 'ssh2.wq.fn.action.loginAction' by name: no matching bean found
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Not autowiring property 'fieldErrors' of bean 'ssh2.wq.fn.action.loginAction' by name: no matching bean found
2011-10-19 07:47:42,578 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Not autowiring property 'ui' of bean 'ssh2.wq.fn.action.loginAction' by name: no matching bean found
2011-10-19 07:47:42,609 DEBUG [com.opensymphony.xwork2.interceptor.I18nInterceptor] - intercept '//loginAction' { 
2011-10-19 07:47:42,609 DEBUG [com.opensymphony.xwork2.interceptor.I18nInterceptor] - before Locale=zh_CN
2011-10-19 07:47:42,671 DEBUG [com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] - Entering nullPropertyValue [target=[ssh2.wq.fn.action.loginAction@17456bc, com.opensymphony.xwork2.DefaultTextProvider@143073a], property=struts]
2011-10-19 07:47:42,703 DEBUG [org.apache.struts2.interceptor.FileUploadInterceptor] - Bypassing //loginAction
2011-10-19 07:47:42,703 DEBUG [com.opensymphony.xwork2.interceptor.StaticParametersInterceptor] - Setting static parameters {}
2011-10-19 07:47:42,718 DEBUG [com.opensymphony.xwork2.interceptor.ParametersInterceptor] - Setting params NONE
2011-10-19 07:47:42,718 DEBUG [com.opensymphony.xwork2.interceptor.ParametersInterceptor] - Setting params action => [ login ] ui.password => [ 212f2e68c46148a6571241e8e4e31999277242188a875016556ad7b30dcca14b116fc6665b86f6c904f5f96c26000264fac141632b5992d98cfd7e2d2b9f6a081a4bf0b398c5ce3959ce8dbf0696f0b3271ae511d43d94496c900e566351bc9e8093c321e997de25b25ab998fd16fda569427926a320f6cd3faa6d630aaab265 ] ui.username => [ kaka ] 


2011-10-19 07:47:42,718 DEBUG [com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] - Entering nullPropertyValue [target=[ssh2.wq.fn.action.loginAction@17456bc, com.opensymphony.xwork2.DefaultTextProvider@143073a], property=ui]
2011-10-19 07:47:42,734 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Ignoring constructor [public ssh2.wq.fn.entity.userInfo(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.lang.String)] of bean 'ssh2.wq.fn.entity.userInfo': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ssh2.wq.fn.entity.userInfo': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
2011-10-19 07:47:42,734 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Ignoring constructor [public ssh2.wq.fn.entity.userInfo(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal)] of bean 'ssh2.wq.fn.entity.userInfo': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ssh2.wq.fn.entity.userInfo': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
2011-10-19 07:47:42,734 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Getting BeanInfo for class [ssh2.wq.fn.entity.userInfo]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Caching PropertyDescriptors for class [ssh2.wq.fn.entity.userInfo]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'anum' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'class' of type [java.lang.Class]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'designation' of type [java.lang.String]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'integral' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'lenum' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'nickname' of type [java.lang.String]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'password' of type [java.lang.String]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'pictrue' of type [java.lang.String]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'qnum' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'uid' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'username' of type [java.lang.String]


2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.CachedIntrospectionResults] - Found bean property 'zannum' of type [java.math.BigDecimal]
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: password
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: ssh2.wq.fn.entity.userInfo
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - converter is null for property password. Mapping size: 0
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - field-level type converter for property [password] = none found
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - global-level type converter for property [password] = none found
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@c1429c]
2011-10-19 07:47:42,750 DEBUG [com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler] - Entering nullPropertyValue [target=[ssh2.wq.fn.action.loginAction@17456bc, com.opensymphony.xwork2.DefaultTextProvider@143073a], property=ui]
2011-10-19 07:47:42,750 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Ignoring constructor [public ssh2.wq.fn.entity.userInfo(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.math.BigDe


[解决办法]
No bean named 'ssh2.wq.fn.action.loginAction' found
你这个loginAction没有配置
最好把spring和struts2的配置文件也贴出来

热点排行