Hi Sten,

Actually, karaf.util should be as private package (as it's not a bundle).

It's a bug and I'm fixing that (I create the Jira).

Regards
JB

On 10/14/2014 08:23 AM, Sten Roger Sandvik wrote:

Hi.

First off, congratulations with the Karaf 3.0.2 release!

And, now the sad part. I have trouble with bundle:watch and get this error:

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

It seems that the required "org.apache.karaf.util" dependency is missing from bundles in 
startup.properties. To fix the problem I manually installed "org.apache.karaf.util" 
using: install mvn:org.apache.karaf/org.apache.karaf.util/3.0.2

Maybe some other commands will break becouse of this missing dependency?


Vennlig hilsen/Best regards
Enonic AS

Sten Roger Sandvik
Development Manager
+4795997084

http://enonic.com/try - Free Enonic CMS trial in the cloud





--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to