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

Solutions on the web

java.lang.NoClassDefFoundError: com/google/common/base/Function	at org.glassfish.jersey.server.ResourceConfig.(ResourceConfig.java:350)	at org.glassfish.jersey.servlet.WebComponent.createResourceConfig(WebComponent.java:425)	at org.glassfish.jersey.servlet.WebComponent.(WebComponent.java:290)	at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:167)	at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:349)	at javax.servlet.GenericServlet.init(GenericServlet.java:244)	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)	at org.eclipse.jetty.server.Server.doStart(Server.java:282)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.wst.server.preview.internal.PreviewStarter.run(PreviewStarter.java:72)	at org.eclipse.wst.server.preview.internal.PreviewStarter.main(PreviewStarter.java:29)