Results 1 to 1 of 1

Thread: aspectj-maven-plugin : [ERROR] can't determine annotations of missing type.

  1. #1
    Join Date
    Sep 2011
    Posts
    5

    Default aspectj-maven-plugin : [ERROR] can't determine annotations of missing type.

    Hello,

    Roo clinic sample application has stopped working on Redhat.

    Environment: Red Hat Enterprise Linux Version 5.5, Sun JDK 1.6.0_25

    JAVA_HOME=/usr/java/jdk1.6.0_25/
    ROO_HOME=/home/<user-name>/spring/spring-roo-1.2.0.M1

    $ java -version
    java version "1.6.0_25"
    Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)


    # This command works.

    /home/<user-name>/spring/spring-roo-1.2.0.M1/samples/tmp
    $ /home/<user-name>/spring/spring-roo-1.2.0.M1/bin/roo.sh script --file /home/<user-name>/spring/spring-roo-1.2.0.M1/samples/clinic.roo

    # mvn install command is failing.

    /home/<user-name>/spring/spring-roo-1.2.0.M1/samples/tmp
    $ mvn install

    ...
    [INFO] --- aspectj-maven-plugin:1.2:compile (default) @ petclinic ---
    [ERROR] can't determine annotations of missing type org.springframework.core.convert.support.GenericCo nversionService
    when processing declare parents FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when completing type bindings
    when batch building BuildConfig[null] #Files=46 AopXmls=#0
    [Xlint:cantFindType]
    ...

    I am able to reproduce the above issue using spring-roo-1.1.5.RELEASE also. If I am not mistaken, 'mvn install' command for this sample application used to work successfully on Redhat sometime back. I noticed it has stopped working today. I am not sure if this error is due to some unknown issue in my Redhat instance.

    I am able to reproduce this issue with 1.2.0.RC1 also.

    # works.

    /home/<user-name>/spring/spring-roo-1.2.0.RC1/samples/tmp
    $ /home/<user-name>/spring/spring-roo-1.2.0.RC1/bin/roo.sh script --file /home/<user-name>/spring/spring-roo-1.2.0.RC1/samples/clinic.roo

    # fails

    /home/<user-name>/spring/spring-roo-1.2.0.RC1/samples/tmp
    $ mvn install
    ...
    [INFO] --- aspectj-maven-plugin:1.2:compile (default) @ petclinic ---
    [ERROR] can't determine annotations of missing type org.springframework.core.convert.support.GenericCo nversionService
    when processing declare parents FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when completing type bindings
    when batch building BuildConfig[null] #Files=46 AopXmls=#0
    [Xlint:cantFindType]
    [ERROR] can't determine implemented interfaces of missing type org.springframework.core.convert.converter.Convert erRegistry
    when processing declare parents FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when weaving intertype declarations FormattingConversionService
    when completing type bindings
    when batch building BuildConfig[null] #Files=46 AopXmls=#0
    [Xlint:cantFindType]

    ....


    FYI: However, on Windows XP, using Sun Java JDK 1.6.0_18, 'mvn install' as well as 'mvn tomcat:run' commands completes successfully.

    Any ideas why 'mvn install' has stopped working today just on my Radhat instance?

    Thanks and regards,
    Last edited by vganesh; Nov 28th, 2011 at 12:43 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •