Bug#932749: Debian packaging of EclipseLink is missing essential classes

Sergio Gelato sergio.gelato at astro.su.se
Mon Jul 22 18:40:25 BST 2019


Package: libeclipselink-java
Version: 2.6.6-1
Severity: grave

When running a very simple test application, or indeed any production application I have at hand, using the Debian-packaged version of EclipseLink, I run into the following error when calling javax.persistence.Persistence.createEntityManagerFactory:

[...]
Caused by: java.lang.ClassNotFoundException: org.eclipse.persistence.internal.libraries.asm.ClassVisitor
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 9 more

Indeed eclipselink-2.6.6/debian/excludesfiles/build contains the following line:

org/eclipse/persistence/internal/libraries/**

I conclude that the Debian packaging of EclipseLink is unusable at the moment, hence the severity setting. (The same applications work fine with upstream's eclipselink.jar. I'm not sure why this library is packaged in Debian, as nothing in buster seems to depend on it.)


More information about the pkg-java-maintainers mailing list