Yuk - don't know :(  From the error message, NB has built the program
and then java has hit a problem when trying to run it but there's not
much info to go on.

I happy to have a look at your code and pom in case there is an
obvious problem there - but it looks like it's more likely to be
something else on your classpath.

In the event that it's not a problem in your code, and if no one else
on the list can suggest what's happening - I'd try deleting your
entire local repository (everything from the .m2 dir downwards) then
doing a clean and build from netbeans.  The build will take a while
because maven will be downloading heaps of basic stuff again.

Michael

2008/7/14 fx5900 <[EMAIL PROTECTED]>:
>
>
> Oops, sorry, schoolboy error, apologise...:(. I have just managed to build
> the app successfully, when i try to run it i get this message:
>
> [ERROR]The following mojo encountered an error while executing:
> [ERROR]Group-Id: org.codehaus.mojo
> [ERROR]Artifact-Id: exec-maven-plugin
> [ERROR]Version: 1.1
> [ERROR]Mojo: exec
> [ERROR]brought in via: Direct invocation
> [ERROR]While building project:
> [ERROR]Group-Id: org.GeoNamesTestApp
> [ERROR]Artifact-Id: GeoNamesTestApp
> [ERROR]Version: 1.0
> [ERROR]From file: C:\MyNBProjects\GeoNamesTestApp\pom.xml
> [ERROR]Reason: Result of cmd.exe /X /C ""C:\Program
> Files\Java\jdk1.6.0_02\bin\java.exe" -classpath
> "C:\MyNBProjects\GeoNamesTestApp\target\classes;C:\Documents and
> Settings\luong\.m2\repository\org\geonames\geonames\1.0\geonames-1.0.jar;C:\Documents
> and Settings\luong\.m2\repository\sax\sax\2.0.1\sax-2.0.1.jar"
> org.GeoNamesTestApp.App" execution is: '1'.
>
> After you build and clean an app and get error like this, what is the
> standard procedure to resolve this? By the way, i'm getting used to using
> the Maven dependency thingy. I can see why people like it so much.
>
> Cheers
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to