- 博客(2)
- 问答 (1)
- 收藏
- 关注
原创 2021-02-28
记一个jdbcutils在测试时不报错,但是在部署Tomcat服务器后报错的bug java.lang.NoClassDefFoundError: Could not initialize class com.cck.utils.JdbcUtils 当时写完DAO和Service业务类之后,测试service业务类不报错,并且能获取数据库操作的连接,但是一旦在服务器上运行就一直报下图错误 记着在tomcat中用classloader获取的配置文件路径不在当前src下 错误原因 测试...
2021-02-28 18:44:05
76
原创 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Client does not support authen
报错信息: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL client at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ...
2021-02-15 21:12:42
629
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人