Please help. This is driving me crazy
When I try to "mvn clean package" on my project I get the following. Error.
I have the following in my entityCode:[INFO] [aspectj:compile {execution: default}] [ERROR] trouble in: public class com.kt.model.Bookmark_Roo_Jpa_Entity extends java.lang.Object: TypeMungers: [(BcelTypeMunger ResolvedTypeMunger(Field, java.lang.Integer com.kt.model.Bookmark.version)), (BcelTypeMunger ResolvedTypeMunger(Method, java.lang.Integer com.kt.model.Bookmark.getVersion())), (BcelTypeMunger ResolvedTypeMunger(Method, void com.kt.model.Bookmark.setVersion(java.lang.Integer)))] declares: [declare @at_type : com.kt.model.Bookmark : @Entity, declare @at_type : com.kt.model.Bookmark : @Table(name = "BOOKMARK")] private static Throwable ajc$initFailureCause public static final com.kt.model.Bookmark_Roo_Jpa_Entity ajc$perSingletonInstance static void <clinit>(): catch java.lang.Throwable -> E0 | INVOKESTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$postClinit ()V (line 12) catch java.lang.Throwable -> E0 GOTO L0 E0: ASTORE_0 ALOAD_0 PUTSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$initFailureCause Ljava/lang/Throwable; L0: RETURN end static void <clinit>() void <init>(): ALOAD_0 // Lcom/kt/model/Bookmark_Roo_Jpa_Entity; this (line 12) INVOKESPECIAL java.lang.Object.<init> ()V RETURN end void <init>() void ajc$declare_at_type_1() org.aspectj.weaver.MethodDeclarationLineNumber: 14:406 : RETURN (line 1) end void ajc$declare_at_type_1() void ajc$declare_at_type_2() org.aspectj.weaver.MethodDeclarationLineNumber: 16:449 : RETURN (line 1) end void ajc$declare_at_type_2() public static void ajc$interFieldInit$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark) org.aspectj.weaver.MethodDeclarationLineNumber: 20:578 : RETURN (line 20) end public static void ajc$interFieldInit$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark) public static Integer ajc$interFieldGetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark) EffectiveSignatureAttribute(java.lang.Integer com.kt.model.Bookmark.version, field-get) : ALOAD_0 INVOKESTATIC com.kt.model.Bookmark.ajc$get$version (Lcom/kt/model/Bookmark;)Ljava/lang/Integer; ARETURN end public static Integer ajc$interFieldGetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark) public static void ajc$interFieldSetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark, Integer) EffectiveSignatureAttribute(java.lang.Integer com.kt.model.Bookmark.version, field-set) : ALOAD_0 ALOAD_1 INVOKESTATIC com.kt.model.Bookmark.ajc$set$version (Lcom/kt/model/Bookmark;Ljava/lang/Integer;)V RETURN end public static void ajc$interFieldSetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version(com.kt.model.Bookmark, Integer) public static Integer ajc$interMethod$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$getVersion(com.kt.model.Bookmark) EffectiveSignatureAttribute(java.lang.Integer com.kt.model.Bookmark.getVersion(), method-execution) : ALOAD_0 // Lcom/kt/model/Bookmark; ajc$this_ (line 23) INVOKESTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$interFieldGetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version (Lcom/kt/model/Bookmark;)Ljava/lang/Integer; ARETURN end public static Integer ajc$interMethod$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$getVersion(com.kt.model.Bookmark) public static Integer ajc$interMethodDispatch1$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$getVersion(com.kt.model.Bookmark) EffectiveSignatureAttribute(java.lang.Integer com.kt.model.Bookmark.getVersion(), method-call) : ALOAD_0 // Lcom/kt/model/Bookmark; ajc$this_ INVOKEVIRTUAL com.kt.model.Bookmark.getVersion ()Ljava/lang/Integer; ARETURN end public static Integer ajc$interMethodDispatch1$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$getVersion(com.kt.model.Bookmark) public static void ajc$interMethod$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$setVersion(com.kt.model.Bookmark, Integer) EffectiveSignatureAttribute(void com.kt.model.Bookmark.setVersion(java.lang.Integer), method-execution) : ALOAD_0 // Lcom/kt/model/Bookmark; ajc$this_ (line 27) ALOAD_1 // Ljava/lang/Integer; version INVOKESTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$interFieldSetDispatch$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$version (Lcom/kt/model/Bookmark;Ljava/lang/Integer;)V RETURN (line 28) end public static void ajc$interMethod$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$setVersion(com.kt.model.Bookmark, Integer) public static void ajc$interMethodDispatch1$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$setVersion(com.kt.model.Bookmark, Integer) EffectiveSignatureAttribute(void com.kt.model.Bookmark.setVersion(java.lang.Integer), method-call) : ALOAD_0 // Lcom/kt/model/Bookmark; ajc$this_ ALOAD_1 // Ljava/lang/Integer; version INVOKEVIRTUAL com.kt.model.Bookmark.setVersion (Ljava/lang/Integer;)V RETURN end public static void ajc$interMethodDispatch1$com_kt_model_Bookmark_Roo_Jpa_Entity$com_kt_model_Bookmark$setVersion(com.kt.model.Bookmark, Integer) public static com.kt.model.Bookmark_Roo_Jpa_Entity aspectOf() org.aspectj.weaver.AjAttribute$AjSynthetic@14ff0f4 : GETSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$perSingletonInstance Lcom/kt/model/Bookmark_Roo_Jpa_Entity; (line 1) IFNONNULL L0 NEW org.aspectj.lang.NoAspectBoundException DUP LDC "com_kt_model_Bookmark_Roo_Jpa_Entity" GETSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$initFailureCause Ljava/lang/Throwable; INVOKESPECIAL org.aspectj.lang.NoAspectBoundException.<init> (Ljava/lang/String;Ljava/lang/Throwable;)V ATHROW L0: GETSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$perSingletonInstance Lcom/kt/model/Bookmark_Roo_Jpa_Entity; ARETURN end public static com.kt.model.Bookmark_Roo_Jpa_Entity aspectOf() public static boolean hasAspect() org.aspectj.weaver.AjAttribute$AjSynthetic@4dd592 : GETSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$perSingletonInstance Lcom/kt/model/Bookmark_Roo_Jpa_Entity; (line 1) IFNULL L0 ICONST_1 IRETURN L0: ICONST_0 IRETURN end public static boolean hasAspect() private static void ajc$postClinit() org.aspectj.weaver.AjAttribute$AjSynthetic@bb5d4d : NEW com.kt.model.Bookmark_Roo_Jpa_Entity (line 1) DUP INVOKESPECIAL com.kt.model.Bookmark_Roo_Jpa_Entity.<init> ()V PUTSTATIC com.kt.model.Bookmark_Roo_Jpa_Entity.ajc$perSingletonInstance Lcom/kt/model/Bookmark_Roo_Jpa_Entity; RETURN end private static void ajc$postClinit() end public class com.kt.model.Bookmark_Roo_Jpa_Entity [ERROR] The type com.kt.model.Bookmark must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;) [ERROR] The type com.kt.model.Bookmark must implement the inherited abstract method org.springframework.data.neo4j.aspects.core.NodeBacked.relateTo(Lorg/springframework/data/neo4j/aspects/core/NodeBacked;Ljava/lang/Class;Ljava/lang/String;Z) [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch] [WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
and the following in my pom.xmlCode:@RooJavaBean @RooToString @RooJpaEntity @RooJson @Cacheable @NodeEntity(partial = true) public class Bookmark {
Thanks in advance for any helpCode:<configuration> <outxml>true</outxml> <aspectLibraries> <aspectLibrary> <groupId>org.springframework.data</groupId> <artifactId>spring-data-neo4j-aspects</artifactId> </aspectLibrary> <aspectLibrary> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </aspectLibrary> <aspectLibrary> <groupId>org.springframework.security</groupId> <artifactId>spring-security-aspects</artifactId> </aspectLibrary> </aspectLibraries> <source>1.6</source> <target>1.6</target> </configuration>


Reply With Quote

