Hi, according to my experiments SFS2X classloaders do not load classes in jars that are inside of other jars
the solution is simply to expand the other jars, but I think that jar-jars (nested jars) are a really nice way to
package projects and if it is not really hard to support them would be a nice addition.
Details of project structure:
extrension-shared.jar (shared model classes, and other dependencies such as jedis.jar for persistence to Redis, etc.)
extension.jar (zone extension, only classes no jars but references classes inside extension-share.jar)
The code inside extension.jar issues a NoClassDefFound exception when trying to instantiate an object inside jedis.jar (which is inside extension-shared.jar)
If I explode jedis.jar, extension works properly.
I would be glad if you could suggest a way to work wih jar-jars and/or consider this as a feature for future releases
Thanks and Regards
Jar-Jars are not loaded
Re: Jar-Jars are not loaded
Yes, absolutely. Jars inside jars won't work.
Who is online
Users browsing this forum: No registered users and 56 guests