20120712 two errors occur. The first one is the error reported when Tomcat is started, and the second is a Heloworld test class.
The current situation was as follows: a relatively old project needs to be developed again. The environment is jdk1.4 and Tomcat5.0. At the beginning of deployment, I did not know the specific version of Tomcat, so Tomcat 5.5 is used. This error is reported when the server is started. Click to display the relevant page and jump to the Tomcat configuration page. At that time, my configuration was correct and the path was correct. I was wondering, where is the error? I searched the internet to find out that the JDK corresponding to Tomcat 5.5 must be 1.5 or above. If you change Tomcat to 5.0, this error will not occur.
The error "main" cannot be found, which is a very low-level error. For the newly created java project, if the compiler of the project is not set to 1.4, the exception is still displayed according to the default 1.5 in the editor. This exception does not occur after modification. This low-level mistake. I hope I will not make it again in the future!