Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-1413

Tag Warnings and Errors in GSP files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.5.1.RELEASE
    • Fix Version/s: 2.5.2.RELEASE
    • Component/s: GRAILS
    • Labels:
    • Environment:
      Windows XP, Eclipse 3.5.2, STS 2.5.1.201011101000-RELEASE, Groovy 1.7.5, Grails 1.3.5

      Description

      In all of the GSP files, the yellow 'unkown tags' warnings constantly appear in every GSP file. On a couple of files, I have errors. A line like below:

      <td valign="top" class="value ${hasErrors(bean:tableeventsInstance,field:'datasource','errors')}">
      <g:select from="['INSERT','UPDATE','DELETE']" name="eventTypeSelected" multiple='multiple' noSelection="${['null':'']}" ></g:select>
      </td>

      .......generates the following errors:
      Multiple annotations found at this line:

      • Unknown tag (g:select).
      • EL Syntax Error

      I already uninstalled Spring IDE / SpringSource Tools, Groovy and Grails from Eclipse and completely re-installed them with the latest components:

      Atlassian Connector for Eclipse (Recommended) 2.3.0.v20100901 com.atlassian.connector.eclipse.feature.group
      Atlassian Crucible & Fisheye Integration 2.3.0.v20100901 com.atlassian.connector.eclipse.crucible.feature.group
      Atlassian JIRA Connector (Recommended) 2.3.0.v20100901 com.atlassian.connector.eclipse.jira.feature.group
      Eclipse IDE for Java EE Developers 1.2.2.20100217-2310 epp.package.jee
      Graphical Editing Framework Draw2d 3.6.1.v20100908-1100-4507w31211A2403131 org.eclipse.draw2d.feature.group
      Graphical Editing Framework Draw2d SDK 3.6.1.v20100908-1100-7A7G18yE5F-8K8N4I8E558B48x42 org.eclipse.draw2d.sdk.feature.group
      Graphical Editing Framework Draw2d Source Feature 3.6.1.v20100908-1100-4507w31211A2403131 org.eclipse.draw2d.source.feature.group
      Graphical Editing Framework GEF 3.6.1.v20100908-1100-777B181A3Bz-6B663E7974242 org.eclipse.gef.feature.group
      Graphical Editing Framework GEF All-In-One SDK 3.6.1.v20100908-1100-787D17PhSyGcDBx8Zy_MhtyNUO45 org.eclipse.gef.all.feature.group
      Graphical Editing Framework GEF Examples 3.6.1.v20100908-1100-7G7T1BgJ9E99iCg4FPEO org.eclipse.gef.examples.feature.group
      Graphical Editing Framework GEF Examples Source Feature 3.6.1.v20100908-1100 org.eclipse.gef.examples.source.feature.group
      Graphical Editing Framework GEF SDK 3.6.1.v20100908-1100-7G7R2A5WNcBQPZgXAHiSXMXYaKPI org.eclipse.gef.sdk.feature.group
      Graphical Editing Framework GEF Source Feature 3.6.1.v20100908-1100-777B181A3Bz-6B663E7974242 org.eclipse.gef.source.feature.group
      Graphical Editing Framework Zest Visualization Toolkit 1.2.0.v20100519-2050-67808yE5F-8HAH4HECF4242 org.eclipse.zest.feature.group
      Graphical Editing Framework Zest Visualization Toolkit SDK 1.2.0.v20100519-2050-67908COKMFAKPYIEUdUVWhXYN8VN org.eclipse.zest.sdk.feature.group
      Graphical Editing Framework Zest Visualization Toolkit Source Feature 1.2.0.v20100519-2050-67808yE5F-8HAH4HECF4242 org.eclipse.zest.source.feature.group
      Groovy-Eclipse Feature 2.1.0.20101020-2100-e35-release org.codehaus.groovy.eclipse.feature.feature.group
      Groovy-Eclipse JDT Patch Sources Feature 2.1.0.20101020-2100-e35-release org.codehaus.groovy.jdt.patch.source.feature.group
      Groovy-Eclipse Sources Feature 2.1.0.20101020-2100-e35-release org.codehaus.groovy.eclipse.feature.source.feature.group
      Perforce C/C++ Time-lapse View Support (CDT Prerequisite) 2010.1.269249 com.perforce.p4wsad.c.galileo.feature.group
      Perforce Java Time-lapse View Support (JDT Prerequisite) 2010.1.269249 com.perforce.p4wsad.java.galileo.feature.group
      Perforce Ruby Time-lapse View Support (DLTK Prerequisite) 2010.1.269249 com.perforce.p4wsad.ruby.galileo.feature.group
      Perforce SCM Support 2010.1.269249 com.perforce.p4wsad.feature.group
      Spring IDE AJDT Integration (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.ajdt.feature.feature.group
      Spring IDE AOP Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.aop.feature.feature.group
      Spring IDE Autowire Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.autowire.feature.feature.group
      Spring IDE Batch Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.batch.feature.feature.group
      Spring IDE Core (required) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.feature.feature.group
      Spring IDE Integration, Flex and Web Services Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.integration.feature.feature.group
      Spring IDE Mylyn Integration (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.mylyn.feature.feature.group
      Spring IDE OSGi Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.osgi.feature.feature.group
      Spring IDE Security Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.security.feature.feature.group
      Spring IDE Web Flow Extension (optional) 2.5.1.201011101000-RELEASE org.springframework.ide.eclipse.webflow.feature.feature.group
      SpringSource dm Server Tools (required) 2.5.1.201011101000-RELEASE com.springsource.server.ide.feature.feature.group
      SpringSource Tool Suite (required) 2.5.1.201011111000-RELEASE com.springsource.sts.feature.group
      SpringSource Tool Suite AWS Integration 2.5.1.201011111000-RELEASE com.springsource.sts.server.ec2.feature.group
      SpringSource Tool Suite Cloud Foundry Integration 2.5.1.201011111000-RELEASE com.springsource.sts.server.cf.feature.group
      SpringSource Tool Suite dm Server Tools 2.5.1.201011111000-RELEASE com.springsource.sts.server.dm.feature.group
      SpringSource Tool Suite Grails Support 2.5.1.201011111000-RELEASE com.springsource.sts.grails.feature.group
      SpringSource Tool Suite Maven Support 2.5.1.201011111000-RELEASE com.springsource.sts.maven.feature.group
      SpringSource Tool Suite Roo Support 2.5.1.201011111000-RELEASE com.springsource.sts.roo.feature.group
      SpringSource Tool Suite Runtime Error Analysis Support 2.5.1.201011111000-RELEASE com.springsource.sts.runtimeerroranalysis.feature.group
      SpringSource Tool Suite tc Server Tools 2.5.1.201011111000-RELEASE com.springsource.sts.server.tc.feature.group
      SpringSource Tool Suite Tutorial Authoring 2.5.1.201011111000-RELEASE com.springsource.sts.authoring.feature.group
      SpringSource Tool Suite Tutorials 2.5.1.201011111000-RELEASE com.springsource.sts.tutorials.feature.group
      SpringSource Tool Suite VMware Integration 2.5.1.201011111000-RELEASE com.springsource.sts.vmware.feature.group
      VMware VIX Application Programming Interface Feature 2.5.1.201011111000-RELEASE com.vmware.vixapi.feature.group

      Any time I debug, because of the error condition, I have to force Eclipse to proceed with the errors. This causes some of the break-points not to be triggered.

      Please advise.

        Attachments

          Activity

            People

            Assignee:
            aeisenberg Andrew Eisenberg
            Reporter:
            albyone Alberto Castro
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: