karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3283) karaf.util missing as private package for bundle watcher
Date Fri, 17 Oct 2014 13:30:33 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175052#comment-14175052
] 

Jean-Baptiste Onofré commented on KARAF-3283:
---------------------------------------------

Fixed on karaf-3.0.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=94e08b858e0da6f080d724340a7e5450b876c441

> karaf.util missing as private package for bundle watcher
> --------------------------------------------------------
>
>                 Key: KARAF-3283
>                 URL: https://issues.apache.org/jira/browse/KARAF-3283
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3
>
>
> BundleWatcher doesn't work due to:
> {code}
> Exception in thread "Thread-32" java.lang.NoClassDefFoundError: org/apache/karaf/util/maven/Parser
> 	at org.apache.karaf.bundle.core.internal.BundleWatcherImpl.getBundleExternalLocation(BundleWatcherImpl.java:195)
> 	at org.apache.karaf.bundle.core.internal.BundleWatcherImpl.updateBundleIfNecessary(BundleWatcherImpl.java:144)
> 	at org.apache.karaf.bundle.core.internal.BundleWatcherImpl.run(BundleWatcherImpl.java:100)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.util.maven.Parser not found
by org.apache.karaf.bundle.core [31]
> 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
> 	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 4 more
> {code}
> karaf.util (which is not a bundle) has to be as private package of the bundle bundle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message