Dear All,

I recently noticed that when I try to uninstall a feature, karaf console
throws the following exception:

*Error when instantiating bean shell-26 of class
org.apache.karaf.features.command.Uninstall Feature Command
*

Looking at the source code, I found that the following bundles did not have
the dependency on felix gogo runtime.

1. org.apache.karaf.features.command
2. org.apache.karaf.jdbc.command
3. org.apache.karaf.jms.command
4. org.apache.karaf.jndi.command

After adding the following dependency, I was able to uninstall a feature
without any issues.

<dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.runtime</artifactId>
            <scope>provided</scope>
</dependency>

best regards
Sriraman.





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-0-2-SNAPSHOT-missing-dependency-on-felix-gogo-runtime-for-certain-command-features-tp4035565.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to