Hi Joel,

> when you say cleaned out the geotools jars from local repository you mean
> the Maven .m2 repository folder?

Yes - I did "rm -rf ~/.m2/repository/org/geotools". For a snapshot
build it shouldn't matter but I was trying to reproduce your situation
as closely as I could.

> I did everything as you mention, only I emptied out the Maven .m2 repository
> folder but got the same error.
>
> I was wondering if the picture 1.png that I attached should read the 3.0
> snapshot? or should it be 8 snapshot? Or is this setting irrelevant here?

That looks like it is referring to the version of Maven used when
building within Eclipse. Jody has been using Maven 3 successfully but
I am still using Maven 2. I guess the "Add" button allows you to
register an external Maven. However, I doubt that your issue is
related to this because you get the same error when building with
Maven 2.2.1 from the command line don't you ?

> After that I am only left with trying this out with Netbeans :) and hope
> that it works there.

Well NetBeans is, of course, far superior to Eclipse :)  But I
wouldn't go to the trouble of installing and learning it in the hope
that it will fix this issue because I don't see how it will make any
difference. The bottom line is that if you can't get it to build and
run from the command line then it's not going to work in an IDE.  I
still believe that there *must* be one or more jars on your classpath
that are out of whack but I've no idea how to track them down.

When you run mvn --version from the command line does it list the same
Java as when your run java -version ?  On my system, the command line
maven uses the default OSX Java unless I set the JAVA_HOME environment
variable.

Michael

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to