This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] play - Listening for HTTP on port 9000... | |
(Server started, use Ctrl+D to stop and go back to the console...) | |
[info] play - database [default] connected at jdbc:mysql://127.0.0.1/humboldt | |
[error] c.a.e.s.d.BeanDescriptorManager - Error in deployment | |
javax.persistence.PersistenceException: java.lang.IllegalStateException: Class [class play.db.ebean.Model] is enhanced and [class models.Suit] is not - (you can not mix!!) | |
at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.setEntityBeanClass(BeanDescriptorManager.java:1546) ~[ebean-2.7.3.jar:na] | |
at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.createByteCode(BeanDescriptorManager.java:1204) ~[ebean-2.7.3.jar:na] | |
at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.readDeployAssociations(BeanDescriptorManager.java:1124) ~[ebean-2.7.3.jar:na] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Server started, use Ctrl+D to stop and go back to the console...) | |
[info] Compiling 35 Scala sources and 31 Java sources to /Users/danielberndt/Dropbox/workspace/humboldt3.0/target/scala-2.9.1/classes... | |
java.lang.RuntimeException: java.lang.ClassNotFoundException: models.HierarchyElement$HierarchyTreeElement | |
at com.avaje.ebean.enhance.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1284) | |
at com.avaje.ebean.enhance.asm.ClassWriter.getMergedType(ClassWriter.java:1244) | |
at com.avaje.ebean.enhance.asm.Frame.merge(Frame.java:1373) | |
at com.avaje.ebean.enhance.asm.Frame.merge(Frame.java:1280) | |
at com.avaje.ebean.enhance.asm.MethodWriter.visitMaxs(MethodWriter.java:1270) | |
at com.avaje.ebean.enhance.asm.ClassReader.accept(ClassReader.java:1447) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] play - Listening for HTTP on port 9000... | |
(Server started, use Ctrl+D to stop and go back to the console...) | |
[info] Compiling 32 Scala sources and 28 Java sources to /Users/danielberndt/Dropbox/eclipse-workspace/playproject/target/scala-2.9.1/classes... | |
java.lang.RuntimeException: java.lang.ClassNotFoundException: models.Video | |
at com.avaje.ebean.enhance.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1284) | |
at com.avaje.ebean.enhance.asm.ClassWriter.getMergedType(ClassWriter.java:1244) | |
at com.avaje.ebean.enhance.asm.Frame.merge(Frame.java:1373) | |
at com.avaje.ebean.enhance.asm.Frame.merge(Frame.java:1280) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers; | |
import models.QueueElement; | |
import play.*; | |
import play.mvc.*; | |
import views.html.*; | |
public class Application extends Controller { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
import models.User; | |
import models.User.Role; | |
import play.mvc.Action; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Auth extends Controller { | |
@With(RolesAction.class) | |
@Target({ElementType.TYPE, ElementType.METHOD}) | |
@Retention(RetentionPolicy.RUNTIME) | |
public @interface MinRole { | |
Role value() default Role.Admin; | |
} | |
public static class RolesAction extends Action<MinRole> { |
NewerOlder