我想在localhost上實現XPagesSBT。 我遵循這篇文章http://heidloff.net/home.nsf/dx/12152011034545AMNHECAP.htm和尼克拉斯的SBT文件,並試圖實施Dropbox oAuth。XPages社交業務工具包
我也放置在http://localhost/XPagesSBT.nsf/ and http://localhost/WebSecurityStore.nsf
根文件夾
但我仍然得到這個錯誤
Error while executing JavaScript action expression
Script interpreter error, line=1, col=26: Error calling method 'isAuthenticated()' on java class 'com.ibm.xsp.extlib.sbt.services.client.endpoints.DropboxEndpoint'
No application is registered with id XPagesSBT and provider Dropbox
if([email protected]("dropbox").isAuthenticated()) {@Endpoint("dropbox").authenticate(true);}
做我需要做任何其他的配置/設置到XPagesSBT分貝?或者它不會與Localhost一起工作?
你可以嘗試調試isAuthenticated方法。或可考慮源分支導致您的特定錯誤。這絕對是一個錯誤配置問題。 – 2013-02-25 17:12:52