user2358064
user2358064

Reputation: 11

Changing play default package

I am using play 1.2.4 version and I am trying to change controllers package name to controllers.com.app.

I am getting error saying

"Error raised is Controller controllers.app not found"

Is there any problem if I change the package name???

Upvotes: 0

Views: 166

Answers (1)

gyamana
gyamana

Reputation: 1231

If your controllers package name is:

controllers.com.app

Then you will need to change your routes file and append com.app to all your route Controller class references.

ie:

GET    /something    Something

To

GET    /something    com.app.Something

Upvotes: 1

Related Questions