You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Sten Roger Sandvik <sr...@enonic.com> on 2014/10/14 08:23:00 UTC
Problems with bundle:watch [Karaf 3.0.2]
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
Re: Problems with bundle:watch [Karaf 3.0.2]
Posted by Sten Roger Sandvik <sr...@enonic.com>.
Wow. That was a quick reply :-) Thanks.
----- Original Message -----
From: "Jean-Baptiste Onofré" <jb...@nanthrax.net>
To: user@karaf.apache.org
Sent: Tuesday, October 14, 2014 8:44:34 AM
Subject: Re: Problems with bundle:watch [Karaf 3.0.2]
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Problems with bundle:watch [Karaf 3.0.2]
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Problems with bundle:watch [Karaf 3.0.2]
Posted by Sten Roger Sandvik <sr...@enonic.com>.
Sorry about that. I did not get that to work by installing mvn:org.apache.karaf/org.apache.karaf.util/3.0.2 since it's not a vaild bundle.
----- Original Message -----
From: "Sten Roger Sandvik" <sr...@enonic.com>
To: user@karaf.apache.org
Sent: Tuesday, October 14, 2014 8:23:00 AM
Subject: Problems with bundle:watch [Karaf 3.0.2]
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
Re: Problems with bundle:watch [Karaf 3.0.2]
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
FYI
https://issues.apache.org/jira/browse/KARAF-3283
Regards
JB
On 10/14/2014 08:23 AM, Sten Roger Sandvik wrote:
> 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
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com