
开发框架(Spring,struts
文章平均质量分 79
秤秤biubiu
me,you---喵
展开
-
BEA-3XXXXX错误代码
传输运行时错误(BEA-380000 至 BEA-38099)BEA-380000常规传输错误XML 详细信息: 收到一个错误响应(出现在发布操作中时)消息流运行时错误代码 (382000...382499)BEA-382000常规运行时错误BEA-382030绑定层的常规解析失败(例如,发送至 XML 服务的消息不是 XML)BEA-382031不符合 WS-I 标准BEA-382032消息必须是 soap:EnvelopeXML 详细信息: 收到一个非 SOAP 或无转载 2021-04-07 15:46:16 · 2545 阅读 · 0 评论 -
cxf调用报错Could not find conduit initiator for address:
依赖<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>3.2.2</version></dependency>测试代码@Test public void test1() { ...转载 2020-10-17 20:41:35 · 3277 阅读 · 3 评论 -
Postman报错Unsupported Media Type
报错信息如下:{"timestamp": "2018-12-06T01:37:11.184+0000","status": 415,"error": "Unsupported Media Type","message": "Content type 'text/plain;charset=UTF-8' not supported","path": "/testgu/ycyzha...转载 2019-10-22 16:14:00 · 96838 阅读 · 1 评论 -
JPA自定义原生SQL语句的查询结果如何转化为对象,三种方法
https://blog.youkuaiyun.com/sinat_34820292/article/details/90380251原创 2019-10-16 15:29:55 · 4549 阅读 · 0 评论 -
Tomcat 启动:StandardServer.await:create[localhost 8005]:java.net.BindException
今天在linux虚拟机上装了tomcat,但是一直启动不了,查看日志,主要报错如下: 严重: StandardServer.await: create[localhost:8005]: java.net.BindException: 无法指定被请求的地址 at java.net.PlainSocketImpl.socketBind(Native Method)...原创 2019-09-11 19:31:06 · 1531 阅读 · 0 评论 -
java.lang.IllegalArgumentException at java.sql.Date.getHours
错误描述:在springboot中,使用进行net.sf.json.JSONObject.fromObject(javaObject)进行json序列化时,得到错误Caused by:java.lang.IllegalArgumentException at java.sql.Date.getHours(Date.java:187)。最终解决方案:自定义转换器,并注入至转换方法。我们解决...转载 2019-09-12 15:40:21 · 868 阅读 · 0 评论 -
Springboot之返回json数据格式的两种方式-yellowcong
SpringBoot返回字符串的方式也是有两种,一种是通过@ResponseBody 和@RequestMapping(value = "/request/data", method = RequestMethod.POST, produces = "application/json;charset=UTF-8") 中的produces = "application/json;charse...转载 2019-09-12 15:49:09 · 17821 阅读 · 0 评论 -
net.sf.json.JSONObject maven依赖
最后一行需要保留,有两个jdk版本的实现:json-lib-2.1-jdk13.jar和json-lib-2.1-jdk15.jar <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</art...转载 2019-09-12 15:50:49 · 5759 阅读 · 0 评论 -
异常:Repeated column in mapping for entity/should be mapped with insert="false" update="false"
最近用JPA遇到这样一个问题:Repeated column in mapping for entity: com.ketayao.security.entity.main.User column: org_id (should be mapped with insert="false" update="false")这个错误是由实体类引起的,我一开始是这样写的:@Columnpriva...转载 2019-09-25 10:09:23 · 520 阅读 · 0 评论