Configuring Eclipse IDE
If you wish to use Eclipse IDE, it is recommended you import your Micronaut project into Eclipse using either Gradle BuildShip for Gradle or M2Eclipse for Maven.
Micronaut requires Eclipse IDE 4.9 or above |
Eclipse and Gradle
Once you have setup Eclipse 4.9 or above with Gradle BuildShip first run the gradle eclipse
task from the root of your project then import the project by selecting File → Import
then choosing Gradle → Existing Gradle Project
and navigating to the root directory of your project (where the build.gradle
is located).
Eclipse and Maven
For Eclipse 4.9 and above with Maven you need the following Eclipse plugins:
Once installed you need to import the project by selecting File → Import
then choosing Maven → Existing Maven Project
and navigating to the root directory of your project (where the pom.xml
is located).
You should then enable annotation processing by opening Eclipse → Preferences
and navigating to Maven → Annotation Processing
and selecting the option Automatically configure JDT APT
.