Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » error Apacha Tika(Eclipse doesn't import The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml)
error Apacha Tika [message #1859370] Fri, 02 June 2023 16:16 Go to next message
henry Verdoux is currently offline henry VerdouxFriend
Messages: 2
Registered: June 2023
Junior Member
How to fix this problem (The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml) on Eclipse. I understand that there are duplicate packages. I don't know how and where I supposed to remove. Could Anyone show me the steps? I use Eclipse with Java 17 and Maven both in Windows and Mac

[Updated on: Fri, 02 June 2023 16:28]

Report message to a moderator

Re: error Apacha Tika [message #1859379 is a reply to message #1859370] Sat, 03 June 2023 06:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33149
Registered: July 2009
Senior Member
I would Google it and look at those answers because you're not the first with that question:

https://www.google.com/search?q=The+package+org.xml.sax+is+accessible+from+more+than+one+module%3A+%3Cunnamed%3E%2C+java.xml%29


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: error Apacha Tika [message #1859555 is a reply to message #1859379] Wed, 14 June 2023 22:11 Go to previous message
Kabiru Usman is currently offline Kabiru UsmanFriend
Messages: 42
Registered: April 2023
Member

  1. Right-click your project in Eclipse, select "Properties".
  2. Navigate to "Java Build Path", then "Libraries".
  3. Expand "JRE System Library", find "Is modular" node.
  4. If "java.xml" is listed, remove it.
  5. Click "Apply and Close".


This should resolve your issue by excluding the "java.xml" module that's already provided by the JDK.
Previous Topic:Place cursor in console without having to click there
Next Topic:Change Jetty/Maven listening ip/port on Android 6
Goto Forum:
  


Current Time: Tue May 21 23:53:40 GMT 2024

Powered by FUDForum. Page generated in 0.08032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top