diff options
author | gjoranv <gv@verizonmedia.com> | 2022-03-11 22:07:06 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-03-11 22:07:06 +0100 |
commit | f6ef57d59f9f0d92f8c052f2bbcc081dd47de3ae (patch) | |
tree | 89c24eb12b37d9b34ff958e72dc965c9c9f40825 /configserver/pom.xml | |
parent | 0d3284f019bcec19846e5d21f940d66f7ba0b855 (diff) |
Use the javax.ws.rs-api bundle installed in Jdisc, or else:
ERROR : configserver Container.com.yahoo.jdisc.core.StandaloneMain
JDisc exiting: Throwable caught:
exception=
com.yahoo.container.di.componentgraph.core.ComponentNode$ComponentConstructorException: Error constructing 'com.yahoo.vespa.serviceview.StateRequestHandler': null
Caused by: java.lang.LinkageError: loader constraint violation: loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @7f1ad846 wants to load abstract class javax.ws.rs.client.ClientBuilder. A different abstract class with the same name was previously loaded by org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @8d7718e. (javax.ws.rs.client.ClientBuilder is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @8d7718e, parent loader 'bootstrap')
Diffstat (limited to 'configserver/pom.xml')
-rw-r--r-- | configserver/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/pom.xml b/configserver/pom.xml index f3b70d0e12b..97883ab6d2e 100644 --- a/configserver/pom.xml +++ b/configserver/pom.xml @@ -224,7 +224,7 @@ <dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> - <scope>compile</scope> + <scope>provided</scope> <!-- TODO: Vespa 8: Set to compile if we get rid of the javax.ws.rs-api bundle --> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> |