diff --git a/import-into-eclipse.md b/import-into-eclipse.md index d2a8b154bb..9258de40db 100644 --- a/import-into-eclipse.md +++ b/import-into-eclipse.md @@ -3,7 +3,7 @@ This document will guide you through the process of importing the Spring Framework projects into Eclipse or the Spring Tool Suite (_STS_). It is recommended that you have a recent version of Eclipse. As a bare minimum you will need Eclipse with full Java -17 support, Eclipse Buildship, and the Groovy plugin. +17 support and Eclipse Buildship. The following instructions have been tested against [STS](https://spring.io/tools) 4.12.0 ([download](https://github.com/spring-projects/sts4/wiki/Previous-Versions#spring-tools-4120-changelog)) @@ -20,10 +20,6 @@ from the Eclipse Marketplace. _When instructed to execute `./gradlew` from the command line, be sure to execute it within your locally cloned `spring-framework` working directory._ -1. Install the [Groovy Development Tools](https://marketplace.eclipse.org/content/groovy-development-tools). - - **NOTE**: As of October 12, 2021, the Groovy Development Tools do not work in Eclipse 2021-09 (4.21). See [Groovy Eclipse #1303](https://github.com/groovy/groovy-eclipse/issues/1303) for details. -1. Switch to Groovy 3.0 in Eclipse (Preferences → Groovy → Compiler → Switch to 3.0...). - - If you encounter build errors stating something similar to _"Groovy: compiler mismatch: project level is 2.5, workspace level is 3.0"_, change the Groovy compiler version to 3.0 for each affected project. 1. Ensure that the _Forbidden reference (access rule)_ in Eclipse is set to `Info` (Preferences → Java → Compiler → Errors/Warnings → Deprecated and restricted API → Forbidden reference (access rule)). 1. Optionally install the [Kotlin Plugin for Eclipse](https://marketplace.eclipse.org/content/kotlin-plugin-eclipse) if you need to execute Kotlin-based tests or develop Kotlin extensions.