Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA validation error in Eclipse Neon persistence.xml(Can't work out file location for <jar-file> entry that will satisfy Eclipse)
JPA validation error in Eclipse Neon persistence.xml [message #1741213] Tue, 23 August 2016 17:30
Adam Hardy is currently offline Adam HardyFriend
Messages: 5
Registered: July 2009
Junior Member
I've spent a couple of hours experimenting and googling and I can't find a solution to this at all.

Eclipse Neon is checking my JPA persistence.xml file in a JPA project and it can't find the required jar file specified in the <jar-file></jar-file> element of the persistence.xml file.

It's also a maven project so the dependency is pulled into the Java Resources Maven dependencies list.

Everything I've seen on the net so far shows example like this

<jar-file>lib/atomic.jar</jar-file>

which doesn't work in my Eclipse. I've tried a lot of variations like file:///d://m2-repo/org/myproj/atomic.jar but as yet I haven't hit on the successful path.

Thanks
Adam
Previous Topic:Treat operator interpretation
Next Topic:Signaling documentation errors
Goto Forum:
  


Current Time: Fri Mar 29 00:28:27 GMT 2024

Powered by FUDForum. Page generated in 0.02846 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top