一、idea项目中的文件变成了.java
(1)问题
(2)解决方案:
二、cannot resolve symbol String
(一)问题:
(二)解决方案:
重装jdk
三、Error(3,38)java:程序包org.springframework.boot不存在
(一)问题:
(二)解决方案:
四、IDEA中配置MySQL出现Server returns invalid timezone问题解决方法
(1)问题:
(2)解决方案:
五、 idea抛出异常的快捷键
Alt+Enter
六、idea中dependencies中总是有红色波浪线(缺少dependency)的解决办法
(1)解决方案:
但是这些jar在我本地的maven仓库中实际上是存在的,后来无意中修改了下pom才发现这有可能是IDEA的bug,解决办法是:
对于有波浪线的dependency,将其从pom中删除,保存后,再撤销回来,奇迹出现了。。。。很无语的一个问题。
七、java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
更改前
spring:
datasource:
url:jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
username:root
Data.password:123
driver-class-name:com.mysql.cj.jdbc.Driver
更改后
spring:
datasource:
url:jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
username:root
password:123
driver-class-name:com.mysql.cj.jdbc.Driver
八、Failed to bind properties under 'spring.datasource' to javax.sql.DataSource:
引入pom
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
九、localhost将您重定向的次数过多
解决:
十、Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
(1)解决方法:
来源:oschina
链接:https://my.oschina.net/u/4325435/blog/4524251