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/
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/
Comment