Why do I get "java.lang.NoClassDefFoundError: sun/tools/javac/Main" ?
Created May 7, 2012
Alex Chaffee java.lang.NoClassDefFoundError: sun/tools/javac/Main
means that your classpath is not set correctly. Make sure your JAVA_HOME is set up right before you run the tomcat or startup scripts. If that doesn't do it, see these FAQs: