Error loading UrlMappingsPlugin in Grails

房东的猫 提交于 2019-12-24 12:24:04

问题


When creating a basic grails plugin and compiling with Maven, I get this error message:

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 version 2.4.3


回答1:


The solution to this issue is to add the tomcat plugin (no idea why):

Add this to BuildConfig.groovy:

    build ":tomcat:7.0.55"

Then you may need to regenerate the pom.xml file using grails create-pom.

This appears to be related to this bug.



来源:https://stackoverflow.com/questions/25975437/error-loading-urlmappingsplugin-in-grails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!