问题描述
- 项目启动没问题,但是登陆报以下错误
- 2016-05-20 15:02:49 -122358 [http-bio-8080-exec-10] DEBUG - Don't need to create transaction for [com.fh.service.system.user.impl.UserService.getUserByNameAndPwd]: This method isn't transactional.
2016-05-20 15:02:49 -122487 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
2016-05-20 15:02:49 -122488 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
2016-05-20 15:02:49 -122488 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
2016-05-20 15:02:49 -122488 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
2016-05-20 15:02:49 -122488 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
2016-05-20 15:02:49 -122489 [Druid-ConnectionPool-Create-245194946] ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)
解决方案
数据库连接配置有误
ERROR - create connection error
java.sql.SQLException: connect error url :jdbc:mysql://localhost:3306/uecsys driverClass com.mysql.jdbc.Driver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1434)
解决方案二:
可能 事务配置有问题吧
时间: 2024-11-19 00:33:00