Tried that with no luck. Tomcat8 plugin is loaded as a dependency. So is
the new Cache 1.1.6 plugin. However, when I do a run-app, Grails looks for
web3.1.template.xml and fails.
| Error Error executing script RunApp: java.io.FileNotFoundException:
/home/adarsh/.gvm/grails/2.4.0.RC1/grails-resources/src/war/WEB-INF/web3.1.template.xml
(No such file or directory) (NOTE: Stack trace has been filtered. Use
--verbose to see entire trace.)
java.io.FileNotFoundException:
/home/adarsh/.gvm/grails/2.4.0.RC1/grails-resources/src/war/WEB-INF/web3.1.template.xml
(No such file or directory)
at _GrailsPackage$_run_closure5.doCall(_GrailsPackage.groovy:74)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at
org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Post by Graeme Rocherhttp://grails.org/plugin/tomcat8
dependencies {
provided 'javax.servlet:javax.servlet-api:3.1.0'
}
It isn't the default yet because most people are still deploying to
Tomcat 7 (Servlet 3.0) containers
Cheers
Post by AdarshHi guys,
Just noticed that Grails 2.4.0 (RC1) brings with it Servlet API 3.0.1.
I use GVM and found the old JAR file under
~/.gvm/grails/2.4.0.RC1/lib/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.0.1.jar
Post by AdarshIs this intentional and if so, when is Servlet API 3.1 proposed to be
integrated with Grails?
Regards,
Adarsh
--
Graeme Rocher
Grails Project Lead
SpringSource
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email