On 28/01/2013 09:51, Jaume Ortolà i Font wrote:
2013/1/28 Mauro Condarelli <mc5...@mclink.it <mailto:mc5...@mclink.it>>
Sorry to disturb, people.
I've been using Eclipse previously.
Now I followed instructions for the maven repack.
Everything went ok, but I can't start the commandline:
mcon@vmrunner:/srv/Store/Language/languagetool/languagetool-standalone/target$
java -cp languagetool-standalone-2.1-SNAPSHOT.jar
org.languagetool.commandline.Main
Exception in thread "main" java.lang.NoClassDefFoundError:
org/languagetool/Language
Hi Mauro,
I think you have to run the files not from the "target" folders but
from your local maven repository.
By default, Maven local repository is:
Unix/Mac OS X -- ~/.m2
Windows -- C:\Documents and Settings\{your-username}\.m2
Jaume
Thanks Jaume,
Something is still missing.
My .m2/repository directory contains a lot of libs (.jars & .pom) deeply
nested, but nothing really about LanguageTool itself.
I can try to patch a classpath myself, but I strongly suspect maven
should be able to help.
Actual classpath will have to be a mix of the .m2/repository AND target.
Can someone point me in the right direction, please?
TiA
Mauro
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel