# Eclipse and migration from Java 1.8 to 17

**URL:** <https://discuss.gradle.org/t/eclipse-and-migration-from-java-1-8-to-17/46291>\
**Category:** Buildship\
**Created:** [August 16, 2023, 1:17pm UTC](https://discuss.gradle.org/t/eclipse-and-migration-from-java-1-8-to-17/46291 "2023-08-16T13:17:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgeAlvarez](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@JorgeAlvarez](https://discuss.gradle.org/u/JorgeAlvarez)\
**Post date:** [August 16, 2023, 1:17pm UTC](https://discuss.gradle.org/t/eclipse-and-migration-from-java-1-8-to-17/46291/1 "2023-08-16T13:17:59Z")

</div>

We are moving a Gradle plugin from Java 1.8 to Java 17.

Currently gradlew build is going ok and the code is working without problems but when we open the project in Eclipse we obtains, in the import section, a lot of messages like:

**The package javax.xml.transform is accessible from more than one module: , java.xml**

Checking the type hierarchy of the classes involved in the issue (i.e. **org.w3c.dom.NodeList** ):

![Type_Hierarchy](https://global.discourse-cdn.com/gradle/original/2X/6/6dacdc5dcd5567b15b769a59a29ad74a7007b7b1.jpeg)

We see the problem seems to be in a conflict between **gradle-api-8.0.jar** and **jre**.

Any idea about how to solve it?
