我拼命尝试使用 XWiki Grails 插件,但到目前为止还没有运气。我做了什么:
- grails 创建应用程序 xwikitest
- 在 BuildConfig.groovy 的插件部分添加“编译”:xwiki-rendering:1.0-RC3。
- cd xwikitest
- 圣杯
- run-app (no controller, empty web-app) 现在 grails 回答这些错误:
| Compiling 50 source files.
| Error Compilation error: startup failed:
Compile error during compilation with javac.
/home/pierre/.grails/2.2.0/projects/xwikitest/plugins/xwiki-rendering-1.0-RC3/src/java/com/monochromeroad/grails/plugins/xwiki/XWikiComponentManager.java:34: type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return componentManager.getInstance(componentType, hint);
^
/home/pierre/.grails/2.2.0/projects/xwikitest/plugins/xwiki-rendering-1.0-RC3/src/java/com/monochromeroad/grails/plugins/xwiki/XWikiComponentManager.java:42: type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return componentManager.getInstance(componentType);
^
2 errors
1 error
| Error Error running script run-app: org.codehaus.groovy.grails.cli.ScriptExitException (Use --stacktrace to see the full trace)
在 Fedora 14 下运行 Grails 2.2.0
我可能遗漏了一些明显的东西,但我自己无法找到。任何帮助表示赞赏,因为这太疯狂了。TIA