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

全部评论

相关推荐

点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务