What is the compilation error?
Severe: Compilation error
Check the project from svn, you need to configure jdk and tomcat for the project, configure it, and run the project. When the error shown below is reported, check jdk and jre.
1. Find the server in the console, find the tomcat where the program is running, double-click to open it, find the Open launch configuration, open
2. Find Classpath and check whether the version of jre matches jdk. (If it does not match, please look down)
3. Right-click on the project, select Properties, open Java Build Path,
4. Follow the steps, find the jdk, click Edit
.
5. Find the jre that matches the jdk, that's it.
Recommended: "java learning"
The above is the detailed content of What is compilation error?. For more information, please follow other related articles on the PHP Chinese website!