Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get an exception java.lang.NoClassDefFoundError: com/sun/tools/javadoc/Main?

0
Posted

Why do I get an exception java.lang.NoClassDefFoundError: com/sun/tools/javadoc/Main?

0

This exception will occur when you execute UMLGraph directly as a jar (not throughjavadoc), and the files UmlGraph.jar and tools.jar are not in the same directory. Either copy UmlGraph.jar in the directory where the tools.jar of the JDK distribution is located (and execute UmlGraph.jar from there), or copy tools.jar to the directory where UmlGraph.jar is located.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123