Home
TeamSite
Issues Running CSSDK Sample CSHelloWorld
vijay_m_charles
When I try to run the program CSHelloWorld.java from the Java 1.4 version of the example programs from Teamsite, I get the error below.
Oct 27, 2008 4:21:59 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.interwoven.cssdk.factory.CSSOAPFactory.getFactory(CSSOAPFactory.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.interwoven.cssdk.factory.CSFactory.getFactory(CSFactory.java:128)
at CSHelloWorld.main(CSHelloWorld.java:52)
Caused by: java.lang.NoSuchFieldError: org.apache.axis.enum.Style: field RPC not found
at com.interwoven.cssdk.client.axis.generated.AccessServiceBindingStub.(AccessServiceBindingStub.java:29)
at com.interwoven.cssdk.client.axis.generated.AccessServiceServiceLocator.getAccessService(AccessServiceServiceLocator.java:43)
at com.interwoven.cssdk.client.axis.common.AxisFactory.(AxisFactory.java:119)
at com.interwoven.cssdk.client.axis.common.AxisFactory.getFactory(AxisFactory.java:161)
... 13 more
Exception in thread "main" com.interwoven.cssdk.factory.CSFactoryInitializationException: (Factory initialization failed)
at com.interwoven.cssdk.factory.CSFactory.getFactory(CSFactory.java:130)
at CSHelloWorld.main(CSHelloWorld.java:52)
Root cause:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.interwoven.cssdk.factory.CSFactory.getFactory(CSFactory.java:128)
at CSHelloWorld.main(CSHelloWorld.java:52)
Caused by: com.interwoven.cssdk.factory.CSFactoryInitializationException: (Factory initialization failed)
at com.interwoven.cssdk.factory.CSSOAPFactory.getFactory(CSSOAPFactory.java:164)
... 7 more
Find more posts tagged with
Comments
Jcse
Hi
Check for following jar files at library location under the lib folder
axis.jar
activation.jar
mail.jar
If these are not there,then add them.
zmeiPop
I had the same problem...
adding those 3 libs helped
axis.jar
activation.jar
mail.jar
anu3
Hi there,
Could u tell me how u ran that sample ? even i m new to cssdk and was trying to figure out how to make it run on TS ?
Please guide ....