Exception in thread "main" java.lang.NullPointerException
뜨는 이유 :  main 메서드를 찾지 못했을 때 일어나는 에러다. 
main이 존재하지 않거나 선언부(public static void main(String[] args))가 
잘못 선언되면 일어나는 에러다. 
 main 메서드가 잘 선언되있는지 살펴보면 될 것이다.

+ Recent posts