Score
0
Watch 903 Star 2.8K Fork 1.4K

GVP季圣华 / 华夏ERPJavaGPL-3.0

项目启动后不能登录,sql报栈溢出错误

Open
司文杰  Opened this issue

Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: java.lang.StackOverflowError

The error may exist in file [D:\workspace_new\JSH_ERP\target\classes\mapper_xml\UserMapper.xml]

The error may involve com.jsh.erp.datasource.mappers.UserMapper.selectByExample

852955_jishenghua total 5 participants

Comments (4)

jiaodiPlus 2019-03-04 09:45

我也是这个错误

mingwayX 2019-03-06 11:56

貌似是引用mysql jar包存在问题,修改一下mysql jar包版本,解决了问题:

<dependency>
	<groupId>mysql</groupId>
	<artifactId>mysql-connector-java</artifactId>
	<version>5.1.46</version>
</dependency>
LuGew 2019-03-19 10:35

@mingwayX 可以,很骚

852955_jishenghua
季圣华 2019-11-17 18:23 owner

我也试试,这个可能是啥问题,为啥高版本可以

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/jishenghua/JSH_ERP.git
git@gitee.com:jishenghua/JSH_ERP.git
jishenghua
JSH_ERP
华夏ERP

Help Search