shimh-develop / blog-vue-springboot

基于Vue+SpringBoot构建的博客项目
1.93k stars 552 forks source link

你好,请问这个是哪里出错了啊? #10

Closed increasinglyy closed 5 years ago

increasinglyy commented 5 years ago

Hibernate: select from me_article order by view_counts desc limit ? Hibernate: select t.,count(at.tag_id) as count from me_article_tag at right join me_tag t on t.id = at.tag_id group by t.id order by count(at.tag_id) desc limit ? Hibernate: select year(create_date) as year,month(create_date) as month,count(*) as count from me_article group by year(create_date),month(createdate) Hibernate: select article0.id as id10, article0_.author_id as author_i80, article0_.body_id as body_id90, article0_.category_id as categor100, article0_.comment_counts as comment_20, article0_.create_date as create_d30, article0_.summary as summary40, article0_.title as title50, article0_.view_counts as view_cou60, article0_.weight as weight70 from mearticle article0 where 1=1 order by article0_.create_date desc limit ? Hibernate: insert into sys_log (create_date, ip, method, module, nickname, operation, params, time, userid) values (?, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: insert into sys_log (create_date, ip, method, module, nickname, operation, params, time, userid) values (?, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: insert into sys_log (create_date, ip, method, module, nickname, operation, params, time, userid) values (?, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: insert into sys_log (createdate, ip, method, module, nickname, operation, params, time, userid) values (?, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: select user0.id as id1_70, user0_.account as account2_70, user0_.admin as admin3_70, user0_.avatar as avatar4_70, user0_.create_date as create_d5_70, user0_.deleted as deleted6_70, user0_.email as email7_70, user0_.last_login as last_log8_70, user0_.mobile_phone_number as mobile_p9_70, user0_.nickname as nicknam10_70, user0_.password as passwor11_70, user0_.salt as salt12_70, user0_.status as status13_70 from sysuser user0 where user0.id=? 2019-05-07 10:03:33.529 ERROR com.shimh.common.controlleradvice.GlobalExceptionHandler 88 ExceptionHandler - 服务器内部错误 , uri: /articles , caused by: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: write javaBean error, fastjson version 1.2.44, class com.shimh.common.result.Result, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.Article, fieldName : 0, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.User$$_jvst71b1, fieldName : author; nested exception is com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.44, class com.shimh.common.result.Result, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.Article, fieldName : 0, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.User$$_jvst71b_1, fieldName : author at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:268) ~[fastjson-1.2.44.jar:?] at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.write(FastJsonHttpMessageConverter.java:185) ~[fastjson-1.2.44.jar:?] at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:231) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:174) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:81) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:113) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.4.0.jar:1.4.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) [druid-1.1.6.jar:1.1.6] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.4.0.jar:1.4.0] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.4.0.jar:1.4.0] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) [shiro-core-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.4.0.jar:1.4.0] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.4.0.jar:1.4.0] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.23.jar:8.5.23] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.23.jar:8.5.23] at java.lang.Thread.run(Thread.java:748) [?:1.8.0201] Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.44, class com.shimh.common.result.Result, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.Article, fieldName : 0, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.User$$_jvst71b_1, fieldName : author at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:465) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.writeNormal(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.ASMSerializer_1Result.write(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:275) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:845) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:247) ~[fastjson-1.2.44.jar:?] ... 79 more Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.44, class com.shimh.entity.Article, fieldName : 0, write javaBean error, fastjson version 1.2.44, class com.shimh.entity.User$$_jvst71b_1, fieldName : author at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:465) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:81) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.writeNormal(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.ASMSerializer_1Result.write(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:275) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:845) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:247) ~[fastjson-1.2.44.jar:?] ... 79 more Caused by: com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.44, class com.shimh.entity.User$$_jvst71b_1, fieldName : author at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:465) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:81) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.writeNormal(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.write(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:275) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:845) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:247) ~[fastjson-1.2.44.jar:?] ... 79 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:484) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:135) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:249) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:81) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.writeNormal(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.ASMSerializer_1Result.write(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:275) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:845) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:247) ~[fastjson-1.2.44.jar:?] ... 79 more Caused by: javax.persistence.EntityNotFoundException: Unable to find com.shimh.entity.User with id 1 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:144) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final] at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:242) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final] at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:159) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final] at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:266) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final] at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:73) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final] at com.shimh.entity.User$$_jvst71b1.getNickname(User$$_jvst71b_1.java) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:484) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValueDirect(FieldSerializer.java:135) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:249) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:81) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:284) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:411) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:120) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.writeNormal(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.ASMSerializer_1_Result.write(Unknown Source) ~[?:?] at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:275) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.JSON.writeJSONString(JSON.java:845) ~[fastjson-1.2.44.jar:?] at com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.writeInternal(FastJsonHttpMessageConverter.java:247) ~[fastjson-1.2.44.jar:?] ... 79 more