Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Grails plugin does not work with Grails 2.0 release

    Hi,

    just tried to run the grails plugin with the new Grails 2.0 release. Seems it doesn't like the changes made to the web.xml as this error occurs:

    | Loading Grails 2.0.0
    | Configuring classpath.
    | Environment set to development.....
    | Packaging Grails application.....
    | Compiling 1 source files.....
    Test data found, processing
    | Running Grails application
    | Error 2011-12-16 15:00:04,522 [main] ERROR digester.Digester - Begin event threw exception
    Message: taglib definition not consistent with specification version
    Line | Method
    ->> 501 | startElement in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    | 1363 | scanStartElement in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 2756 | next . . . . . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver
    | 648 | next in com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
    | 511 | scanDocument . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 808 | parse in com.sun.org.apache.xerces.internal.parsers.XML11Configuration
    | 737 | parse . . . . . in ''
    | 119 | parse in com.sun.org.apache.xerces.internal.parsers.XMLParser
    | 1205 | parse . . . . . in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    | 522 | parse in com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
    | 114 | doStart . . . . in org.grails.plugins.tomcat.InlineExplodedTomcatServer
    | 102 | start in org.grails.plugins.tomcat.TomcatServer
    | 175 | doCall . . . . . in _GrailsRun_groovy$_run_closure5_closure12
    | 152 | doCall in _GrailsRun_groovy$_run_closure5
    | 120 | runInline . . . in _GrailsRun_groovy
    | 66 | doCall in _GrailsRun_groovy$_run_closure1
    ^ 33 | doCall . . . . . in RunApp$_run_closure1
    | Error 2011-12-16 15:00:04,592 [main] ERROR startup.ContextConfig - Parse error in application web.xml file at file:/C:/Users/fatzopilot/.grails/2.0.0/projects/grails-on-sakila/resources/web.xml
    Message: Error at (275, 11) : taglib definition not consistent with specification version
    Line | Method
    ->> 501 | startElement in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    | 1363 | scanStartElement in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 2756 | next . . . . . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver
    | 648 | next in com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
    | 511 | scanDocument . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 808 | parse in com.sun.org.apache.xerces.internal.parsers.XML11Configuration
    | 737 | parse . . . . . in ''
    | 119 | parse in com.sun.org.apache.xerces.internal.parsers.XMLParser
    | 1205 | parse . . . . . in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    | 522 | parse in com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
    | 114 | doStart . . . . in org.grails.plugins.tomcat.InlineExplodedTomcatServer
    | 102 | start in org.grails.plugins.tomcat.TomcatServer
    | 175 | doCall . . . . . in _GrailsRun_groovy$_run_closure5_closure12
    | 152 | doCall in _GrailsRun_groovy$_run_closure5
    | 120 | runInline . . . in _GrailsRun_groovy
    | 66 | doCall in _GrailsRun_groovy$_run_closure1
    ^ 33 | doCall . . . . . in RunApp$_run_closure1
    Caused by IllegalArgumentException: taglib definition not consistent with specification version
    ->> 501 | startElement in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    | 1363 | scanStartElement in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 2756 | next . . . . . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver
    | 648 | next in com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
    | 511 | scanDocument . . in com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
    | 808 | parse in com.sun.org.apache.xerces.internal.parsers.XML11Configuration
    | 737 | parse . . . . . in ''
    | 119 | parse in com.sun.org.apache.xerces.internal.parsers.XMLParser
    | 1205 | parse . . . . . in com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
    | 522 | parse in com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
    | 114 | doStart . . . . in org.grails.plugins.tomcat.InlineExplodedTomcatServer
    | 102 | start in org.grails.plugins.tomcat.TomcatServer
    | 175 | doCall . . . . . in _GrailsRun_groovy$_run_closure5_closure12
    | 152 | doCall in _GrailsRun_groovy$_run_closure5
    | 120 | runInline . . . in _GrailsRun_groovy
    | 66 | doCall in _GrailsRun_groovy$_run_closure1
    ^ 33 | doCall . . . . . in RunApp$_run_closure1
    | Error 2011-12-16 15:00:04,612 [main] ERROR startup.ContextConfig - Occurred at line 275 column 11
    | Error 2011-12-16 15:00:04,687 [main] ERROR startup.ContextConfig - Marking this application unavailable due to previous error(s)
    | Error 2011-12-16 15:00:05,094 [main] ERROR core.StandardContext - Error getConfigured
    | Error 2011-12-16 15:00:05,102 [main] ERROR core.StandardContext - Context [/grails-on-sakila] startup failed due to previous errors
    | Server running. Browse to http://localhost:8080/grails-on-sakila


    To reproduce, just follow the steps outlined in the isomorphic blog using Grails 2.0: http://blog.isomorphic.com/grails-plugin-for-smartgwt/

    #2
    Grails 2.0 has made some non-backwards-compatible changes which will require the plugin to be updated. In the meantime, use a prior version of Grails.

    Comment


      #3
      I am currently playing around with the Sakila sample and Grails 1.3.7 and found some issues. Does it make sense to file them somewhere and if, where?

      Comment


        #4
        Is there some rough ETA on this (e.g. "this is currently under investigation" or "this is postponed into Q2")?

        Comment


          #5
          I'm also very interested in finding out more on the status of this plugin. SmartGWT and Grails seems like an insanely productive setup, but I can't find any updates on the Grails plugin. The most recent thing I can find is the blog entry from last August, which was nearly 8 months ago. Can someone from Isomorphic comment on the status?

          Thanks,

          Brian

          Comment


            #6
            +1 for an update on this.

            Comment


              #7
              Also very keen on any news regarding the Grails plugin. Grails looks like a big part of our future direction, and we'd also like to be able to start using SmartGWT as opposed to our current usage of the old GWT-Ext.

              If it helps from a motivation angle, we would be a buyer of at least some level of commercial license if the Grails 2.x support is there.

              Comment


                #8
                Not sure why Grails would be a big part of anyone's future direction.... unless you wanted to go a different direction than everyone else :)

                Comment

                Working...
                X