I am trying to authenticate a user using the org.wso2.carbon.user.mgt.stub

When I run the client an exception occurs while trying to access the
following method

configContext
=ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,null);

java.lang.LinkageError: loader constraint violation: when resolving method
"org.wso2.securevault.SecretResolverFactory.create(Lorg/apache/axiom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolver;"
the class loader (instance of
org/wso2/carbon/webapp/mgt/loader/CarbonWebappClassLoader) of the current
class, org/apache/axis2/deployment/AxisConfigBuilder, and the class loader
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for
resolved class, org/wso2/securevault/SecretResolverFactory, have different
Class objects for the type
iom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolve


What am I missing. What should be given as a configuration context for
the AuthenticationAdminStub(...) method?

Thanks

-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to