3 Replies Latest reply on Jul 8, 2012 5:40 PM by Matthew Casperson

    Compile error implementing MVP in 2.1-SNAPSHOT

    Matthew Casperson Newbie

      When compiling a simple MVP project (which was pretty much copied from http://errai-blog.blogspot.com.au/2012/03/large-scale-application-development.html), I get the following error. The code will work ok in debug mode though.

       

         [ERROR] Errors in 'jar:file:/home/matthew/.m2/repository/org/jboss/errai/errai-cdi-client/2.1-SNAPSHOT/errai-cdi-client-2.1-SNAPSHOT.jar!/org/jboss/errai/enterprise/client/cdi/EventProvider.java'

            [ERROR] Line 44:  The type new Event<Object>(){} must implement the inherited abstract method Event<Object>.select(TypeLiteral<U>, Annotation...)

         [ERROR] Errors in 'jar:file:/home/matthew/.m2/repository/org/jboss/errai/errai-cdi-client/2.1-SNAPSHOT/errai-cdi-client-2.1-SNAPSHOT.jar!/org/jboss/errai/enterprise/client/cdi/InstanceProvider.java'

            [ERROR] Line 50:  The type InstanceProvider.InstanceImpl<U> must implement the inherited abstract method Instance<Object>.select(TypeLiteral<U>, Annotation...)