下载别人的java web项目部署后运行出错
type Exception report
message Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not load an entity: [com.coal.entity.User#1234567890]; SQL [select user0_.uid as uid11_0_, user0_.account as account11_0_, user0_.adminname as adminname11_0_, user0_.avatar as avatar11_0_, user0_.balance as balance11_0_, user0_.cardimg1 as cardimg6_11_0_, user0_.cardimg2 as cardimg7_11_0_, user0_.cardimg3 as cardimg8_11_0_, user0_.clientid as clientid11_0_, user0_.clienttype as clienttype11_0_, user0_.companyauth as company11_11_0_, user0_.creditvalue as creditv12_11_0_, user0_.driverauth as driverauth11_0_, user0_.email as email11_0_, user0_.integral as integral11_0_, user0_.lat as lat11_0_, user0_.lng as lng11_0_, user0_.loginip as loginip11_0_, user0_.logintime as logintime11_0_, user0_.number as number11_0_, user0_.password as password11_0_, user0_.personalauth as persona22_11_0_, user0_.realname as realname11_0_, user0_.registime as registime11_0_, user0_.sex as sex11_0_, user0_.state as state11_0_, user0_.stateinfo as stateinfo11_0_, user0_.tel as tel11_0_, user0_.type as type11_0_, user0_.valid as valid11_0_ from MT_TD_User user0_ where user0_.uid=?]; nested exception is org.hibernate.exception.SQLGrammarException: could not load an entity: [com.coal.entity.User#1234567890]
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not load an entity: [com.coal.entity.User#1234567890]; SQL [select user0_.uid as uid11_0_, user0_.account as account11_0_, user0_.adminname as adminname11_0_, user0_.avatar as avatar11_0_, user0_.balance as balance11_0_, user0_.cardimg1 as cardimg6_11_0_, user0_.cardimg2 as cardimg7_11_0_, user0_.cardimg3 as cardimg8_11_0_, user0_.clientid as clientid11_0_, user0_.clienttype as clienttype11_0_, user0_.companyauth as company11_11_0_, user0_.creditvalue as creditv12_11_0_, user0_.driverauth as driverauth11_0_, user0_.email as email11_0_, user0_.integral as integral11_0_, user0_.lat as lat11_0_, user0_.lng as lng11_0_, user0_.loginip as loginip11_0_, user0_.logintime as logintime11_0_, user0_.number as number11_0_, user0_.password as password11_0_, user0_.personalauth as persona22_11_0_, user0_.realname as realname11_0_, user0_.registime as registime11_0_, user0_.sex as sex11_0_, user0_.state as state11_0_, user0_.stateinfo as stateinfo11_0_, user0_.tel as tel11_0_, user0_.type as type11_0_, user0_.valid as valid11_0_ from MT_TD_User user0_ where user0_.uid=?]; nested exception is org.hibernate.exception.SQLGrammarException: could not load an entity: [com.coal.entity.User#1234567890] org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
org.springframework.dao.InvalidDataAccessResourceUsageException: could not load an entity: [com.coal.entity.User#1234567890]; SQL [select user0_.uid as uid11_0_, user0_.account as account11_0_, user0_.adminname as adminname11_0_, user0_.avatar as avatar11_0_, user0_.balance as balance11_0_, user0_.cardimg1 as cardimg6_11_0_, user0_.cardimg2 as cardimg7_11_0_, user0_.cardimg3 as cardimg8_11_0_, user0_.clientid as clientid11_0_, user0_.clienttype as clienttype11_0_, user0_.companyauth as company11_11_0_, user0_.creditvalue as creditv12_11_0_, user0_.driverauth as driverauth11_0_, user0_.email as email11_0_, user0_.integral as integral11_0_, user0_.lat as lat11_0_, user0_.lng as lng11_0_, user0_.loginip as loginip11_0_, user0_.logintime as logintime11_0_, user0_.number as number11_0_, user0_.password as password11_0_, user0_.personalauth as persona22_11_0_, user0_.realname as realname11_0_, user0_.registime as registime11_0_, user0_.sex as sex11_0_, user0_.state as state11_0_, user0_.stateinfo as stateinfo11_0_, user0_.tel as tel11_0_, user0_.type as type11_0_, user0_.valid as valid11_0_ from MT_TD_User user0_ where user0_.uid=?]; nested exception is org.hibernate.exception.SQLGrammarException: could not load an entity: [com.coal.entity.User#1234567890] org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:635) org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411) org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:532) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:526) com.coal.dao.impl.UserDaoImpl.findById(UserDaoImpl.java:25) com.coal.service.impl.UserServiceImpl.get(UserServiceImpl.java:33) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) com.sun.proxy.$Proxy46.get(Unknown Source) com.coal.controller.IndexController.doIndex(IndexController.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.coal.entity.User#1234567890] org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) org.hibernate.loader.Loader.loadEntity(Loader.java:2041) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76) org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3294) org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496) org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477) org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227) org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) org.hibernate.impl.SessionImpl.get(SessionImpl.java:1005) org.springframework.orm.hibernate3.HibernateTemplate$2.doInHibernate(HibernateTemplate.java:538) org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406) org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:532) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:526) com.coal.dao.impl.UserDaoImpl.findById(UserDaoImpl.java:25) com.coal.service.impl.UserServiceImpl.get(UserServiceImpl.java:33) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) com.sun.proxy.$Proxy46.get(Unknown Source) com.coal.controller.IndexController.doIndex(IndexController.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'user0_.clientid' in 'field list' sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) com.mysql.jdbc.Util.handleNewInstance(Util.java:406) com.mysql.jdbc.Util.getInstance(Util.java:381) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2643) com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2077) com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2228) org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93) org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208) org.hibernate.loader.Loader.getResultSet(Loader.java:1953) org.hibernate.loader.Loader.doQuery(Loader.java:802) org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274) org.hibernate.loader.Loader.loadEntity(Loader.java:2037) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76) org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3294) org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496) org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477) org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227) org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) org.hibernate.impl.SessionImpl.get(SessionImpl.java:1005) org.springframework.orm.hibernate3.HibernateTemplate$2.doInHibernate(HibernateTemplate.java:538) org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406) org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:532) org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:526) com.coal.dao.impl.UserDaoImpl.findById(UserDaoImpl.java:25) com.coal.service.impl.UserServiceImpl.get(UserServiceImpl.java:33) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) com.sun.proxy.$Proxy46.get(Unknown Source) com.coal.controller.IndexController.doIndex(IndexController.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.79 logs.
- 等 最代码怎么获取牛币啊?
- 完 谁来告诉我最代码上线的时间,答对者给5牛币,先来先得
- 等 牛友们,大家好,你们做程序员多久了?现在还好吗?
- 完 在微信打开的页面里进行app下载
- 等 最代码2014年欢乐聚声会
- 完 mysql如何查询表数据并且对3个字段降序的SQL?
- 完 最代码牛币机制改革
- 完 成功的在bae上使用了自定义运行环境 jetty+nginx的组合,大家对jetty+nginx优化有哪些心得?
- 完 进来分享一下各位牛牛是如何加入最代码大家庭的?
- 等 为什么java BufferedImage类处理大图直接抛出内存溢出的异常?
- 等 最代码是否开发手机app客户端?
- 完 java程序员学习哪些java的技术?java有哪些框架?都能做哪方面的开发?
- 等 php格式网页文件怎么运行?
- 等 Java volatile值获取的问题
- 等 前端vue,拦截了登录后台后,返回的token,requests拦截token,但是发送请求的时候,就出现跨越异常
- 等 大专本科计算机科班怎么找到Java工作?
- 等 eclipse怎么把三个java swing游戏项目合成一个项目?
- 完 伙伴们,大家都有什么好的解压方式么,分享一下~
- 完 三四线城市,6、7k,运维工作,索然无味,想去辞职上培训,各位牛牛有什么建议嘛
- 等 jsp页面输入中文变成问号
- 等 JPA在线上运行一段时间后报错Caused by: java.lang.IncompatibleClassChangeError: null
- 等 PHP 这个规则用preg_match_all怎么写
- 等 大佬们,有没有知道Alfresco如何配置LDAP登录呢?
- 等 php的install目录是框架带的吗?
- 等 javaWeb开源的聊天工具有那些?
- 完 java web如何实现中英文国际化?
- 完 java web的开发过程中,用到多线程的场景有哪些?
- 等 java web开发用什么语言的文件写页面啊,除了jsp格式的文件和html格式的文件?
- 等 如何学习java web开发?
- 等 javaWEB初学者如何学习?在学习路线上和方法上,或者资料的推荐?
- 完 java web现在流行的OA框架使用哪个?
- 等 java web项目启动欢迎页为什么没有样式返回404?
- 等 域名访问项目session为空,通过ip访问正常
- 等 java web运行程序后台为什么老报这个错误?Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them
- 等 java web在启动项目是报错 Error creating bean with name 'shiroFilter' defined in file
- 等 有无比较好的java web框架啦,例如jeesite、jty这样的开源项目源码?