IDEA导入Maven项目项目的问题记录

1.  导入maven项目后,一堆的依赖出现红色波浪线

    maven的setting文件出错,本地仓库位置有问题。网上也有人是因为idea自己本身的bug,重新删除dependency,保存然后恢复就不会报错了。


2. 部分dependency报错,而且是关于jdk版本的错误,而且idea时不时就update indices时间很长

    清理idea的caches:在file》

    参见:

Intelli J IDEA takes forever to update indices


3.idea报错:Spring Configuration Check Unmapped Spring configuration files found

参见:https://blog.csdn.net/iamlihongwei/article/details/78528978

4. 运行项目是,很多类都提示找不到符号:

    maven项目重新clean 然后再install一下就好了

参考:http://blog.sina.com.cn/s/blog_db77b3c60102v91w.html

扫描二维码关注公众号,回复: 403446 查看本文章


猜你喜欢

转载自blog.csdn.net/dajiangqingzhou/article/details/80263633