Topic
  • No replies
ChandranP
ChandranP
1 Post

Pinned topic Received ClassNotFoundException: com/ibm/ws/security/util/AccessController

‏2011-07-06T16:23:26Z |
Hi,
I am trying to invoke webservice from my standalone application. While running the application, I am getting the following error even though the bootstrap.jar that contains the file(AccessController.class) is already added into classpath. Please help me to resolve this issue. Thanks in advance.

Error
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/ws/security/util/AccessController
at com.ibm.ws.protocol.Protocols.<clinit>(Protocols.java:44)
at com.ibm.ws.webservices.multiprotocol.models.ModelService.<clinit>(ModelService.java:96)
at TestWebService.calloperation(TestWebService.java:25)
at TestWebService.main(TestWebService.java:71)
Caused by: java.lang.ClassNotFoundException: com.ibm.ws.security.util.AccessController
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 4 more