The package org.w3c.dom is accessible from more than one module: <unnamed>, java.xml

1,420 views
Skip to first unread message

Darko Zivanovic

unread,
Oct 15, 2023, 6:11:07 AM10/15/23
to iDempiere
Hello,

I am doing plugin development, creating custom Process to import XML file.
On compilation (Export Wizard) I get error:
The package org.w3c.dom is accessible from more than one module: <unnamed>, java.xml
In my process class, I am importing Document class:

import org.w3c.dom.Document;

In runtime/debug everything is working fine. I am using Eclipse 2022-12, idempiere 10.
In Manifest I have only one required dependency to org.adempiere.base(10.0.0)

I have tried following (but none of this worked):
1. Converted to Maven project and added dependency in pom.xml with <systemPath>
2. Changed Installed JRE - it was 17, I changed to /usr/lib/jvm/java-11-openjdk-amd64
3. Removed java.xml from Java Build Path properties.

Can somebody help with this issue?

Regards,
Darko

Heng Sin Low

unread,
Oct 15, 2023, 8:34:27 AM10/15/23
to idem...@googlegroups.com
If maven works, you don't have to use the Export wizard.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/12759895-de61-4483-9ff7-a13f7b0f0724n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages