当发布我使用“Realease-2.0.4”和 Grails 2.0.1 构建的特定插件时,我遇到了一个奇怪的异常,我似乎无法摆脱它。我有许多具有类似设置的插件,但没有一个会产生此异常。
| Error 2012-11-15 17:00:25,604 [main] ERROR plugins.DefaultGrailsPlugin - Class not found loading plugin resource [spring.resources]. Resource skipped.
Message: spring.resources
Line | Method
->> 202 | run in java.net.URLClassLoader$1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 190 | findClass in java.net.URLClassLoader
| 306 | loadClass in java.lang.ClassLoader
| 247 | loadClass in ''
| 178 | doCall . in _PluginDependencies_groovy$_run_closure5_closure23
| 176 | doCall in _PluginDependencies_groovy$_run_closure5
| 60 | doCall . in _GrailsPackage_groovy$_run_closure2
| 45 | doCall in PublishPlugin$_run_closure1
^ 62 | doCall . in ''
| Error 2012-11-15 17:00:25,977 [main] ERROR plugins.DefaultGrailsPlugin - Class not found loading plugin resource [spring.resources]. Resource skipped.
Message: spring.resources
Line | Method
->> 202 | run in java.net.URLClassLoader$1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 190 | findClass in java.net.URLClassLoader
| 306 | loadClass in java.lang.ClassLoader
| 247 | loadClass in ''
| 178 | doCall . in _PluginDependencies_groovy$_run_closure5_closure23
| 176 | doCall in _PluginDependencies_groovy$_run_closure5
| 60 | doCall . in _GrailsPackage_groovy$_run_closure2
| 45 | doCall in PublishPlugin$_run_closure1
^ 62 | doCall . in ''
这就是堆栈跟踪的全部内容。
grails-app/conf/spring/resources 下没有定义资源。
知道我如何解决这个问题吗?