SeekingAlpha SeekingAlpha - 24 days ago 6
Java Question

DEBUG: java.lang.NoSuchMethodError

I encountered a

when running a program.

This link explained the error very clearly.

I am trying to debug this exception in Eclipse Kepler. The link recommends setting the JVM options[class name]
, and

I set these options under Run As -> Run Configurations -> Arguments -> VM arguments.
However, after setting the options the JVM is not outputting any additional debug information.

Exception in thread "main" java.lang.NoSuchMethodError: [package].Argument.getConsole()Lcom/beust/jcommander/internal/Console;

Why is the JVM not outputting the expected debug information?

Answer Source


So it was a conflict with some dependency issue. Basically I had Maven version 1.17 and 1.30 somehow. I deleted the older one and the problem was resolved.