Hello,
The Google Apps Integration (Pro), version 2.6.1 is not working on our wiki.
XWiki 15.10.7
Tomcat 8.5 (last version 8.5.99)
Java 11 (we’ll move up for XWiki 16…)
When connecting, it processes the login and password of the google account (google account pages).
But when redirecting to XWiki, the page is :
“Authentification Google Apps”
with this message :
Erreur dans l'exécution de la macro [velocity]. Cause :
[Could not initialize class com.google.api.services.people.v1.PeopleService].
Cliquer sur ce message pour voir plus de détails.
The class : com.google.api.services.people.v1.PeopleService
is not found.
And the details (extract of the whole java exception) :
java.lang.NoClassDefFoundError: Could not initialize class com.google.api.services.people.v1.PeopleService
at com.google.api.services.people.v1.PeopleService$Builder.build(PeopleService.java:2496)
at com.google.api.services.people.v1.PeopleService$Builder$build$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
at GoogleAppsGroovy.updateUser(Script_765581af138cbaea069885f002925edc.groovy:348)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:704)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:75)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:242)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:225)
It seems it does not find one lib,…
Suprising ! ???
I have checked the installation of the extension,
and deleted it, and reinstalled it.
Same error.
The dependencies tab shows :
Cette extension dépend de:
- Licensor API1.25 (dans le wiki Home) Installé en tant que dépendance
- Google APIs Client Library for Java1.23.0 (dans le wiki Home) Installé
- People API v1-rev443-1.23.0v1-rev443-1.23.0 (dans le wiki Home) Installé en tant que dépendance
- Drive API v2-rev358-1.23.0v2-rev358-1.23.0 (dans le wiki Home) Installé en tant que dépendance
Is there a extension dependance missing ?
Where does this error come from ?
How to investigate, or solve this ?
Please, any help…