Hi,

Sorry for late response. The strange part is that my class has a public
constructor and I still get the error. Here are the classes so maybe I am
missing something


@Path(value = "/test")
public interface NewInterface {

    @GET
    boolean getLogin();
    
}


public class RestResource1 implements NewInterface {

    @Override
    public boolean getLogin() {
        
        return true;
    }
}


    public static void bind(ServiceBinder binder) {

        binder.bind(NewInterface.class, RestResource1.class);
    }


    @Contribute(javax.ws.rs.core.Application.class)
    public static void configureRestResources(Configuration singletons,
NewInterface reloadableEchoResource) {
        singletons.add(reloadableEchoResource);
    }

and the error is


java.lang.RuntimeException: Exception constructing service
'ResteasyRequestFilter': Error building service proxy for service
'Application' (at org.tynamo.resteasy.Application(Collection) (at
Application.java:14) via
org.tynamo.resteasy.ResteasyModule.bind(ServiceBinder) (at
ResteasyModule.java:31)): Error invoking service contribution method
org.tynamo.resteasy.ResteasyModule.javaxWsRsCoreApplication(Configuration,
ObjectLocator, ResteasyPackageManager, ClassNameLocator): Class
com.bomahabo.flow.services.rest.NewInterface does not contain a public
constructor needed to autobuild.


So there error is on the Interface and I am not sure why it is not picking
up on the implementation. Any thoughts? 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Tynamo-Rest-and-security-integration-questions-tp5714525p5714653.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to