Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6919905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:04:52+00:00 2026-05-27T10:04:52+00:00

I have a Java project which includes the Xerces library. When I process the

  • 0

I have a Java project which includes the Xerces library.

When I process the project with Proguard, I get the warning:

Note: duplicate definition of library class [org.w3c.dom.html.HTMLDOMImplementation]

I see in Xerces that this class exists, and that a same class exists in the rt.jar of JDK 1.6.

The jar file created by ProGuard does not launch (error: “A Java Exception Has Occurred”).
How can I solve this problem? Thx!


(note: I work with Netbeans)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:04:53+00:00Added an answer on May 27, 2026 at 10:04 am

    1) Either you should remove the class from one of the library (which is not advisable as it might break other classes)

    2) Find a jar withouth this class. For e.g. the class which you are using in your application might be available in a number of jars. So get the jar where this conflicting class is not present but other classes which you want are present (this might take some time)

    3) (and best) just ignore the error. I don’t think it should give any problem. Based on which jar occurrs first in the class path, the class will be picked up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to give a general note to some huge Java project for which
I have a java project which includes settings, bin, src, .classpath, .project. I am
I have inherited a Java project which includes a number of classes that are
I'm doing a project in Java which includes (x,y) coordinates. I have created a
i have a java ee project which has a text file that uses a
I have a java project in which I have Referenced Libraries. In the Referenced
I have a Java project in Eclipse with ~10 packages and ~10 class files
I have a project A, which contains some java files and a classpath resource
I was working on a project which includes developing an application using java sockets.
I have this general project folder of mine which includes a variety of stuff:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.