1gradle配置
spring源码导入idea 踩坑经历

2操作步骤
1.Precompile spring-oxm with ./gradlew :spring-oxm:compileTestJava
2.Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle)
3.When prompted exclude the spring-aspects module (or after the import via File-> Project Structure -> Modules)
就是操作手册上的(spring-framework\import-into-idea.md)
构建的时候会有网络问题(我快吐了)
先toggle online mode 关了 把项目构建好包后面慢慢加载把(md我刷新了几十次真的吐了)
3问题:构建成功之后一直cannot access **

spring源码导入idea 踩坑经历

错误内容如上

build具体情况如下
spring源码导入idea 踩坑经历
spring源码导入idea 踩坑经历

spring-aspects 一开始是unload ,后面load上去也没出啥问题
解决办法
贼坑居然是缓存导致的,如下图重新加载项目
spring源码导入idea 踩坑经历

最终成功解决了,开心的一b

相关文章:

  • 2021-09-06
  • 2021-08-30
  • 2021-12-12
  • 2021-09-29
  • 2022-02-02
猜你喜欢
  • 2021-07-07
  • 2021-10-17
  • 2021-11-05
  • 2021-12-04
  • 2021-11-14
  • 2021-06-06
相关资源
相似解决方案