Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

Solutions on the web

via GitHub by memin20
, 2 years ago
jersey/repackaged/com/google/common/base/Function
java.lang.ClassNotFoundException: com.google.common.base.Predicate	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)	at org.glassfish.jersey.client.ClientConfig$State.(ClientConfig.java:144)	at org.glassfish.jersey.client.ClientConfig.(ClientConfig.java:423)	at org.glassfish.jersey.client.JerseyClientBuilder.(JerseyClientBuilder.java:72)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at java.lang.Class.newInstance(Class.java:442)	at javax.ws.rs.client.FactoryFinder.newInstance(FactoryFinder.java:116)	at javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:206)	at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:86)	at javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)	at client.ApiService.main(ApiService.java:22)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)