java "hello world" scratch complains about NoClassDefFoundError for log4j or RendererMap

Answered

I tried to create this very simple scratch in IntelliJ IDEA 2016.3.2 but when i compiles I end up with "Error:java: java.lang.NoClassDefFoundError: org/apache/log4j/or/RendererMap". What do I have to change to be able to run scratches?

class Scratch {

public static void main(String[] args) {
System.out.println("Hello");

}
}

0
1 comment

Can't reproduce. Probably your IDE installation is corrupted, try to reinstall from http://www.jetbrains.com/idea/download/index.html into an empty directory.

0

Please sign in to leave a comment.