![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
事在人为2018
喜欢写代码
展开
-
IntelliJ IDEA配置maven自动下载源码和文档
File => Setting => Build, Execution, Deployment => Build Tools => Maven => Importing => Automatically download勾选 Sources 和 Documentation如下图:原创 2018-03-15 20:26:03 · 16364 阅读 · 2 评论 -
intelij idea java.lang.ClassNotFoundException
java.lang.ClassNotFoundException在idea中创建项目,调试时提示这个异常,导致这个异常的情况有很多种,这次比较特殊,处理也比较简单。 File > Project Structure > Artifacts > 在右侧Output Layout右击项目名> 选择Put into Output Root,如下图: ...原创 2018-07-18 14:33:28 · 9963 阅读 · 4 评论 -
ApplicationListener意想不到的坑
ApplicationListener意想不到的坑@Componentpublic class AppListener implements ApplicationListener为了省事类名写成了 AppListener,竟然装载不了AppListener ,项目启动不了,换个名字就好了。不知道为什么,在这里标记一下。AppListener that could not be foun...原创 2018-12-06 15:17:45 · 3791 阅读 · 0 评论