Background project to build

To create a maven project:

As shown, you will find the generated project directory is not what you want, because:

jdk in eclipse compiler to compile faster than the speed maven.

Solution: Let jdk re-compile it

The directory structure after the project becomes normal.

Problem: Create a project out of the default version is web2.3, the version a bit low, now mainly used version 2.5 or 3.0

Solution:

The web front module √ cancel, click apply, then the choice of √, and select 2.5 and click apply

 

  

 

Guess you like

Origin www.cnblogs.com/shiyun32/p/10962427.html