错误记录
胖子胖胖胖胖
菜菜菜菜菜猪一名
展开
-
failed to parse the connection string near ';useSSL=false&serverTimezone=Hongkong'.
参考:添加链接描述我本来是在Mybatis全局配置中,写死数据库连接参数的版本为8.0.18 在java和xml中,&都要使用&<property name="driver" value="com.mysql.cj.jdbc.Driver"/> <property name="url" value="jdbc:mysql://localhost:33...原创 2020-05-06 23:03:25 · 2487 阅读 · 2 评论 -
学习Cannot find class: com.mysql.cj.jdbc.Driver
Cannot find class: com.mysql.cj.jdbc.Driverorg.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. ...原创 2020-05-06 22:24:20 · 574 阅读 · 0 评论 -
Tomcat--localhost404 项目无法启动
报错:24-Apr-2020 22:57:30.849 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\apache\apache-tomcat-8.0.33\webapps\manager24-A...原创 2020-04-24 23:00:48 · 433 阅读 · 0 评论 -
local class incompatible: stream classdesc serialVersionUID = 1502241954359378124, local class seria
最近在学java基础,IO。涉及到对象序列化与反序列化。在实现了序列化的类中,我改动了一个属性,加上了前缀transient。报错如标题:错误原因:启用了磁盘缓存,对象使用了序列化接口,而未给对象分配序列化id,当对象做出字段的改变时,就会出现版本兼容的问题,定义一个id可以有效的进行版本兼容。解决方法:在类中加入序列化id: private static final long seri...原创 2019-07-12 09:45:52 · 711 阅读 · 0 评论 -
[SSH]之ERROR:The given object has a null identifier
写表单提交到后台,后台接收不到值,一直报错如下在查询单条数据时接收到了对象。不知为何提交修改数据却不行网上查了看原解答地址:https://blog.csdn.net/maomaoandyaoyaomice/article/details/49584265...原创 2019-06-24 23:54:21 · 137 阅读 · 0 评论 -
【SSH】ERROR之Error setting expression 'id' with value ['1', ]
15:57:04.110 [http-nio-8080-exec-10] ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor - Unexpected Exception caught setting ‘id’ on 'class com.whpu.k16035.action.DishesAction: Error set...原创 2019-06-24 16:27:04 · 771 阅读 · 0 评论 -
SSH之ERROR:HTTP Status 500 - could not execute statement; SQL [n/a]; constraint [null]; nested except
报错情况如下(一)Struts Problem ReportStruts has detected an unhandled exception:Messages: Column 'type' cannot be nullcould not execute statementcould not execute statement; SQL [n/a]; constraint [nu...原创 2019-06-26 19:52:42 · 1098 阅读 · 0 评论 -
ssh之There is no Action mapped for namespace [/] and action name [LIAO_ssh_apsfc1
这个是命名空间上下文的锅肯定是Tomcat的配置没有加入项目名!!!!果不其然这两个地方都要加项目名很奇怪我同学的IDEA是在url哪里加了项目名,上下文就自动生成了项目名在/后。我的需要手动加两个地方...原创 2019-06-22 16:43:36 · 142 阅读 · 0 评论 -
【SSH】之Error--object references an unsaved transient instance - save the transient instance before
0:53:01.554 [http-nio-8080-exec-6] ERROR org.hibernate.internal.ExceptionMapperStandardImpl - HHH000346: Error during managed flush [org.hibernate.TransientObjectException: object references an unsave...原创 2019-06-25 21:02:56 · 189 阅读 · 0 评论