[
https://issues.apache.org/jira/browse/JCR-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826465#comment-15826465
]
Eric Norman commented on JCR-4099:
----------------------------------
For clarity, below is the specific error it reports when jackrabbit-jcr2spi
doesn't fully export the org.apache.jackrabbit.jcr2spi package from the
jackrabbit-jcr2spi bundle :
Caused by: java.lang.ClassNotFoundException:
org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory$RepositoryConfigImpl
cannot be found by org.apache.jackrabbit.jackrabbit-jcr2dav_2.12.6
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:389)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 50 more
> Export org.apache.jackrabbit.jcr2spi package from jackrabbit-jcr2spi bundle
> ---------------------------------------------------------------------------
>
> Key: JCR-4099
> URL: https://issues.apache.org/jira/browse/JCR-4099
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr2spi
> Affects Versions: 2.12.6, 2.14.0
> Reporter: Eric Norman
>
> The code in the jackrabbit-jcr2dav library requires additional code from
> org.apache.jackrabbit.jcr2spi package to be visible to the classloader.
> So for usage of the jackrabbit DavEx remoting in an OSGi environment, the
> jackrabbit-jcr2spi bundle would need to more fully export the package so an
> OSGi bundle version of the jackrabbit-jcr2dav library can import that package
> to produce a working BundleWiring solution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)