org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [WebApp] in context with path关于数据库库的问题


1、在本地~~把你的查询的sql打印出来~~~然后拿到测试库里面执行一遍~~然后拿到正式库里面在执行一遍 
2、看生产和本地~~1)、代码不同步;2)、就是数据为空问题
3、也有可能是数据库配置文件问题~~需要调~~ 比如有时候~~表的数据太大~~sql、执行耗时~~~而配置文件超时时间设置短~~就会造成上面的问题,看jdbc配置文件里面有设置这个时间,通常设置30s啊
4、测试环境和升产环境最大的不一样就是数据~~要确认你提交的代码全不全~~然后就是数据问题了。
最后问项目经理:查出的问题是一个字段不够长

解决步骤:

1、选中表,点表设计

2、把字段改成需要的长度

3、点SQL预览,把sql发给项目经理

 

 特此记录2017.05.05

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 JSONArray().fromObject(); 出现org.apache.catalina.core.StandardWrapperValve invoke错误的解决办法 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception 异常 Servlet.service() for servlet [jsp] in context ....错误 错误:严重: Servlet.service() for servlet [appServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed;springboot无法注入,注入后无效 org.apache.catalina.core.StandardService - Stopping service [Tomcat] 报错:严重: Servlet.service() for servlet [jsp] in context with path [/20161116-Struts2-6] threw exception [/index.jsp (line: 13, column: 20) No tag "textfiled" defined in tag library imported with prefix Servlet.service() for servlet [dispatcherServlet] in context with path [/heima_ssm_web] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause Servlet.service() for servlet [jsp] in context with path [/Healthy_manager] threw exception [Unable to compile class for JSP] with root cause java.lang.IllegalArgumentException: Page directive: inval 报错更改 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] wit
 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM