Closed junnhk closed 3 years ago
We got same above error when we created our own hashingPassword function instead of using SqlAuthentication.
It seems infinispan-commons
JAR has a /META-INF/services/java.net.spi.URLStreamHandlerProvider
file which contains:
org.infinispan.commons.jdkspecific.ClasspathURLStreamHandlerProvider
But the corresponding class in not available in the JAR, only in infinispan-commons-jdk11
.
Is that a known issue @tristantarrant?
unzip -v infinispan-commons-12.1.7.Final.jar |grep ClasspathURLStreamHandlerProvider
1677 Defl:N 778 54% 2021-07-14 08:35 3309a4c5 META-INF/versions/11/org/infinispan/commons/jdkspecific/ClasspathURLStreamHandlerProvider$1.class
968 Defl:N 484 50% 2021-07-14 08:35 c909fda9 META-INF/versions/11/org/infinispan/commons/jdkspecific/ClasspathURLStreamHandlerProvider.class
Are you by any chance creating a uberjar and forgetting to enable the Multi-Release: true
in the META-INF/MANIFEST.MF
file ?
Thank you @tristantarrant
@junnhk can you confirm?
@tsegismont sure, after re-packaging fat jar with missing class, the app worked properly.
Hi Vertx team,
We are using Vertx on our private project, and we got the error.
Our environments:
We created a Service Proxy for user to sign-up and sign-in, the constructor of implementation class of Service interface has following code:
The build was as normal but when we run fat jar then we got this error
This happened only with infinispan cluster while it worked with hazelcast cluster (same code)