java - Keycloak extension with dependencies -


i'm creating keycloak extension dependencies. added entry on pom.xml this:

<dependency>     <groupid>org.json</groupid>     <artifactid>json</artifactid>     <version>20160810</version> </dependency> 

then deployed keycloak:

mvn clean install wildfly:deploy 

but when run it, got error:

org.jboss.resteasy.spi.unhandledexception: java.lang.noclassdeffounderror: org/json/jsonobject caused by: java.lang.noclassdeffounderror: org/json/jsonobject caused by: java.lang.classnotfoundexception: org.json.jsonobject [module "deployment.keycloak-authenticator.jar" service module loader]     @ org.jboss.modules.moduleclassloader.findclass(moduleclassloader.java:198)     @ org.jboss.modules.concurrentclassloader.performloadclassunchecked(concurrentclassloader.java:412)     @ org.jboss.modules.concurrentclassloader.performloadclass(concurrentclassloader.java:400)     @ org.jboss.modules.concurrentclassloader.loadclass(concurrentclassloader.java:116)     ... 66 more 

how add dependencies extensions in keycloak?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -