How to debug with external library (jar file) supplied?
Answered
In the source file I use some function from external library (already added in project structure). I can run the file successfully.
However, when I click on debug, it throws a
NoSuchMethodException
Any possible solution?
Please sign in to leave a comment.
It should work the same in run and debug. Please share a sample project to reproduce.
Hi,
sample code is pasted here: https://paste.ubuntu.com/p/tdrRm7jgJx/
with algs4.jar supplied: https://algs4.cs.princeton.edu/code/algs4.jar
(Added in project structure -> Libraries)
Well, I'm not able to reproduce this on another computer...
Just deleted the config files for Idea and restart --
It works now!