[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Make multipolygon borders less detailed?
|
Hi Andrea,
I can see that the manifest file is built by you:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: aaime
Build-Jdk: 1.5.0_18
Main-Class: org.geotools.data.gen.tool.Toolbox
Class-Path: geoapi-2.2.0.jar jsr-275-1.0-beta-2.jar gt-api-2.5-SNAPSHO
T.jar jts-1.9.jar vecmath-1.3.1.jar gt-metadata-2.5-SNAPSHOT.jar gt-m
ain-2.5-SNAPSHOT.jar jdom-1.0.jar commons-beanutils-1.7.0.jar commons
-logging-1.1.1.jar gt-data-2.5-SNAPSHOT.jar gt-shapefile-2.5-SNAPSHOT
.jar velocity-1.4.jar velocity-dep-1.4.jar
When I do this in a cmd shell:
cd <GEOSERVER_DATA_DIR>/data/test/0
java -jar <GEOSERVER_INSTALLATION>/WEB-INF/lib/gt-feature-pregeneralized-2.5.SNAPSHOT.jar generalize test.shp . 5,10,20,50
..I get the error message in the previous mail. Do you know why? The Main-Class is clearly defined.
Jan
On Wed, Sep 2, 2009 at 1:31 AM, Jan Henrik Øverland
<janhenrik.overland@xxxxxxxxx> wrote:
Seems to be some manifest telling where to look for the main class missing, right? What to do?
I'm running the web archive version 1.7.5.On Wed, Sep 2, 2009 at 1:24 AM, Jan Henrik Øverland
<janhenrik.overland@xxxxxxxxx> wrote:
This is probably exactly what I need, thanks. Unfortunately I get an error message during the "getting started" instructions. I have downloaded gt-feature-pregeneralized-2.5-SNAPSHOT.jar and feature-pregeneralized-1.7.5.jar and put them into WEB-INF/lib. When I run the java command I get the following:
Exception in thread "main" java.lang.NoClassDefFoundError: org/geotools/data/FileDataStoreFactorySpi
Caused by: java.lang.ClassNotFoundException: org.geotools.data.FileDataStoreFactorySpi
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.geotools.data.gen.tool.Toolbox. Program will exit.
Jan