@Override
public Resources addResources(Resources resources) throws Exception {
resources.add(annotatedClass(BatchScheduleResource.class));
return resources;
add(bindingsModule(bindings(extensions)));
add(new PortalComplianceFeatures());
add(new ScheduleModule());
add(new JobsModule());
add(new ProfilingModule());
<dependency>
<groupId>com.googlecode.utterlyidle</groupId>
<artifactId>utterlyidle</artifactId>
<version>1.52</version>
</dependency>
<dependency>
<groupId>com.googlecode.totallylazy</groupId>
<artifactId>totallylazy</artifactId>
<version>1.77</version>
</dependency>
<dependency>
<groupId>com.googlecode.lazyrecords</groupId>
<artifactId>lazyrecords</artifactId>
<version>2.25</version>
</dependency>
No idea if it's this, but you may well be using incompatible versions of the stack.
Looks like you're using a 2. version of Lazy Records, and a 1. version of UI and TL.
application.handle(get("/schedules/list").accepting("application/json").build()
On 24 Sep 2015, at 22:37, Xuemin Guan <gxu...@gmail.com> wrote: