Mac Intellij IDEA搭建spring-framework源码环境
2018-03-22 00:15
1361 查看
环境配置:
说明:spring源码从svn迁移到Github,基于Gradle来构建项目
Git地址:https://github.com/spring-projects/spring-framework
1、下载代码到本机
git clone https://github.com/spring-projects/spring-framework.git
2、下载源码后有个文件import-into-idea.md,里面有相应的步骤
Step1、
进入spring-framework工程
执行./gradlew :spring-oxm:compileTestJava 如下图:
Step2、
./gradlew
Step3、项目导入idea 时间比较长
Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle
Step4、删除spring-aspects模块 原因:
File->Project Structure->Modules delete spring-aspects
Step5、
Rebuild Project 编译成功
说明:spring源码从svn迁移到Github,基于Gradle来构建项目
Git地址:https://github.com/spring-projects/spring-framework
1、下载代码到本机
git clone https://github.com/spring-projects/spring-framework.git
2、下载源码后有个文件import-into-idea.md,里面有相应的步骤
Step1、
进入spring-framework工程
执行./gradlew :spring-oxm:compileTestJava 如下图:
Step2、
./gradlew
Step3、项目导入idea 时间比较长
Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle
Step4、删除spring-aspects模块 原因:
spring-aspectsdoes not compile due to references to aspect types unknown to IntelliJ IDEA. See http://youtrack.jetbrains.com/issue/IDEA-64446 for details. In the meantime, the ‘spring-aspects’ can be excluded from the project to avoid compilation errors.
File->Project Structure->Modules delete spring-aspects
Step5、
Rebuild Project 编译成功
相关文章推荐
- intellij idea15搭建spring源码阅读环境
- intellij idea搭建spring源码阅读环境
- IDEA搭建springmvc 环境出现的org/springframework/transaction/TransactionException 异常
- Intellij IDEA + Spring MVC + Maven 环境搭建
- MAC环境下idea:maven+Spring+Dubbo+Zookeeper简单工程搭建
- Springmvc + Mybatis + IntelliJ IDEA 环境搭建
- “mac os + intellij idea 13 + nodejs开发环境搭建教程(附详细图解)
- spring-framework-4.1.x源码阅读环境搭建(导入Eclipse)
- IntelliJ IDEA spring mvc +mybatis 环境搭建服务器(中)
- spring-framework-4.1.x源码阅读环境搭建(导入Eclipse)
- Mac OS + IntelliJ Idea +Git 开发环境搭建实战
- IntelliJ IDEA spring mvc +mybatis 环境搭建服务器(下)
- idea中搭建spring源码阅读环境
- spring-framework-4.1.x源码阅读环境搭建(导入Eclipse)
- 搭建IntelliJ IDEA+maven+jetty+SpringMVC 开发环境(二)
- intellij idea maven springmvc 环境搭建
- Spring源码分析_01_ idea搭建spring源码阅读环境
- springMVC+maven+mybatis+Intellij IDEA环境搭建
- Dive into Spring framework -- 搭建spring 源码的开发环境
- Intellij IDEA搭建Spark源码阅读环境