Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.8
-
None
-
None
-
OSX
Description
We have a tool that loads libraries for our plugins at runtime. Jackrabbit-Standalone is loaded and is needed to connect to Adobe Experience Manager. However, when I try to run the rule I get
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/apache/jackrabbit/commons/JcrUtils
at com.pci.scriba.plugin.aem.AddTextNodeAdobePageRule.updateAEM(AddTextNodeAdobePageRule.java:94)
at com.pci.scriba.plugin.aem.AddTextNodeAdobePageRule.execute(AddTextNodeAdobePageRule.java:70)
at com.pci.scriba.core.rule.RuleWrapper.executePrivate(RuleWrapper.java:27)
at com.pci.scriba.core.rule.Rule.execute(Rule.java:617)
at com.pci.scriba.core.rule.RuleSet.execute(RuleSet.java:272)
at com.pci.scriba.core.rule.RuleSetInterpreter.run(RuleSetInterpreter.java:64)
at com.pci.scriba.engine.subsystems.job.JobRunner.run(JobRunner.java:72)
Caused by: java.lang.ClassNotFoundException
at com.pci.util.plugin.JarInfoClassLoader.findClass(JarInfoClassLoader.java:71)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
If I add JackRabbit-Standalone to the classpath before hand I do not get this error. We have loaded hundreds of jars using our plugin loader and this is the first time I have experienced something like this.