
JAVA学习中出现的问题
问题记录
渔夫阿布
这个作者很懒,什么都没留下…
展开
-
Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find cla
Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: com.mysql.cj.jdbc.Driver出现这种错误:驱动的连接方式不对mysql5.0:com.mysql.jdbc.Drivermysql8.0: com.mysql.cj.jdbc.Driver原创 2022-03-24 16:03:28 · 3393 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sdjzu.mybatis.m
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sdjzu.mybatis.mapper.UserMapper.insertUser首先检查一下两点MyBatis中可以面向接口操作数据,要保证两个一致mapper接口的全类名和映射文件的命名空间(namespace)保持一致mapper接口中方法的方法名和映射文件中编写SQL的标签的id属性保持一致...原创 2022-03-24 16:02:37 · 362 阅读 · 0 评论 -
打开IDEA不要直接进入项目
设置"打开IDEA不要直接进入项目"的方式很简单:1 - 直接打开IDEA,此时还是会按照默认的方式直接进入项目,不要慌。2 - 按照下图所示的方式进行修改,再次打开就会先进入列表,而不是直接进入项目了。 ...原创 2022-03-23 09:48:17 · 6978 阅读 · 0 评论 -
解决IDEA创建Maven项目时右键new没有新建Java class等选项
解决IDEA创建Maven项目时右键new没有新建Java class等选项原创 2022-03-23 09:06:36 · 1860 阅读 · 0 评论 -
com.mysql.cj.jdbc.Driver
D:\developertool\Java\jdk1.8.0\bin\java.exe "-javaagent:D:\developertool\Java\IntelliJ IDEA 2021.2.2\lib\idea_rt.jar=59202:D:\developertool\Java\IntelliJ IDEA 2021.2.2\bin" -Dfile.encoding=UTF-8 -classpath D:\developertool\Java\jdk1.8.0\jre\lib\charsets.ja原创 2022-03-20 11:04:50 · 4031 阅读 · 0 评论 -
Unsupported character encoding ‘utf8;serverTimezone=UTC‘
Unsupported character encoding ‘utf8;serverTimezone=UTC’解决办法原创 2022-03-20 10:34:36 · 767 阅读 · 0 评论 -
The server time zone value ‘�й���ʱ��‘ is unrecognized or represents more than one time zone.
The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize t原创 2022-03-20 10:22:09 · 664 阅读 · 0 评论 -
java: 错误: 无效的源发行版:16
把下面两个版本设置一致即可。原创 2022-02-14 10:07:41 · 733 阅读 · 0 评论