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.


------------------------------------------------------------------------------
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

Reply via email to