GRAILS,未加载的类
我尝试创建一个插件并将其安装到我的项目中。当我尝试运行我的应用程序时,它给出了一个错误。我卸载了插件,但仍然得到以下错误GRAILS,未加载的类,grails,Grails,我尝试创建一个插件并将其安装到我的项目中。当我尝试运行我的应用程序时,它给出了一个错误。我卸载了插件,但仍然得到以下错误 [localhost-startStop-1] ERROR context.ContextLoader - Context initialization failed Message: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-I
[localhost-startStop-1] ERROR context.ContextLoader -
Context initialization failed
Message: Error creating bean with name
'grailsApplication' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]:
Invocation of init method failed; nested
exception is org.codehaus.groovy.grails.exceptions.GrailsConfigurationException:
Class not found loading Grails application: jsonapi.JsonController
请帮助我让我的应用程序恢复工作确保您确实卸载了插件。 grails列出插件和
grails uninstall plugin是您的朋友吗您是否尝试过清理?是的,但您从应用程序中引用的插件的sameIs
JsonController
部分仍然有效?在添加插件之前是否有效?是的,之前有效。是的,JsonController(import grails.converters.JSON)是插件的一部分。