You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running from the example for Postgres I am getting a ClassNotFoundException. I have tried both Specs2 and ScalaTest and get the same results.
Any insights?
StackTrace:
[info] com.banno.transaction.exporter.history.PostgresServiceSpec *** ABORTED ***
[info] java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
[info] at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
[info] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
[info] at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
[info] at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80)
[info] at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:81)
[info] at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:297)
[info] at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:76)
[info] at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:2602)
[info] at com.spotify.docker.client.DefaultDockerClient.listImages(DefaultDockerClient.java:624)
[info] at com.whisk.docker.impl.spotify.SpotifyDockerCommandExecutor.$anonfun$listImages$1(SpotifyDockerCommandExecutor.scala:184)
From what I have saw, this is probably related to a problem with another dependency, I got a similar exception while adding the elastic4s dependency:
[info] java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
[info] at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
[info] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
[info] at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
[info] at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80)
[info] at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:81)
[info] at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:297)
[info] at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:76)
[info] at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:2599)
[info] at com.spotify.docker.client.DefaultDockerClient.listImages(DefaultDockerClient.java:621)
[info] at com.whisk.docker.impl.spotify.SpotifyDockerCommandExecutor$$anonfun$listImages$1.apply(SpotifyDockerCommandExecutor.scala:187)
[info] ...
[info] Cause: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
[info] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[info] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[info] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[info] at java.lang.Class.forName0(Native Method)
[info] at java.lang.Class.forName(Class.java:264)
[info] at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
[info] at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
[info] at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
[info] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
[info] at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
Running from the example for Postgres I am getting a ClassNotFoundException. I have tried both Specs2 and ScalaTest and get the same results.
Any insights?
StackTrace:
TestCode:
The text was updated successfully, but these errors were encountered: