When I create a new Grails project in GGTS-3.3.0 with Grails 2.3, I get several errors in ForkedTomcatServer.groovy. These are the errors I get:
Groovy: [Static type check] - No such property: version for class: org.codehaus.groovy.grails.plugins.GrailsPluginInfo ForkedTomcatServer.groovy / testapp / .link_to_grails_plugins / tomcat-7.0.42 / src / groovy / org / grails / plugins / tomcat / fork line 165
Groovy: [Static type check] - there is no such property: handle for class: org.codehaus.groovy.grails.plugins.GrailsPluginInfo ForkedTomcatServer.groovy / testapp / .link_to_grails_plugins / tomcat-7.0.42 / src / groovy / org / grails plugins / tomcat / fork line 166
These are the lines of code referenced by the errors:
GrailsPluginInfo info = GrailsPluginUtils.getPluginBuildSettings().getPluginInfoForName('tomcat') String jarName = "grails-plugin-tomcat-${info.version}.jar" File jar = info.descriptor.file.parentFile.listFiles().find { File f -> f.name.equals(jarName) }
I have not changed anything. I just clicked File -> New -> Grails Project
, and these errors appeared on the output. I have made several different projects, and they are all generated the same way.
Why is this happening and how can I fix it?
source share