The file {module:secure}/app/controllers/Check.java could not be compiled. Error raised is : The type Check is already defined
Posted by blogmeister on
August 2, 2013
So you recently started with the Play Framework and ran a project but you encountered this error message:
|
1 2 |
Compilation error The file {module:secure}/app/controllers/Check.java could not be compiled. Error raised is : The type Check is already defined |
|
1 2 3 4 5 6 7 8 |
import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.TYPE}) public @interface Check { String[] value(); } This exception has been logged with id 6f24fo6ff |
I am not sure how this is important since I am still new to the Play Framework but since my purpose was just to run a web application project, I was able to bypass this problem by removing or commenting this line
module.secure=${play.path}/modules/secure
in the applicaiton.conf in the conf folder of the project.
Found this useful? Donations appreciated to help keep this blog alive.








