Spring Boot
文章平均质量分 79
mah666
天行健,君子以自强不息!
展开
-
docker容器中搭建Redis哨兵集群以及RedisTemplate的哨兵模式
docker容器中搭建Redis哨兵集群下载Redis镜像docker pull redis创建Redis集群(一主两从)创建主节点容器(redis-master)[root@192 ~]# docker run -d -v --name redis-master \ > -p 16379:16379 -p 6379:6379 > -v /home/docker/redis/node-1/data:/data \ > -v /home/docker/redis/node原创 2021-11-14 14:24:44 · 1761 阅读 · 0 评论 -
Spring boot中使用WebService和对象XML之间的转换
Spring boot中使用WebService依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web-services</artifactId> </dependency> <dependency>原创 2020-08-10 17:35:10 · 2061 阅读 · 2 评论 -
实体转XML时使用泛型报“nor any of its super class is known to this context.”
Spring Boot中实体转成XMl时使用泛型报nor any of its super class is known to this context.报错信息:avax.xml.bind.MarshalException - with linked exception:[com.sun.istack.SAXException2: class com.landicorp.entity.patrent.search.PatrentInData nor any of its super class原创 2020-08-10 17:16:04 · 1224 阅读 · 0 评论 -
使用xStream报类转换失败
https://blog.csdn.net/vison155142/article/details/102959365转载 2020-08-08 12:23:55 · 757 阅读 · 0 评论