我拼命尝试使用XWiki Grails插件,但到目前为止还没有运气。我做了什么:
现在,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
最佳答案
添加:xwiki-rendering:1.0-RC3
行后,尝试执行以下操作:
grails refresh-depencies
在您的项目根文件夹中。
关于grails - Grails xwiki插件中的编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20077975/