我拼命想尝试使用XWiki 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
答案 0 :(得分:0)
添加行:xwiki-rendering:1.0-RC3
后,尝试执行以下操作:
grails refresh-depencies
在项目根文件夹中。