|
I'm not sure where is the bug, sorry if I'm wrong.
I can reproduce it in the following way:
Creating tests backed by OpenEJB, I add a dependency in test scope, which have other dependency, which have more beans and another PersistenceContext.
Something like: Root <- dep <- Persistence
Anyway, what happens is that somehow the FileZippedJarVisitor searches for Persistence.jar inside dep.jar, like dep.jar was a directory, throwing a FileNotFoundException.
I describe a little more this bug in stackoverflow (http://stackoverflow.com/questions/16422225/hibernate-filezippedjarvisitor-error-in-test-jar), if you need any more info, please let me know.
|