Solution: Goto project --> properties --> Build Path . Change the output folder to some other name ( usually it will be bin , change to bin1 etc ).
Root Cause : Not known .
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Problem: A java error comes .... "ClassNotFoundException a.b.c.DOMParser" .. During compile time / run time
Solution: Find out the jar file for this class and append the path to the classpth variable. Ex: add D:\Hui\xcers.jar to classpath to support DOMParser
Root Cause : No class file found in the class path .
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Problem: Tomcat was getting started and closed immediately without server stating completely.
Solution: The CLASSPATH environment variable was having 2 values "D:\xx\xxxx\tools.jar;D:\xx\xxxx\xcerse.jar"
I removed the last one and the semicolon.Tomcat is coming up and running.
Root Cause: NO idea....
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Problem: When compiled a project, an error is shown ==> "
The hierarchy of the type is inconsistent"
Solution: Find the classes which the faulty class extends and make those base classes compile clean / If they are missed in the project source files, add them.
Root Cause : Suppose the class name here is A and A extends B, then the error is shown ifB is not compile clean / It is missed in the project source files.