> This Vinoth from Delhi. I am new for this project. I > can't find out clearly how to use this project.pleses > explain brief. > > I was downloaded geotools-bin-2.0.0.zip and extract > all the jar files and I put all files in org/geotools/ > And I download MapViewer.java and I compiled .it was > compiled fine. and created MapViewer.class file..but I > cant run this file > > > When I am running this file I got following error > message. > > d:geonew>java MapViewer
You have to supply the classpath which will tell where there classes are, i.e. java -classpath pathtogeotoolsjar1:etcetc:. MapViewer the dot after the last colon is the current folder, where the MapViewer resides. Andrea > > Exception in thread "main" > java.lang.NoClassDefFoundError: MapViewer (wrong name > at java.lang.ClassLoader.defineClass1(Native > Method) > at > java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 > at > java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > at > java.net.URLClassLoader.access$100(URLClassLoader.java:56) > at > java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at > java.security.AccessController.doPrivileged(Native > Method) > at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > > > please help me regarding this > > thanking you > > > Regards > > R.Vinoth > > > > > __________________________________________ > Yahoo! DSL Something to write home about. > Just $16.99/mo. or less. > dsl.yahoo.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- ____________________________________________________________________________ HydroloGIS - Environmental Open Source Solutions www.hydrologis.com Andrea Antonello Environmental Engineer mobile: +393288497722 "Let it be as much a great honour to take as to give learning, if you want to be called wise." Skuggsja' - The King's mirror - 1240 Reykjavik ____________________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
