cancel
Showing results for 
Search instead for 
Did you mean: 

SDK WebServiceSamples don't work with alfresco preview 2.0

aznk
Champ in-the-making
Champ in-the-making
Hello,
I've been trying to launch the SDK WebServiceSamples (with SDK 2.0) but they don't work anymore with preview 2.0, they used to work under alfresco 1.4 community.
I always get this exception :
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/star/uno/RuntimeException
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:70)
   at org.alfresco.sample.webservice.Categories.main(Categories.java:45)
what's wrong ?
4 REPLIES 4

pde74
Champ in-the-making
Champ in-the-making
Hello,
I've been trying to launch the SDK WebServiceSamples (with SDK 2.0) but they don't work anymore with preview 2.0, they used to work under alfresco 1.4 community.
I always get this exception :
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/star/uno/RuntimeException
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:70)
   at org.alfresco.sample.webservice.Categories.main(Categories.java:45)
what's wrong ?

I've the same error!!

I've tried to add to classpath the openoffice-ridl-2.0.3.jar and it does find the appropriate class…. but I does not work too..

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

There where some issues with the SDK in 2.0 which have now been fixed.

Cheers,
Roy

aznk
Champ in-the-making
Champ in-the-making
Hi,
Is the new version available from sourceforge ? the lastest version I saw was still from January 19th…

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

The next refresh to SourceForge is due in the next couple of weeks. 

In the mean time the updates are available on svn HEAD.

Cheers,
Roy