求助! 启动服务器报错!100分!!!!!!!!

关山万里 2016-05-05 10:06:18
环境 springmvc+spring+mybatis+maven


2016-05-05 10:13:37,748 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,752 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,755 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,762 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,768 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,771 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,776 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,779 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,785 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,789 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgChangeInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgChangeInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,804 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:13:37,806 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgInfoDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgInfoDao.class]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sqlSessionFactory' threw exception; nested exception is java.lang.StackOverflowError
...全文
296 14 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
LS1firesoar 2016-05-06
  • 打赏
  • 举报
回复
 
Failed to instantiate [com.alibaba.druid.pool.DruidDataSource]: Constructor threw exception; nested exception is java.lang.StackOverflowError
初始化datasource的时候出现的栈溢出 仔细检查下。 试试:-Xms1024M -Xmx1024M 这2个值设置成一样 最好
LS1firesoar 2016-05-06
  • 打赏
  • 举报
回复
-XX:PermSize=128M -XX:MaxPermSize=128m 永久代 你是否设置的太大了 你也要试试 对应的2个值 都设置成一样的。避免 虚拟机经常的扩展内存
关山万里 2016-05-05
  • 打赏
  • 举报
回复
现在问题定位到了,直接Run运行的话没有问题,DUBUG就有问题,怎么办
奄灬苟且偷生 2016-05-05
  • 打赏
  • 举报
回复
你配置的内存越高,就是说编译的时候会先将代码放到内存中,然后再写到硬盘里,一直重复这个动作直到编译结束 项目要是很大的话,你要分配给他更大的内存,和栈的大小,要不总会出现溢出的情况
关山万里 2016-05-05
  • 打赏
  • 举报
回复


还是不行,我这太郁闷了,有时候能起来有时候起不来,起服务器正常需要30秒,有时候就这样一直刷错误信息刷1分多钟,然后起不来,为什么啊
关山万里 2016-05-05
  • 打赏
  • 举报
回复
引用 4 楼 bree06 的回复:
java.lang.StackOverflowError内存溢出了.看一下JVM分配的内存多大,实际使用内存多大
感谢!刚才做了修改,加上了:-Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m 现在服务器可以启动,但是以下错误信息依然回出现,以前是没有这些的

2016-05-05 10:25:15,653 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from class path resource [jdbc.properties]
2016-05-05 10:25:16,005 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentLoginDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/ecp/dao/AgentLoginDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError
2016-05-05 10:25:16,038 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\jdbc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.druid.pool.DruidDataSource]: Constructor threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\jdbc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.druid.pool.DruidDataSource]: Constructor threw exception; nested exception is java.lang.StackOverflowError
bree06 2016-05-05
  • 打赏
  • 举报
回复
java.lang.StackOverflowError内存溢出了.看一下JVM分配的内存多大,实际使用内存多大
关山万里 2016-05-05
  • 打赏
  • 举报
回复
对了,还有就是用的dubbo
关山万里 2016-05-05
  • 打赏
  • 举报
回复
谁知道分怎么加啊! 忘了改了
关山万里 2016-05-05
  • 打赏
  • 举报
回复

2016-05-05 10:14:22,394 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\dubbo-provider.xml]
2016-05-05 10:14:22,425 INFO [com.alibaba.dubbo.common.logger.LoggerFactory] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2016-05-05 10:14:22,527 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\jdbc.xml]
2016-05-05 10:14:22,537 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]
2016-05-05 10:14:22,546 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\property.xml]
2016-05-05 10:14:22,552 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\redis.xml]
2016-05-05 10:14:22,560 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\transation.xml]
2016-05-05 10:14:22,995 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from class path resource [jdbc.properties]
2016-05-05 10:14:23,341 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentLoginDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/ecp/dao/AgentLoginDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError
2016-05-05 10:14:23,435 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:14:23,463 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orgStatusDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/core/dao/teamManage/OrgStatusDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError
2016-05-05 10:14:23,474 WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentLoginDao' defined in URL [jar:file:/D:/myworkspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PF_PAS/WEB-INF/lib/PF_DPI-0.0.1-SNAPSHOT.jar!/com/pearflowers/ecp/dao/AgentLoginDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\myworkspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\PF_PAS\WEB-INF\classes\spring\mybatis.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'dataSource' threw exception; nested exception is java.lang.StackOverflowError

关山万里 2016-05-05
  • 打赏
  • 举报
回复
以前项目好好的,但是有一个组和我们并行开发,昨天合并版本,然后就这样了,弄了一整天没好!!!
tianfang 2016-05-05
  • 打赏
  • 举报
回复
我估计,你们两个组编译方法不一样,一个用maven,一个用eclipse导致的,也可能是jdk版本差异引起的 https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html maven 编译参数 debug缺省是true,这个也可能是原因

67,549

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧