1. Right-click the project and select Preferences ->; Search project called Facets – & gt; Go to Java and select compile environment 1.7, enter Runtime, select a Tomcat, and click New:

Select Tomcat7, click Apply, and click OK:

Click Configuration, select the Tomcat you just selected, when done, click Apply, and click OK:

Then select the project and right-click ->; Select Build Path ->; Select Configure build path:

Select libraries – & gt; Select the JRE System Library ->; Click Edit to change the compile environment:

Select the default build environment, mine is JDK 1.8, and click Finish:

Select Tomcat7, click Apply, and click OK:

Click Configuration, select the Tomcat you just selected, when done, click Apply, and click OK:

Then select the project and right-click ->; Select Build Path ->; Select Configure build path:

Select libraries – & gt; Select the JRE System Library ->; Click Edit to change the compile environment:

Select the default build environment, mine is JDK 1.8, and click Finish:

Read More:
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- eclipse cdt Program “make” not found in PATH
- Solution to the error of @ resource annotation in eclipse spring
- How to Fix Tomcat Error: Failed to destroy end point associated with ProtocolHandler[ajp-nio-8009]
- Environment configuration at the beginning of OpenCV + vs2015
- Syntax error, insert “Finally” to complete TryStatem in Myeclipse in Java-
- Eclipse cannot import org.apache.log4j .Logger
- nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so
- Pychar configures Anaconda environment
- [VTK] cmake compiling VTK
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- Vs2013 compiling ffmpeg
- IntelliJ idea community community integrated Tomcat or jetty tutorial
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- Mobile app development: installation and configuration of react native
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Installation library on pychar (taking pandas for example)
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- Eclipse automatic prompt setting method and optimization
- Opencv: the application can’t start normally