EclipseLink 2.7.0 and JPA API 2.2.0 - signature mismatch

前端 未结 10 1592
滥情空心
滥情空心 2020-12-03 04:31

When running a project built by maven with the following dependencies:

        
            org.eclipse.persistence         


        
10条回答
  •  时光说笑
    2020-12-03 05:01

    Obinna's answer is correct; I guess that there was an issue with eclipselink 2.7.x –as George indicated. I had a similar issue when upgrading eclipselink, but it was just wrong artefacts. The initially described issue seems to be a result of externally referencing javax.persistence level - it is definitely not necessary.

    Proper maven configuration can be found in eclipselink wiki: https://wiki.eclipse.org/EclipseLink/Maven

提交回复
热议问题