Hii all…
i am working with xwiiki 11.3 with hsqldb and jetty… and now i looking on github wiki import…i copied the code from https://snippets.xwiki.org/xwiki/bin/view/Extension/Github%20wiki%20import/ but in my case unfortunately its not working… i followed all the instruction that described in that page…
Error Log
Failed to execute the [groovy] macro. Cause: [startup failed: Script3.groovy: 147: unable to resolve class Git @ line 147, column 12. result = new Git(repo).pull() ^ Script3.groovy: 17: unable to resolve class CredentialsProvider @ line 17, column 1. def CredentialsProvider getCredentialsProvider() { ^ Script3.groovy: 18: unable to resolve class UsernamePasswordCredentialsProvider @ line 18, column 9. return new UsernamePasswordCredentialsProvider("<mygithubusername>", "<mytoken>") ^ Script3.groovy: 21: unable to resolve class Repository @ line 21, column 1. def Repository getRepository(String repositoryURI, String localDirectoryName) { ^ Script3.groovy: 22: unable to resolve class Repository @ line 22, column 14. Repository repository; ^ Script3.groovy: 30: unable to resolve class FileRepositoryBuilder @ line 30, column 25. FileRepositoryBuilder builder = new FileRepositoryBuilder(); ^ Script3.groovy: 30: unable to resolve class FileRepositoryBuilder @ line 30, column 35. FileRepositoryBuilder builder = new FileRepositoryBuilder(); ^ Script3.groovy: 38: unable to resolve class Git @ line 38, column 9. Git git = new Git(repository); ^ Script3.groovy: 38: unable to resolve class Git @ line 38, column 15. Git git = new Git(repository); ^ 9 errors ]. Click on this message for details.
Thanks…