运行grails项目时未找到或未找到Tomcat插件类JAR grails-plugin-Tomcat-7.0.47.JAR

运行grails项目时未找到或未找到Tomcat插件类JAR grails-plugin-Tomcat-7.0.47.JAR,tomcat,grails,plugins,jar,Tomcat,Grails,Plugins,Jar,我使用grails-2.3.3和java-7从IntelliJ Idea运行我的应用程序时,我遇到了这个错误 | Error Tomcat plugin classes JAR grails-plugin-tomcat-7.0.47.jar not found | Running Grails application Error: Could not find or load main class org.grails.plugins.tomcat.fork.ForkedTomcatServer

我使用grails-2.3.3和java-7从IntelliJ Idea运行我的应用程序时,我遇到了这个错误

| Error Tomcat plugin classes JAR grails-plugin-tomcat-7.0.47.jar not found
| Running Grails application
Error: Could not find or load main class org.grails.plugins.tomcat.fork.ForkedTomcatServer
| Error Forked Grails VM exited with error
我的buildconfig.groovy文件中的代码如下

dependencies {
    // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
    runtime 'mysql:mysql-connector-java:5.1.24'

}

plugins {
    // plugins for the build system only
     build ":tomcat:7.0.47"

    // plugins for the compile step
    compile ":scaffolding:2.0.1"
    compile ':cache:1.1.1'
    compile ":spring-security-core:2.0-RC2"
    compile ":spring-security-ldap:2.0-RC2"
    // compile ":activiti:5.12.1"
    // compile ':db-reverse-engineer:0.5'

    // plugins needed at runtime but not for compilation
    runtime ":hibernate:3.6.10.4" // or ":hibernate4:4.1.11.4"
    runtime ":database-migration:1.3.8"
    runtime ":jquery:1.10.2"
    runtime ":resources:1.2.1"

    // Uncomment these (or add new ones) to enable additional resources capabilities
    //runtime ":zipped-resources:1.0.1"
    //runtime ":cached-resources:1.1"
    //runtime ":yui-minify-resources:0.1.5"
}
}
我使用的是ubuntu机器,intelliJidea版本是12。
有人知道这有什么问题吗?我是grails新手,尝试用谷歌搜索这个问题,但找不到任何帮助。

您是否尝试过运行“grails clean”?如果存在,/.grails/2.3.3/projects/your_project和/.grails/ivy缓存中的项目临时文件(我不确定grails 2.3.3是否仍在使用ivy)。让我们知道你是否这样做了,并且仍然得到相同的结果。我做了grails清理并清除了项目临时文件,但问题仍然存在。你尝试过“grails刷新依赖项”吗