173 lines
16 KiB
Plaintext
173 lines
16 KiB
Plaintext
2021-01-22 11:25:36,209 ERROR [http-nio-8080-exec-8] o.a.c.c.C.[.[.[.[dispatcherServlet] [DirectJDKLog.java:175] Servlet.service() for servlet [dispatcherServlet] in context with path [/echo] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'tile' in 'class com.greate.community.entity.DiscussPost'] with root cause
|
|
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'tile' in 'class com.greate.community.entity.DiscussPost'
|
|
at org.apache.ibatis.reflection.Reflector.getGetInvoker(Reflector.java:374)
|
|
at org.apache.ibatis.reflection.MetaClass.getGetInvoker(MetaClass.java:164)
|
|
at org.apache.ibatis.reflection.wrapper.BeanWrapper.getBeanProperty(BeanWrapper.java:162)
|
|
at org.apache.ibatis.reflection.wrapper.BeanWrapper.get(BeanWrapper.java:49)
|
|
at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:122)
|
|
at org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:79)
|
|
at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94)
|
|
at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64)
|
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:88)
|
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
|
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.lang.reflect.Method.invoke(Method.java:498)
|
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
|
|
at com.sun.proxy.$Proxy66.insert(Unknown Source)
|
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
|
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)
|
|
at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152)
|
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85)
|
|
at com.sun.proxy.$Proxy71.insertDiscussPost(Unknown Source)
|
|
at com.greate.community.service.DiscussPostSerivce.addDiscussPost(DiscussPostSerivce.java:62)
|
|
at com.greate.community.controller.DiscussPostController.addDiscussPost(DiscussPostController.java:46)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.lang.reflect.Method.invoke(Method.java:498)
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060)
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
at java.lang.Thread.run(Thread.java:748)
|
|
2021-01-22 11:28:37,207 ERROR [http-nio-8080-exec-1] o.a.c.c.C.[.[.[.[dispatcherServlet] [DirectJDKLog.java:175] Servlet.service() for servlet [dispatcherServlet] in context with path [/echo] threw exception [Request processing failed; nested exception is org.apache.ibatis.exceptions.PersistenceException:
|
|
### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x8A |...' for column 'title' at row 1
|
|
### The error may exist in file [E:\GreateCommunity\target\classes\mapper\discusspost-mapper.xml]
|
|
### The error may involve com.greate.community.dao.DiscussPostMapper.insertDiscussPost-Inline
|
|
### The error occurred while setting parameters
|
|
### SQL: insert into discuss_post ( user_id, title, content, type, status, create_time, comment_count, score ) values(?, ?, ?, ?, ?, ?, ?, ?)
|
|
### Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x8A |...' for column 'title' at row 1] with root cause
|
|
java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x8A |...' for column 'title' at row 1
|
|
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)
|
|
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
|
|
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
|
|
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
|
|
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
|
|
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
|
|
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
|
|
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
|
|
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.lang.reflect.Method.invoke(Method.java:498)
|
|
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
|
|
at com.sun.proxy.$Proxy85.execute(Unknown Source)
|
|
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47)
|
|
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
|
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
|
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
|
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.lang.reflect.Method.invoke(Method.java:498)
|
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
|
|
at com.sun.proxy.$Proxy66.insert(Unknown Source)
|
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
|
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)
|
|
at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152)
|
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85)
|
|
at com.sun.proxy.$Proxy71.insertDiscussPost(Unknown Source)
|
|
at com.greate.community.service.DiscussPostSerivce.addDiscussPost(DiscussPostSerivce.java:62)
|
|
at com.greate.community.controller.DiscussPostController.addDiscussPost(DiscussPostController.java:46)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.lang.reflect.Method.invoke(Method.java:498)
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060)
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
at java.lang.Thread.run(Thread.java:748)
|