Servlet.service() for servlet default threw exception
java.lang.Error: Unresolved compilation problems:
The import org.hibernate cannot be resolved
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method list(String, Object...) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method list(String, Object...) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException at com.freedom.scss.service.UserService.<init>(UserService.java:5)
at com.freedom.scss.action.EnterAction.<init>(EnterAction.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:130)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:161)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150)
at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:120)
at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:300)
at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:400)
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.freedom.scss.util.filter.SessionFilter.doFilter(SessionFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.freedom.scss.util.filter.ChineseFilter.doFilter(ChineseFilter.java:13)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
java.lang.Error: Unresolved compilation problems:
The import org.hibernate cannot be resolved
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method process(int, Object) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method list(String, Object...) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method list(String, Object...) from the type SessionUtil refers to the missing type HibernateException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
HibernateException cannot be resolved to a type
The method get(String, Object...) from the type SessionUtil refers to the missing type NonUniqueResultException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException
The method get(Class, int) from the type SessionUtil refers to the missing type HibernateException at com.freedom.scss.service.UserService.<init>(UserService.java:5)
at com.freedom.scss.action.EnterAction.<init>(EnterAction.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:130)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:161)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150)
at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:120)
at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:300)
at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:400)
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.freedom.scss.util.filter.SessionFilter.doFilter(SessionFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.freedom.scss.util.filter.ChineseFilter.doFilter(ChineseFilter.java:13)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货