Routes and subpackages in controllers

前端 未结 3 698
滥情空心
滥情空心 2021-02-19 09:06

I\'m using Play 2.1 and I\'m having some odd problems.

I have a subpackage messages in the controllers package with a class i18n.java

3条回答
  •  情话喂你
    2021-02-19 09:10

    The route should be controllers.messages.routes.i18n.process(). You can inspect the target/scala-2.10/src_managed directory to discover generated files.

    And for information, Java coding conventions say that a class must start with an uppercase.

提交回复
热议问题