[Solved] Run as java application not working


You absolutely need a main method to run this class, consider there is no instance of this class created in a different class (even then, it would have to have a main method).

EDIT: I guess if your goal is to run the addNotificationMessage1() method, you could create the following main method:

public static void main(String[] args){
     addNotificationMessage1();
}

1

solved Run as java application not working