Hi there,

I'm hoping this would be quick for someone who knows how this works,
but I got stuck trying to run one of the commands in jclouds-karaf
after making a change to the source code in
BlobStoreCommandWithOptions. Here's the invocation I'm trying:
java -cp 
feature/target/features-repo/org/apache/jclouds/jclouds-core/1.8.0-SNAPSHOT/jclouds-core-1.8.0-SNAPSHOT.jar:commands/target/commands-1.8.0-SNAPSHOT.jar
org.jclouds.karaf.commands.blobstore.ContainerListCommand

And the error is:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/karaf/shell/console/AbstractAction
Caused by: java.lang.ClassNotFoundException:
org.apache.karaf.shell.console.AbstractAction

Is there an additional jar I'm missing in the classpath? I found that
this should be coming from the ChefCommandBase class, but not sure
what I'm doing wrong in terms of pulling it in.

I also looked at the invocation of jclouds-cli, and found that it
pulls in this additional jar:
org.apache.karaf.shell.console-2.3.2.jar, however, I can't find it in
the karaf tree. I did run mvn package beforehand.

Where does that jar get created? Or is there a better way to go about
this or documentation I could skim on how this works?

Thank you!

-- 
Cheers,
Timur

Reply via email to