Hi,
I just downloaded the REST plugin, which I learned is just a jar file called
restconfig-1.7.4.jar, and I put it in the WEB-INF\lib directory (i.e.,
C:\dev\Tomcat 6.0\webapps\geoserver\WEB-INF\lib). When I restart Tomcat and
try to go to http://localhost:8080/geoserver, I get an HTTP 404 error. When
I remove the jar file and restart Tomcat, I'm able to get to the GeoServer
homepage.
I checked my Tomcat logs, and I'm getting the 404 error because of the
following exception:
Cannot find class [org.geoserver.rest.RESTMapping] for bean with name
'restConfigMapping' defined in URL
[jar:file:/C:/dev/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/restconfig-1.7.4.jar!/applicationContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.geoserver.rest.RESTMapping
When I open the jar file in WinZip, I see that there isn't a class called
org.geoserver.rest.RESTMapping. In fact, the directory structure is
org.geoserver.catalog.rest.*, not org.geoserver.rest.*. So, I'm a bit
puzzled...
Am I using the wrong jar file?
Thanks,
Sam C
--
View this message in context: http://www.nabble.com/REST-plugin-not-working-tp23731878p23731878.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
hi Sam,
That error indicates to me that it could be a version issue. What versio n of GeoServer are you running? The restconfig plugin will require a recent version of 1.7.x. > 1.7.2 I think.
-Justin
samclemmens wrote:
Hi,
I just downloaded the REST plugin, which I learned is just a jar file called
restconfig-1.7.4.jar, and I put it in the WEB-INF\lib directory (i.e.,
C:\dev\Tomcat 6.0\webapps\geoserver\WEB-INF\lib). When I restart Tomcat and
try to go to http://localhost:8080/geoserver, I get an HTTP 404 error. When
I remove the jar file and restart Tomcat, I'm able to get to the GeoServer
homepage.
I checked my Tomcat logs, and I'm getting the 404 error because of the
following exception:
Cannot find class [org.geoserver.rest.RESTMapping] for bean with name
'restConfigMapping' defined in URL
[jar:file:/C:/dev/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/restconfig-1.7.4.jar!/applicationContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.geoserver.rest.RESTMapping
When I open the jar file in WinZip, I see that there isn't a class called
org.geoserver.rest.RESTMapping. In fact, the directory structure is
org.geoserver.catalog.rest.*, not org.geoserver.rest.*. So, I'm a bit
puzzled...
Am I using the wrong jar file?
Thanks,
Sam C
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Hi Justin,
I'm using Geoserver 1.7.4...and I discovered this morning that the correct
REST plugin to use is 1.7.2. Seems 1.7.4 and 1.7.3 contain only one jar
file, whereas 1.7.2 contains two. I'm no longer getting that exception.
Next step for me is to load a Shapefile... Thank you for your help.
Sam
Justin Deoliveira-6 wrote:
hi Sam,
That error indicates to me that it could be a version issue. What versio
n of GeoServer are you running? The restconfig plugin will require a
recent version of 1.7.x. > 1.7.2 I think.
-Justin
samclemmens wrote:
Hi,
I just downloaded the REST plugin, which I learned is just a jar file
called
restconfig-1.7.4.jar, and I put it in the WEB-INF\lib directory (i.e.,
C:\dev\Tomcat 6.0\webapps\geoserver\WEB-INF\lib). When I restart Tomcat
and
try to go to http://localhost:8080/geoserver, I get an HTTP 404 error.
When
I remove the jar file and restart Tomcat, I'm able to get to the
GeoServer
homepage.
I checked my Tomcat logs, and I'm getting the 404 error because of the
following exception:
Cannot find class [org.geoserver.rest.RESTMapping] for bean with name
'restConfigMapping' defined in URL
[jar:file:/C:/dev/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/restconfig-1.7.4.jar!/applicationContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.geoserver.rest.RESTMapping
When I open the jar file in WinZip, I see that there isn't a class called
org.geoserver.rest.RESTMapping. In fact, the directory structure is
org.geoserver.catalog.rest.*, not org.geoserver.rest.*. So, I'm a bit
puzzled...
Am I using the wrong jar file?
Thanks,
Sam C
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
View this message in context: http://www.nabble.com/REST-plugin-not-working-tp23731878p23744279.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
Hmmm... 1.7.2 should not be correct version unfortunately, so it is probably another issue. Are you sure you are running 1.7.4? If the 1.7.2 plug-in works then I am tempted to say you are not. The error message also makes me thing that.
Unfortunately there has been a number of fixes to the api since 1.7.2. So unless you can get it working there will be bugs you encounter that have since been fixed.
samclemmens wrote:
Hi Justin,
I'm using Geoserver 1.7.4...and I discovered this morning that the correct
REST plugin to use is 1.7.2. Seems 1.7.4 and 1.7.3 contain only one jar
file, whereas 1.7.2 contains two. I'm no longer getting that exception. Next step for me is to load a Shapefile... Thank you for your help.
Sam
Justin Deoliveira-6 wrote:
hi Sam,
That error indicates to me that it could be a version issue. What versio n of GeoServer are you running? The restconfig plugin will require a recent version of 1.7.x. > 1.7.2 I think.
-Justin
samclemmens wrote:
Hi,
I just downloaded the REST plugin, which I learned is just a jar file
called
restconfig-1.7.4.jar, and I put it in the WEB-INF\lib directory (i.e.,
C:\dev\Tomcat 6.0\webapps\geoserver\WEB-INF\lib). When I restart Tomcat
and
try to go to http://localhost:8080/geoserver, I get an HTTP 404 error. When
I remove the jar file and restart Tomcat, I'm able to get to the
GeoServer
homepage.
I checked my Tomcat logs, and I'm getting the 404 error because of the
following exception:
Cannot find class [org.geoserver.rest.RESTMapping] for bean with name
'restConfigMapping' defined in URL
[jar:file:/C:/dev/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/restconfig-1.7.4.jar!/applicationContext.xml];
nested exception is java.lang.ClassNotFoundException:
org.geoserver.rest.RESTMapping
When I open the jar file in WinZip, I see that there isn't a class called
org.geoserver.rest.RESTMapping. In fact, the directory structure is
org.geoserver.catalog.rest.*, not org.geoserver.rest.*. So, I'm a bit
puzzled...
Am I using the wrong jar file?
Thanks,
Sam C
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.