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

    This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

Solutions on the web

via liferay.com by Unknown author, 1 year ago
org.hibernate.QueryException
java.lang.ClassNotFoundException: org.hibernate.QueryException	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:247)	at com.liferay.portal.kernel.util.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:39)	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)	at com.test.ci.pig.service.ClpSerializer.translateThrowable(ClpSerializer.java:223)	at com.test.ci.pig.service.RecordLocalServiceClp.getTempRecord(RecordLocalServiceClp.java:722)	at com.test.ci.pig.service.RecordLocalServiceUtil.getTempRecord(RecordLocalServiceUtil.java:290)	at com.test.ci.pig.vs.PIGVendorNSupplierPortlet.updatePIGRecord(PIGVendorNSupplierPortlet.java:198)	at com.test.ci.pig.vs.PIGVendorNSupplierPortlet.uploadPIG(PIGVendorNSupplierPortlet.java:117)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.liferay.portal.kernel.portlet.LiferayPortlet.callActionMethod(LiferayPortlet.java:153)	at com.liferay.util.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:250)	at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:80)	at com.liferay.util.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:220)	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:534)	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:579)	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:294)	at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:944)	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:688)	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:335)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:619)