Import Eclipse Dynamic Web project to the problems encountered

One problem: When you create a dynamic web project, the project file without error error

At that time Solution: Direct click the project -> properties-> project facets will jdk 1.8 version can be changed

Figure:

 

Second problem: Tomcat port is occupied

At that time Solution: cmd-> netstat -ano-> find 8888 corresponding PID is occupied, this is my 6604, then enter tasklist | findstr "6604".

                         Been occupied by the process as javaw.exe, then taskkill / f / t / im javaw.exe can be.

Question three: pringmvc.xml imported <mvc: annotation-driven /> given

At that time Solution: jdk changed to 1.8, the process as a problem.

               

Guess you like

Origin www.cnblogs.com/zhangsblog12345/p/11028173.html