eclipselink PersistenceUnitLoadingEception in executable JAR

前端 未结 6 1607
别那么骄傲
别那么骄傲 2021-01-13 09:57

I am developing a stand-alone java application which uses eclipselink. It is all fine when I execute the app from eclipse IDE. But I\'ve exported an executable JAR file, and

6条回答
  •  日久生厌
    2021-01-13 10:28

    Right click on the project -> Properties -> Java Build Path -> Order and Export, and select the libraries

    Right click on the project -> Export... -> Runnable JAR file -> Copy required libraries into a sub-folder next to the generated JAR This worked for me.

提交回复
热议问题