buildship
buildship copied to clipboard
Compilation errors when importing a Gradle project that uses Java modules
Expected Behavior
The project should import correctly and without compilation errors
Current Behavior
The project is imported but eclipse flags compilation errors
Context
When importing a Gradle project that uses Java modules, even though the project is imported correctly, Eclipse marks many compilation errors. I believe the errors in the classes are derived from the errors that appear in the module-info.java file. In this file, most of the required modules have an error cannot be resolved to a module
I've tried everything and can't seem to resolve it. If I run the 'build' task with Gradle, the task completes successfully.
Steps to Reproduce
Import this project: https://github.com/sparrowwallet/sparrow (git clone
with --recursive
option)
Your Environment
- Eclipse Version: 2023-06 (4.28.0)
- Buildship: Eclipse Plug-ins for Gradle: 3.1.7
- Gradle distribution: "Gradle wrapper" ana Version 3.8
- JDK version: 18.0.2.1 and 17.0.7