Search code examples
grailsintellij-ideataglibgrails-3.1

Grails 3 Taglib: cannot resolve symbol in IntelliJ IDEA


I'm using Grails 3.1.7 with IntelliJ IDEA Ultimate 2016.1. In the project are several custom taglibs. The tags are working as expected, but the view editor shows an error on every tag usage:

IntelliJ IDEA Screenshot

Is there a way to configure IntelliJ and/or Grails that this is correctly shown? The build in Grails tags are shown correctly and jump to source is also working.

Edit 1: On some tag there is a message that the that is not allowed here, but jump to source is also not working

enter image description here


Solution

  • In the gradle window, click "Refresh all Gradle Projects" - This usually helps resolve anything that's not found.

    Also check out 2016.2 EAP as there are Grails 3 and GORM 5 improvements.