XiaoMi / shepher

Apache License 2.0
493 stars 128 forks source link

通过docker启动,访问网址直接报错了 #32

Open conquer66666 opened 4 years ago

conquer66666 commented 4 years ago

Shepher Error Page nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 3 milliseconds ago. The last packet sent successfully to the server was 3 milliseconds ago. ### The error may exist in com/xiaomi/shepher/dao/UserMapper.java (best guess) ### The error may involve com.xiaomi.shepher.dao.UserMapper.getByName ### The error occurred while executing a query ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 3 milliseconds ago. The last packet sent successfully to the server was 3 milliseconds ago. ,click here to home page