My computer is macmyeclipse is 2015javase-1.7
I right-click to create a maven project->check create a simple project...
Click next
The Group Id entered is com.atguigu
Artifact Id entered is ssm-crud
Packaging: war
Click finish
The generated maven project will have errors directly,
The error is pom.xml
The error reported is:
Cannot detect Web Project version. Please specify version of Web Project through
E.g.:
plugin>
Write in the pom file
maven-war-plugin 3.0
After
update project
After
Report maven requires java 1.6 or newer error
Please give me some advice.
Add another plugin maven-compile-plugin to make 1.6
There are a lot of questions this evening. If you have any questions, go to Baidu first. If you can’t find the answer, ask again. You can practice your information query skills