bug1:
org.apache.maven.archiver.MavenArchiver.getManifest
(org.apache.maven.project.MavenProject,org.apache.maven.archiver.MavenArchiveConfiguration)
pom.xml /testsql line 1 Maven Configuration Problem
help ->Install New Software -> add ->https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST(已经失效)
后来用这个:http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/
好吧,失败了。。。。。。
bug2:
Java compiler level does not match the version of the installed Java project facet.
1、设置java Build Path里的jdk版本:点击项目右键–properties—java Build Path设置jdk为1.8
2、设置java compiler里的jdk版本:点击项目右键–properties—java compiler设置jdk为1.8
3、点击项目右键–properties---project Facets设置java文件的版本为 1.8,并打勾。
bug3:
cvc-complex-type.2.4.c: The matching wildcard is strict...
在xsi:schemaLocation 加上:
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
bug4:
Cannot change version of project facet Dynamic web module to 3.1
跟他走!-->https://blog.csdn.net/changjizeng512/article/details/53994504
bug5:
The import javax.persistence cannot be resolved
是因为缺少相关jar包和jpa,在pom.xml中加入依赖即可
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa</artifactId>
<version>2.6.0</version>
</dependency>