social-p2p
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Social-p2p] Getting up and running with Java: (i) json gem needed (


From: Ted Smith
Subject: Re: [Social-p2p] Getting up and running with Java: (i) json gem needed (ii) org.apache.commons.cli.CommandLineParser missing
Date: Wed, 14 Jul 2010 11:28:31 -0400

On Wed, 2010-07-14 at 16:34 +0200, Dan Brickley wrote:
> Suggestions for improving the install notes
> 
> My notes from #social-p2p as I tried to get running with a snapshot of
> the Git repo, this morning:
> 
> <danbri> FYI to run 'spec .', I also needed to do "gem install json"
> 
> (ie. this should go on the list of dependencies)

Indeed. I seem to remember working around this earlier, but I guess I
never got around to marking it down somewhere.
> 
>  <danbri> and i get an error,
>  <danbri> Starting core 0
>  <danbri> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/CommandLineParser
>  <danbri> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.CommandLineParser
>  <danbri> maybe Maven failed on that one...
>  <danbri> grepping my maven package install log,  grep -i command
> maven.txt  -> finds nothing
>  <danbri> (just from the package lists that scrolled past in stdout)
> 
> I'm not a Maven maven, but assume this last hiccup is probably
> something trivial. Something missing from the maven config?

It didn't find anything because CommandLineParser isn't a package - it's
just a class in apache-commons-cli, which should be pulled in by Maven.
Do you have it?

> ps. I sent my contributor paperwork back to FSF for the GNU Social
> project; does that work for the P2P effort too, hopefully? Or more
> papers needed separately...
> 

Nope, we're also part of the GNU Social package, so you're contributing
to that.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]