我安裝了playframework fbconnect模塊(版本0.6)。我不斷收到以下錯誤。 我正在遵循基本示例的步驟。即使模塊文件夾中的示例和測試應用程序也會出現相同的錯誤。playframework與fbconnect集成
Compilation error
The file {module:..}/app/controllers/FBConnect.java could not be compiled. Error raised is : play.modules.fbconnect.FBConnectPlugin cannot be resolved
play.exceptions.CompilationException: play.modules.fbconnect.FBConnectPlugin cannot be resolved
at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompiler.java:246)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:676)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:520)
at play.classloading.ApplicationCompiler.compile(ApplicationCompiler.java:282)
at play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:424)
at play.Play.start(Play.java:505)
at play.Play.detectChanges(Play.java:629)
at play.Invoker$Invocation.init(Invoker.java:198)
at Invocation.HTTP Request(Play!)
你是怎麼安裝fbconnect模塊的?您是否將fbconnect添加爲Play的依賴項?應用? – craigmj 2012-01-14 06:27:02
是的,我使用命令play install fbconnect-0.6安裝了播放模塊(我也試過fbconnect-head)。我在dependency.yaml文件中擁有對模塊的依賴關係,並按照README.md中的描述定義了應用程序參數。 – rOrlig 2012-01-14 06:44:15
並且您已將fbconnect添加到dependencies.yml? – craigmj 2012-01-14 06:45:23