Instantiation of bean failed; nested exception is org.springframework.beans.Bean
Could not instantiate bean class [com.runfine.wd.action.LoginAction]: Constructor threw exception; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Error creating bean with name 'loginAction' defined in file [/usr/apache-tomcat-7.0.53/webapps/wd/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.runfine.wd.action.LoginAction]: Constructor threw exception; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Unable to instantiate Action, loginAction, defined for 'LoginAction' in namespace '/'Error creating bean with name 'loginAction' defined in file [/usr/apache-tomcat-7.0.53/webapps/wd/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.runfine.wd.action.LoginAction]: Constructor threw exception; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
本人将windows下部署好的项目发布到linux下登陆时报的错(在win下正常运行),求高手指点
相关推荐
Maven解决jar冲突调试步骤
Maven解决jar冲突调试步骤
SSH整合项目中容易出现的错误
SSH整合项目中容易出现的错误,详细讲解SSH开发过程所遇到的错误,让SSH开发不再成为你的障碍
S2SH整合报错
配置了日志之后打印出下列信息: ERROR main org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.getDeclaredConstructor(Class.java:1953) ……
测试spring中的org.springframework.beans.factory.InitializingBean
NULL 博文链接:https://latex.iteye.com/blog/900664
org.springframework.transaction-3.1.2.RELEASE.zip
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'transactionManagerBeanName' of bean class [org.springframework.transaction.interceptor.TransactionInterceptor]: Bean property 'transactionManagerBeanName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?


Web 开发
