Grails:创建新项目后,tomcat 插件报告 Groovy 错误
我正在使用 SpringSource 工具套件
版本:2.3.3.CI-R5608-B54 内部版本号:201008210801,
带有 Java 1.6.0.u21 和Grails 1.3.5
我创建了一个新的grails插件项目,该过程完成后,STS报告问题如下。我之前在创建 grails 项目时遇到过这个问题,但如果我执行 grails clean 或 project clean,通常会得到修复。但这一次这个问题还没有得到解决!
Description Resource Path Location Type Groovy:The class java.lang.Class refers to the class java.lang.Class and uses 1 parameters, but the referred class takes no parameters TomcatServer.groovy /SampleGrails/tomcat-1.3.5-src-groovy/org/grails/tomcat line 439 Java Problem
可以采取什么措施来解决这个问题?
谢谢。 杰·钱德兰
I am using SpringSource Tool Suite
Version: 2.3.3.CI-R5608-B54
Build Id: 201008210801
with Java 1.6.0.u21 & Grails 1.3.5
I created a new grails plugin project and after the process was completed, STS reported problem as below. I had this problem before when creating grails project but usually got fixed if I do grails clean or project clean. But this time this problem is not getting fixed!
Description Resource Path Location Type Groovy:The class java.lang.Class refers to the class java.lang.Class and uses 1 parameters, but the referred class takes no parameters TomcatServer.groovy /SampleGrails/tomcat-1.3.5-src-groovy/org/grails/tomcat line 439 Java Problem
What can be done to fix this problem?
Thank You.
Jay Chandran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法在 STS 2.5.0M3 中重现此问题,所以也许这是一个已经修复的问题。您可以从 http://www.springsource.com/products/springsource-google-download 安装 2.5下载。从技术上讲,它是一个里程碑版本,但非常稳定,并且具有更多功能(尤其是 Groovy 和 Grails) - 我在使用它时没有遇到任何问题。
您还可以尝试使用邮件列表 [电子邮件受保护]
I can't reproduce this in STS 2.5.0M3 so perhaps it's an issue that's already been fixed. You can install 2.5 from http://www.springsource.com/products/springsource-google-download. It's technically a milestone release but very stable and has a lot more features (esp Groovy and Grails) - I haven't had any issues using it.
You might also try the mailing list at [email protected]