IDEA常见问题总结
1.下载maven资源报错
看源码时, AnnotationBeanNameGenerator类为class文件, 为了看java文件,需要下载资源,
下载资源报错,具体报错为:Sources not found for: org.springframework:spring-context:5.3.10
右键选中项目, 然后open in Terminal, 然后输入如下命令
mvn dependency:resolve -Dclassifier=sources
2.@Autowired报错级别设置
File-Settings-Editor-Inspections-Spring-Spring Core