![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
出错
想起飞的猪
这个作者很懒,什么都没留下…
展开
-
解析xml字符串出现问题
问题: 解析xml字符串中出现Error on line 1 of document : 前言中不允许有内容。 Nested exception: 前言中不允许有内容。我的xml字符串<Response><ResultCode>0</ResultCode><ErrorMsg>操作成功!</ErrorMsg></Response>网上说编码问题,我一系列的操作都不行,换字符串的编码类型等等操作都不行最后看到网上...原创 2020-11-17 16:33:57 · 533 阅读 · 0 评论 -
出现问题
问题: class path resource cannot be resolved to absolute file path becase it does not reside in the file systemspringboot 打jar包放在服务器出现。解决: 读取配置文件 ClassPathResource classPathResource = new ClassPathResource("文件路径"); InputS...原创 2020-06-29 14:00:31 · 161 阅读 · 0 评论 -
利用Jaspersoft Studio软件利用javabean作为数据源填充数据
出错:net.sf.jasperreports.engine.JRException: Error retrieving field value from bean :解决: 打开source删除里面 <field name="noBon" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> &...原创 2020-06-05 10:22:30 · 554 阅读 · 0 评论 -
java出错
报的错:com.fasterxml.jackson.databind.exc.InvalidDefinitionException:Cannot construct instance of `com.bjsxt.pojo.User` (***no Creators, like default construct, exist***): cannot deserialize from Objec...原创 2019-12-04 14:50:48 · 561 阅读 · 0 评论 -
springBoot整合springData出现的错误
报错的代码:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfi...原创 2019-11-20 21:29:02 · 840 阅读 · 0 评论 -
java连接MongoDB单机版出错
com.mongodb.MongoSocketOpenException: Exception opening socketcom.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:67...原创 2019-11-04 15:42:59 · 181 阅读 · 0 评论 -
Mongodb的出错
MongoDB{ "ok" : 0, *"errmsg" : "too many users are authenticated",* "code" : 13, "codeName" : "Unauthorized"}当你在命令中操作时,出现这种情况,就是你的用户认证过多,简单讲,就是一个数据库多次登录。这时候你只需退出MongoDB,重新进。...原创 2019-11-01 10:24:39 · 787 阅读 · 0 评论 -
Duplicate entry 'xx' for key 'PRIMARY'
主键重复,冲突,就是你往数据库中添加,添加两个相同的主键的列,就是主键值一样Duplicate entry '31' for key 'PRIMARY'中间数字31就是你主键冲突,添加相同的主键了,就是值重复...原创 2019-10-21 16:24:05 · 450 阅读 · 0 评论