# The package com.inductiveautomation.ignition.gateway.util is accessible from more than one module

**URL:** <https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019>\
**Category:** Module Development\
**Created:** [December 30, 2025, 10:07am UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019 "2025-12-30T10:07:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [December 30, 2025, 10:07am UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/1 "2025-12-30T10:07:37Z")

</div>

Hello,  
i have a problem importing some gateway packages after updating the compiler version to Java 17. I get the error:  
`The package com.inductiveautomation.ignition.gateway.util is accessible from more than one module: <unnamed>, common, gateway.api`

The packages are imported by a dependency to the driver api.

![grafik](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/96a39cfcaa01dd9de67c1a4edf9bd80a85fef1af.png)

Am i doing something wrong, or is this a problem with module definitions in the api?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 30, 2025, 1:39pm UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/2 "2025-12-30T13:39:38Z")

</div>

Nothing changed between 8.1 and 8.3 regarding JPMS... still Java 17, still doing bad practices like multiple JARs/artifacts containing a `com.inductiveautomation.ignition.gateway.util` package.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [December 30, 2025, 8:20pm UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/3 "2025-12-30T20:20:10Z")

</div>

Is there a method to use gateway-api and common in the same project? The only way to compile my driver is setting the compiler compliance level to 1.8 but i am not sure about side effects of that setting.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 30, 2025, 8:23pm UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/4 "2025-12-30T20:23:17Z")

</div>

Surely.

This has to be some Eclipse IDE problem.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 30, 2025, 8:30pm UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/5 "2025-12-30T20:30:34Z")

</div>

This advice came from an LLM, so if it's total nonsense that's why. I don't have Eclipse installed and haven't used it in a decade or more.

**For Eclipse:**

1. Right-click your project \> **Properties** \> **Java Build Path**.
2. Go to the **Libraries** tab.
3. Look at the list. You will likely see **Modulepath** and **Classpath**.
4. If your Ignition SDK jars (like `common`, `gateway-api`, or Maven Dependencies) are listed under **Modulepath** , drag and drop them into **Classpath**.
5. Apply and Close. Clean and Rebuild.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [December 30, 2025, 8:44pm UTC](https://forum.inductiveautomation.com/t/the-package-com-inductiveautomation-ignition-gateway-util-is-accessible-from-more-than-one-module/113019/6 "2025-12-30T20:44:28Z")

</div>

Thank you, that helped. The dialog looks a bit different, but setting the maven dependencies as not-modular worked.
