Results 1 to 3 of 3

Thread: Wierdness after upgrading to 2.0RC2

  1. #1
    Join Date
    Jul 2009
    Posts
    7

    Default Wierdness after upgrading to 2.0RC2

    I recently upgraded a Grails project from 1.3.7 to to 2.0 RC1 and later to 2.0 RC2 (STS 2.8.1). I'm currently seeing some odd behavior that leads me to suspect that something is wonky in my project or configuration. Namely:

    1. Used with JDK 1.7, "grails war" fails with the error:

    javac: target release 1.6 conflicts with default source release 1.7

    2. In a number of my GSPs, I have expressions like "${resource(...)}" or href="${createLink(...)}" that sometimes result in a blank expression or the correct expression ending up in a funny location in the page. I'm using layouts.

    Any suggestions on what might be wrong with my configuration? Thanks.

  2. #2

    Default

    This can be resolved by putting

    grails.project.source.level = 1.6

    Into your BuildConfig.groovy file

  3. #3
    Join Date
    Jul 2009
    Posts
    7

    Default

    Thanks for the quick response. I see that you have a fix for the JDK 1.7 issue coming up in RC3. That's great!

    The other wierdness I've seen is already discussed in the Grails mailing list, so I need not follow up here:

    Mailing list: Messed up GSP layout rendering

    Thanks.

Posting Permissions

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