geosolutions-it / geobatch

Open Source GeoSpatial Processing Simplified
GNU General Public License v3.0
22 stars 19 forks source link

REST service is broken #206

Closed etj closed 11 years ago

etj commented 11 years ago

When running GB with the rest profile, many exceptions are thrown when starting the application. Furthermore, if the rest profile is not enabled, the servlet defintion

<servlet>
   <servlet-name>CXFServlet</servlet-name>
   <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
</servlet>

is not found and throws an ClassNotFound.

etj commented 11 years ago

Fixed in 200fe01106931806b1edb821de469f9084d3732c.

The web.xml does not need any change now when the rest profile is not enabled. You'll get a response No service was found. when performing a REST call when such profile is not active.