MyEclipse报错:
Build path is incomplete. Cannot find class file for javax/persistence/EntityManagerFactory
解决方案:
引入依赖
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0.2</version>
</dependency>