[ 
https://issues.apache.org/jira/browse/JCR-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved JCR-3807.
---------------------------------
    Resolution: Cannot Reproduce

> Problem loading classes at runtime
> ----------------------------------
>
>                 Key: JCR-3807
>                 URL: https://issues.apache.org/jira/browse/JCR-3807
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-standalone
>    Affects Versions: 2.8
>         Environment: OSX
>            Reporter: Ben Todd
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to