WTF??
I really appreciate your help Michael, sometimes I think I´m a bit "
masochistic"...
Now I have my example working fine and I think I´m going to integrate
geotools in my application. It works great!
It´s time to learn more about customization, styles, etc. but at least it
works.
Thanks again Michael, this mail list really works!
Alberto Silva López.
Researcher and Software Developer @ University of A Coruña (UDC).
2010/12/15 Michael Bedward <[email protected]>
> Hi Alberto,
>
> I hate to tell you this but you have been doing it the hard way.
> Instead of building GeoTools with Maven yourself you can just download
> the binaries zip file which should contain all of the non-GeoTools
> jars that you need such as GeoAPI and JTS.
>
> I just checked geotools-2.6.5-bin.zip from here...
>
>
> http://sourceforge.net/projects/geotools/files/GeoTools%202.6%20Releases/2.6.5/
>
> ...and the third-party jars where present.
>
> Michael
>
> On 16 December 2010 04:15, Alberto Silva <[email protected]> wrote:
> > Hi,
> > First of all, sorry for my poor english ;)
> > I´m trying go use Geotools in my application (developing in NetBeans
> 6.9.1).
> > I´ve a lot of code already written and I don´t want to use Maven.
> > I´ve downloaded the geotools .zip file and obtained de binaries making a
> > "mvn clean install".
> >
> > I tryed to create a simple proyect in NetBeans as described in Geotools
> web
> > page "QuickStart":
> > http://docs.geotools.org/stable/userguide/quickstart.html#example-code
> >
> > But I get error compiling code.
> > First time, a NoClassDefFoundError of
> org.opengis.coverage.grid.GridCoverage
> > , I searched the cause and I realized that class was in other
> libraries...
> > GeoAPI. I downloaded the libraries and added them to my project.
> >
> > Then, compilation was ok, but when I tryed to run, other
> > NoClassDefFoundError of class org.opengis.style.StyleFactory. I searched
> the
> > cause and realized that class wasn´t in the jars of geoAPI added
> before... I
> > searched the missing class and added to my project.
> >
> > Compilation was OK again, but at run time, it failed again. This time,
> > another NoClassDefFoundError for class
> org.vividsolutions.jts.geom.Geometry.
> > I went to Vivid solutions page, downloaded de clasess, and added to my
> > project.
> >
> > After that the program ran but when I select the shapefile...it crashes
> > again with another exception...
> >
> > The question is...
> > ¿Could anyone make work geotools without Maven? I now maven downloads all
> > library dependencies...but this page of geotools sais that is possible to
> > run geotools without Maven:
> > http://docs.geotools.org/latest/tutorials/quickstart/netbeans.html
> >
> > It´s seems to be vety easy in the tutorial, but I´ve been hours trying to
> do
> > it...and I´m going crazy!
> >
> > Help please!!!
> >
> > Alberto Silva López.
> >
> > Researcher and Software Developer @ University of A Coruña (UDC).
> >
> >
> >
> ------------------------------------------------------------------------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users