HibernateGrailsPlugin.groovy包含一个名为HibernateGrailsPlugin的类

时间:2013-11-05 03:17:55

标签: grails

我在运行grails app时,HibernateGrailsPlugin.groovy同时包含一个名为HibernateGrailsPlugin的类。任何人都可以帮助我。

ps :(我的名声不够,所以图片不是):

eb-service\work\plugins\hibernate-1.1.1\HibernateGrailsPlugin.groovy are contain
ing both a class of the name HibernateGrailsPlugin.
 @ line 27, column 1.
   class HibernateGrailsPlugin {
   ^

1 error
        at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(Compil
ationUnit.java:813)
        at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.j
ava:464)
        at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.j
ava:443)
        at _PluginDependencies_groovy$_run_closure6_closure49.doCall(_PluginDepe
ndencies_groovy:413)
        at _PluginDependencies_groovy$_run_closure6_closure49.doCall(_PluginDepe
ndencies_groovy)
        at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:2
74)
        at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
        at _PluginDependencies_groovy$_run_closure6.doCall(_PluginDependencies_g
roovy:412)
Error loading plugin manager: startup failed, D:\guni-web-service\..\guni-model\
plugins\hibernate-1.1\HibernateGrailsPlugin.groovy: 27: Invalid duplicate class
definition of class HibernateGrailsPlugin : The sources D:\guni-web-service\..\g
uni-model\plugins\hibernate-1.1\HibernateGrailsPlugin.groovy and D:\guni-web-ser
vice\work\plugins\hibernate-1.1.1\HibernateGrailsPlugin.groovy are containing bo
th a class of the name HibernateGrailsPlugin.
 @ line 27, column 1.
   class HibernateGrailsPlugin {
   ^

1 error

0 个答案:

没有答案