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

via openxava by yerikab
, 1 year ago
Could not initialize class com.gargoylesoftware.htmlunit.WebClient
java.lang.NoClassDefFoundError: Could not initialize class com.gargoylesoftware.htmlunit.WebClient  	at org.openxava.invoicing.validators.ISBNValidator.isbnExists(ISBNValidator.java:26)	at org.openxava.invoicing.validators.ISBNValidator.isValid(ISBNValidator.java:21)	at org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:386)	at org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:352)	at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:139)	at org.hibernate.validator.event.ValidateEventListener.onPreUpdate(ValidateEventListener.java:177)	at org.hibernate.action.EntityUpdateAction.preUpdate(EntityUpdateAction.java:237)	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:88)	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)	at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)	at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)	at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)	at org.openxava.jpa.XPersistence.commit(XPersistence.java:134)	at org.openxava.controller.ModuleManager.doCommit(ModuleManager.java:603)	at org.openxava.controller.ModuleManager.commit(ModuleManager.java:594)	at org.openxava.web.dwr.Module.request(Module.java:110)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)	at java.lang.Thread.run(Unknown Source)