Skip to main content



      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 12:16 Go to next message
Eclipse UserFriend
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 12:28] by Moderator

Re: error Apacha Tika [message #1859379 is a reply to message #1859370] Sat, 03 June 2023 02:19 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: error Apacha Tika [message #1859555 is a reply to message #1859379] Wed, 14 June 2023 18:11 Go to previous message
Eclipse UserFriend

  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: Thu Feb 27 21:02:53 EST 2025

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

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

Back to the top