Results 1 to 2 of 2

Thread: Spring Roo & Java 1.7

  1. #1
    Join Date
    Dec 2005
    Posts
    148

    Default Spring Roo & Java 1.7

    I've tried to upgrade my Roo project to the latest JDK version but I'm getting several errors. All of the same kind:
    Code:
    declare @type is only supported at Java 5 compliance level or above
    Something related to the AspectJ it seems but the project won't compile. Any workaround or idea?

  2. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    If you have the value of "1.7" in the <source> and <target> values in the <configuration> section of the aspectj-maven-plugin, then change it to 1.6. When a new Roo project is created these values get the Java version that Roo is started with. It appears the plugin cannot handle JDK 7 yet. I will follow this up with the AspectJ guys.
    Last edited by Alan Stewart; Aug 6th, 2011 at 04:29 AM.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

Posting Permissions

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