JAVA项目bug总结
记录JAVA项目中遇到的BUG
计算机CV民工
技术没人看,闲聊都围观。。。
展开
-
Mapper文件注入问题
UserMapper' that could not be found.原创 2023-02-09 20:49:02 · 883 阅读 · 0 评论 -
The last packet sent successfully to the server was 0 milliseconds ago. 解决办法
The last packet sent successfully to the server was 0 milliseconds ago.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 time zone support.原创 2023-02-09 12:40:08 · 1504 阅读 · 0 评论 -
java: 无效的源发行版: 11
Error:java: 无效的源发行版: 11 ,无效的目标发行版原创 2023-02-09 11:40:49 · 1585 阅读 · 0 评论 -
Failed to determine a suitable driver class
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.原创 2023-02-09 11:54:17 · 19111 阅读 · 0 评论 -
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-reso
springboot打包错误:failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0原创 2023-02-03 13:53:08 · 114 阅读 · 0 评论 -
SpringBoot Admin服务离线、不显示健康信息的问题
Failed to resolve 'LAPTOP-1J9FTS8V.mshome.net' after 4 queries原创 2023-02-03 12:38:49 · 1536 阅读 · 0 评论 -
Springboot参数校验和异常处理
Springboot异常处理原创 2023-02-03 11:12:14 · 144 阅读 · 0 评论 -
springboot整合mybatis
springboot整合mybatis原创 2023-02-02 17:52:23 · 108 阅读 · 0 评论 -
Maven打包时出现Process terminated错误
Process terminated详细解决方案原创 2023-02-01 02:22:23 · 1430 阅读 · 0 评论 -
SSM整合错误:Unsatisfied dependency expressed through field ‘studentDao‘
Could not autowire. No beans of 'StudentDao' type found.原创 2023-01-31 23:57:28 · 332 阅读 · 0 评论 -
docker start启动容器不报错,却无法正常启动
chown: changing ownership of '/var/lib/mysql/': Permission denied原创 2023-01-29 15:04:01 · 5539 阅读 · 1 评论 -
Type interface com.itbz.dao.StudenrDao is not known to the MapperRegistry.
Spring整合MyBatis原创 2023-01-20 23:39:00 · 228 阅读 · 0 评论 -
Invalid bound statement (not found):
JAVAbug原创 2023-01-18 18:23:05 · 60 阅读 · 0 评论 -
Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml
MyBatis的typeAliases标签配置报错原创 2023-01-18 17:08:09 · 1239 阅读 · 0 评论 -
数据结构---HashSet存值和取值
哈希Set原创 2022-12-25 16:23:56 · 5445 阅读 · 0 评论 -
JAVA内部类
JAVA内部类原创 2022-12-14 14:19:33 · 157 阅读 · 0 评论 -
mybatis映射文件中,特殊符号对应的实体总结
mybatis映射文件中,特殊符号对应的实体总结原创 2022-11-24 16:29:12 · 106 阅读 · 0 评论 -
MyBatis利用POJO传参小BUG
POJO传参小BUG原创 2022-11-24 13:16:51 · 194 阅读 · 0 评论 -
Error querying database. Cause: java.sql.SQLSyntaxErrorException
Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%'阳'%' at line 1原创 2022-11-23 18:30:33 · 3080 阅读 · 0 评论 -
Mybatis配置找不到resources错误的解决
Mybatis配置找不到resources错误原创 2022-11-23 11:51:51 · 688 阅读 · 0 评论 -
mybatis的SqlMapConfig.xml文件无法下载dtd约束问题
http://mybatis.org/dtd/mybatis-3-config.dtd原创 2022-11-23 10:55:41 · 361 阅读 · 0 评论 -
JSP页面取req中参数异常问题
JSP页面取req中参数异常原创 2022-11-23 00:38:27 · 124 阅读 · 0 评论 -
java.sql.sQLException: No suitable driver found for jdbc:mysql
java.sql.sQLException: No suitable driver found for jdbc:mysql原创 2022-11-22 21:30:41 · 615 阅读 · 0 评论 -
java.sql.SQLException: No suitable driver found for jdbc:mysql:///XXX
java.sql.SQLException: No suitable driver found for jdbc:mysql原创 2022-11-22 21:15:12 · 525 阅读 · 0 评论 -
idea搜索快捷键总结大全
IDEA查找快捷键、自动生成方法注释原创 2022-11-22 15:41:22 · 3168 阅读 · 0 评论 -
Could not transfer artifact xxx from/to xxx解决方案
Could not transfer artifact xxx from/to xxx原创 2022-11-22 15:25:56 · 1737 阅读 · 0 评论 -
Windows同时安装JDK8和JDK11
注意 :在同一个电脑上不能同时配置多个JDK环境变量,但是我们可以通过修改JDK环境变量中的JAVA_HOME 将值改成相应的JDK安装目录,达到来回切换的目的。之前项目中一直使用JDK8,承Maven接的新项目需要使用JDK11,所以需要在电脑上同时安装8和11两个版本的JDK。重启cmd,输入java -version命令,查看版本,版本为JDK11。打开cmd,输入java -version命令,查看版本,版本为JDK8。输入java -version命令,查看版本,版本仍然为JDK8。原创 2022-11-22 11:42:37 · 4204 阅读 · 0 评论 -
解决Cannot resolve plugin org.apache.maven.plugins:maven-site-plugin:3.3问题
Cannot resolve plugin org.apache.maven.plugins:maven-site-plugin:3.3原创 2022-11-22 10:35:29 · 10778 阅读 · 1 评论 -
第一次创建maven出现PluginResolutionException的解决办法
创建javaweb,idea不能自动生成webapp,同时报PluginResolutionException,修改了maven项目中的settings.xml文件中节点。原创 2022-11-22 01:28:59 · 423 阅读 · 0 评论 -
IDEA 中无法彻底删除项目的问题
idea无法完全删除项目的问题原创 2022-11-22 00:52:21 · 3713 阅读 · 0 评论 -
测试servlet的小tips
小tips原创 2022-11-21 10:46:29 · 143 阅读 · 0 评论 -
CSS样式显示异常问题
CSS样式显示异常问题原创 2022-11-20 22:10:43 · 400 阅读 · 0 评论 -
Unknown column in ‘where clause‘ 报错异常
Unknown column in 'where clause'原创 2022-11-20 19:14:05 · 1898 阅读 · 1 评论 -
userManager.do不可用问题
servlet定位问题。原创 2022-11-20 18:37:06 · 132 阅读 · 0 评论 -
Can‘t call rollback when autocommit=true
数据库操作、事务原创 2022-11-20 17:32:56 · 1867 阅读 · 0 评论 -
DAO层报空指针异常
java.lang.NullPointerException at dao.impl.UserLoginDaoImpl.selectUsersByUsernameAndUserpwd(UserLoginDaoImpl.java:21)原创 2022-11-20 14:14:02 · 404 阅读 · 0 评论 -
idea 解决报错 Artifact web:war exploded: Error during artifact deployment. See server log for details
Artifact web:war exploded: Error during artifact deployment. See server log for details.原创 2022-11-19 15:28:55 · 4174 阅读 · 2 评论