For the dependecies,gt-xsd-sld, i was trying to look for this in the repository, in particular, http://maven.geotools.fr/repository/org/geotools/ but could not find the jar file you mentioned unless it has not been updated.
Also, with regards the GeoTools version, i'm not actually using any geotools jar file because on the repo site http://maven.geotools.fr/repository/org/geotools/geotools/, there is no associated jar file that i can download from and so when i do something like this <dependency> <groupId>org.geotools</groupId> <artifactId>geotools</artifactId> <version>2.5.3</version> </dependency> i just get an error telling me i need to manually install it using mvn command which i know how to do, but again i can't because there is not jar file for this. I've downloaded the zip files of 2.5.5 on my c drive, but since i'm using my project is a maven project, when i click on the libraries folder, there isn't an option where i can simply load a jar from my local directory without having to give the artifact and groupid ect, unless i change my whole project into a standard java project, if that makes any sense at all. Also, after downloading the zip files, this might sound silly, but which folder do i need to convert into the jar file to be loaded into my maven project?(although, again i can't really do that because there is no option to do so) Cheers mbedward wrote: > > Hi Luong, > > I've moved your question to the users' list... > >> i am going through this tutorial >> http://docs.codehaus.org/display/GEOTDOC/SLD+XML+Support and wanted to >> know >> if org.geotools.xml.Configuration = new >> org.geotools.sld.SLDConfiguration(); >> org.geotools.xml.Parser parser = new org.geotools.xml.Parser( >> configuration >> ); >> >> was out of date, because i'm attempting to display the road names from my >> .dbf file with the help of my .sld file but everytime i use the code >> lines, >> i get an error saying class not found. I also manuallly installed >> gt2-xml-sld and gt-xml so it can recognise it but i keep getting the same >> error. Am i missing any other jar files for this or have i lost the plot? > > I've edited the code example on that page to make it a little clearer > (I hope). Please try it now. > > Regarding dependencies: for that example you only need to specify the > gt-xsd-sld in your pom.xml. Maven will automagically round up the > other required dependencies for you. > > Hope this helps > > Michael > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://n2.nabble.com/Re%3A-SLD-XML-TUT-Query-tp3046875p3049189.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users