Debugger doesn't find imported classes in Java

I’m trying to debug my code but the debugger doesn’t see the imported libraries.

Here’s my project where the bug appears.

Here’s the exception I see on the console:

Exception in thread "main" java.lang.NoClassDefFoundError: org/json/simple/parser/JSONParser
    at Main.salvaPartita(
    at Main.main(
Caused by: java.lang.ClassNotFoundException: org.json.simple.parser.JSONParser
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
    at java.base/java.lang.ClassLoader.loadClass(
    ... 2 more