I checked the MANIFEST.MF in the other class's jar and noticed that in the
Import-Package section I was missing the following in the pom.xml for my
project:

,org.apache.karaf.shell.commands;resolution:=optional;version="[3.0,4)"
,org.apache.karaf.shell.console;resolution:=optional;version="[3.0,4)"

After adding this to the pom.xml for the maven-bundle-plugin section,
rebuilding and re-installing, the exception is not reproducing.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Schema-for-custom-shell-commands-tp4029047p4035582.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to