Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
groovy包含两个名为HibernateGrailsPlugin的类_Grails - Fatal编程技术网

groovy包含两个名为HibernateGrailsPlugin的类

groovy包含两个名为HibernateGrailsPlugin的类,grails,Grails,当运行grails应用程序时,groovy同时包含名为HibernateGrailsPlugin的类。任何人都可以帮助我 ps:(我的名声不够,所以照片不好): 您想用hibernate-1.1.1做什么?Grails的哪个版本?我在Grails 1.1.1上运行它。我想我知道如何求解。我的项目中有两个相同的类。让我试试。它很有效。谢谢大家。你知道Grails在2.3中,对吗?:-) eb-service\work\plugins\hibernate-1.1.1\HibernateGrailsP

当运行grails应用程序时,groovy同时包含名为
HibernateGrailsPlugin
的类。任何人都可以帮助我

ps:(我的名声不够,所以照片不好):


您想用
hibernate-1.1.1
做什么?Grails的哪个版本?我在Grails 1.1.1上运行它。我想我知道如何求解。我的项目中有两个相同的类。让我试试。它很有效。谢谢大家。你知道Grails在2.3中,对吗?:-)
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