The point is everything just works fine if we package the Jersey Libraries in EAR-MODULE/lib. Naturally because in that case the TempClassLoader is used and it's getResource method lists the URI with out trailing slash. However putting the Jersey libraries in EAR/lib bothers me because that would make these apply to all Web modules in my EAR - whether they have or don't have REST API feature.
-- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Classloading-issues-integrating-Jersey-2-16-and-apache-tomee-plus-7-0-0-tp4678794p4678973.html Sent from the TomEE Dev mailing list archive at Nabble.com.