创建基本的grails插件并使用Maven进行编译时,出现以下错误消息:
Error loading plugin manager: Could not create a new instance of class [org.codehaus.groovy.grails.plugins.web.mapping.UrlMappingsGrailsPlugin]! (Use --stacktrace to see the full trace)
Grails版本2.4.3
最佳答案
解决此问题的方法是添加tomcat插件(不知道为什么):
将此添加到BuildConfig.groovy:
build ":tomcat:7.0.55"
然后,您可能需要使用
grails create-pom
重新生成pom.xml文件。这似乎与this bug有关。
关于grails - 在Grails中加载UrlMappingsPlugin时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25975437/