![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
IT_laobai
世间事,十之八九不能如意,所以,要留住那来之不易的一二!
展开
-
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on
完整错误:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project spring_ioc: There are test failures.Please refer to C:\idea\ssm\bxg_spring\spring_ioc\target\surefire-reports for the individual test results原创 2020-09-05 18:33:30 · 5217 阅读 · 0 评论 -
java.util.MissingResourceException: Can‘t find bundle for base name jdbc, locale zh_CN
解决办法:看荧光笔的地方对不对,除了画红圈的地方 按住ctrl键 鼠标是否能进入jdbc.properties文件对照下url 中的数据库名字 账号 密码 还有后缀 记得运行测试下如果他们都对刷新下maven试试 在运行一遍...原创 2020-09-05 10:13:36 · 4189 阅读 · 2 评论 -
java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or represents more tha
如果是jdbc.propweties配置文件就用下面这段jdbc.driver=com.mysql.cj.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/ssh_bxg?serverTimezone=UTCjdbc.username=rootjdbc.password=rooturl后缀问题 加上下面这句就好了dataSource.setJdbcUrl("jdbc:mysql://localhost:3306/ss...原创 2020-09-05 09:59:08 · 289 阅读 · 0 评论 -
Junit5版本正确的导入方法,pom文件导入 如果没有使用maven就下载junit-jupiter聚合包
Failed to execute goal on project spring_ioc: Could not resolve dependencies for project org.example:spring_ioc:jar:1.0-SNAPSHOT: Failure to find junit:junit:jar:5.6.2 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local reposito原创 2020-09-05 08:23:26 · 6600 阅读 · 0 评论 -
Spring Configuration Check Unmapped Spring configuration files found.Please configure Spring facet.
刚开始idea右下角出现的Spring Configuration Check Unmapped Spring configuration files found.Please configure Spring facet.下面是配置方法然后点击ok 再点击Apply 最后再点击ok完成。下面是配置完重启idea的画面...原创 2020-09-05 07:42:42 · 2274 阅读 · 0 评论 -
IDEA中的project Setting中的Libraries,Sources和JavaDocs红色报错解决方法
点击右侧Maven Projects中的Dependencies,右键出现下载Sources或者Documentation,点击下载即可Sources点击下载看还报红不,如果还报红再点击Documentation下载。原创 2020-09-05 07:25:04 · 7451 阅读 · 5 评论 -
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platfor
Maven 打包时有标题中警告(含有utf-8),需要在pom.xml文件中添加<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>原创 2020-09-04 21:35:58 · 1468 阅读 · 0 评论 -
IDEA中提示:Warning:java: 源值1.5已过时, 将在未来所有发行版中删除
问题:运行Java Web项目时,IDEA中提示:Warning:java: 源值1.5已过时, 将在未来所有发行版中删除Warning:java: 目标值1.5已过时, 将在未来所有发行版中删除Warning:java: 要隐藏有关于已过时选项的警告,请使用-Xlint:-options1. 打开【File】—【Project Structure】,找到以下两个地方: 打开Project Structure==》Project我用的的是jdk 1.8所以我这里选的是8 .原创 2020-09-03 20:17:42 · 1914 阅读 · 1 评论