Playframework CRUD module error [admin module:crud]

Including the playframework CRUD module but getting the error -

~ Invalid route definition : * admin module:crud

Solution:
The Controller objects has to be plural (must end with ‘s’). The controller’s class name has to be the model class name with a final ‘s’.

For example,  If we have Customer.java model object, the controller object extending CRUD must be Customer*s*.java

package controllers;

public class Customers extends CRUD {

}


Leave a Comment