Custom Api doesn't listen

Hello Dears

i was starting to build custom api as my code is

Main Class : public class MyWebAppRoot extends Application {

public Set<Class<?>> getClasses() {
    HashSet<Class<?>> result = new HashSet<Class<?>>();
    return result;



@WebObject(type = "Hello")
public class TestController  extends ModuleRoot {

      public String doGet() {
        return "Sample1: Hello World!";


MainfestFile : Manifest-Version: 1.0 Nuxeo-WebModule: com.nuxeo.dataserve.MyWebAppRoot

after coding i build my App by : mvn install then i copied jar into nxserver\bundles and start server after i hit http://localhost:8080/nuxeo/site/Hello response is {“entity-type”:“exception”,“status”:404,“message”:“com.sun.jersey.api.NotFoundException: null for uri: http://localhost:8080/nuxeo/site/Hello”} i know this is mean that my code doesn't work success can any one tell me what the wrong in my Code ?

0 votes

0 answers



Debugging remotely with no access to source code is a bit nightmarish. Do you have anything in the server.log at boot time/deploy time that could orientate the investigation? As a reminder, a MANIFEST.MF ends with an empty line.