[英]Compile error in Grails xwiki plugin
我拼命嘗試使用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
添加行:xwiki-rendering:1.0-RC3
嘗試執行以下操作:
grails refresh-depencies
在您的項目根文件夾中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.