Instantiation of bean failed; nested exception is org.springframework.beans.Bean

zhangxuli zhangxuli 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
String index out of range: -1
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冲突调试步骤

爱的世界999

SSH整合项目中容易出现的错误

SSH整合项目中容易出现的错误,详细讲解SSH开发过程所遇到的错误,让SSH开发不再成为你的障碍

bibigege

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) ……

wqxshaog

测试spring中的org.springframework.beans.factory.InitializingBean

NULL 博文链接:https://latex.iteye.com/blog/900664

weixin_38669628

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?

#FJW
评论 7
收藏 已收藏
分享
返回顶部
zhangxuli
Web 开发 81,108 成员 341,721 内容