[Building Sakai] Trying to add google-docs

Alexandre Ballesté alexandre.balleste at udl.cat
Thu Jan 31 05:35:51 PST 2013


Sometimes I also got the

2013-01-31 14:32:48,475 ERROR TP-Processor3 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/google-content-tool].[springmvc] 
- Servlet.service() for servlet springmvc threw exception
java.lang.NoClassDefFoundError: Could not initialize class 
com.google.gdata.client.docs.DocsService
...

Thaks

On 01/31/2013 02:15 PM, Alexandre Ballesté wrote:
> Hi, I'm trying to use the rsmart's google-docs tool with sakai2.9. I
> could deploy all the artifacts described on the installation
> instructions to tomcat and set up the oauth provider,  but I got an
> error when I tried to access to DOCS from resources tool, after granting
> permissions.
>
>
> java.lang.NoSuchMethodError:
> com.google.common.collect.ImmutableSet.copyOf([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
>       at
> com.google.gdata.wireformats.AltFormat$Builder.setAcceptableTypes(AltFormat.java:399)
>       at
> com.google.gdata.wireformats.AltFormat$Builder.setAcceptableXmlTypes(AltFormat.java:387)
>
> I had to get the following pieces of code to  deploy with 2.9-SNAPSHOT from:
>
> svn co https://source.sakaiproject.org/contrib/longsight/rsmart/oauth-trunk
> svn co
> https://source.sakaiproject.org/contrib/longsight/rsmart/google-content-trunk
> svn co
> https://source.sakaiproject.org/contrib/longsight/rsmart-certification/branches/2.9.x/rsmart-util/
> svn co
> https://source.sakaiproject.org/contrib/longsight/rsmart-certification/branches/2.9.x/rsmart-common
>
> I also ensured to have into shared/lib:
>
> gdata-client-1.0.jar
> gdata-core-1.0.jar
> gdata-docs-3.0.jar
> gdata-media-1.0.jar
> gdata-spreadsheet-3.0.jar
>
> Any idea? Did anybody experimented this error?
>
> Thanks in advance
>
> Àlex
>


-- 
Alexandre Ballesté Crevillén  alexandre.balleste at udl.cat
=====================
Universitat de Lleida
Àrea de sistemes d'Informació i Comunicacions
Analista/Programador

University of Lleida
Information and Communication Systems Service
Analyst / Programmer

Tlf: +34 973 702148
Fax: +34 973 702130
=====================


AVÍS LEGAL
Aquest missatge pot contindre informació privada o confidencial, i s'adreça exclusivament a la persona destinatària. Si l'heu rebut per error, comuniqueu-nos-ho i destruïu-lo, i tingueu present que no teniu autorització per fer-ne cap ús.

LEGAL NOTICE
This message may contain private or confidential information, and is addressed exclusively to its intended recipient. If you have received it in error, please notify the sender and delete it. Please bear in mind that you are not authorized to use it for any purposes.

AVISO LEGAL
Este mensaje puede contener información privada o confidencial, y va dirigido exclusivamente a la persona destinataria. Si lo ha recibido por error, comuníquenoslo y destrúyalo, y recuerde que en ningún caso tiene autorización para utilizarlo.

AVERTIMENT LEGAL
Aqueste messatge pòt conténer d'informacion privada o confidenciala, e s¿adreça sonque a la persona destinatària. Se l¿avètz recebut per causa erronèa, vos demandam d'o nos far saber e de lo destrusir immediatament, e vos remembram qu'avètz pas cap d'autorizacion per l'utilizar per qué que siá.



More information about the sakai-dev mailing list