Whenever I try to compile any of my GWT application the compilation fails with the error message "Error: Could not find or load main class com.google.gwt.dev.Compiler". This problem started after I made some changes to the path and classpath environment variables while installing Tomcat, I don't know whether these changes caused the problem. I tried to reinstall GWT plugin but all in vain. Any help would be greatly appreciated. I am using Eclipse 4.3 and GWT SDK 2.6.0.
Run As > Run Configurations, delete the current configuration by clicking on the X top left. Apply and close. Now,
Run As > Web application. A default configuration will be created.
If you have any VM arguments, copy them before doing the steps above.