摘要:
@XmlRootelement 指定根目录。 //标注在实体类上 @XmlRootElement(name = "xmlEntity") public class XmlEntity{ ………… } @XmlType 将类或枚举类型映射到 XML 模式类型,配合如下属性使用: name 属性在你不想 阅读全文
摘要:
首先推荐webservice文章不错的博主:https://www.iteye.com/blog/yufenfei-1685249 这位博主主要讲了WebService的CXF的jar包运用,很实用 @WebService 1、serviceName: 对外发布的服务名,指定 Web Service 阅读全文
摘要:
Feign默认的使用jackson解析,所以时间传值时会报错,时间格式错误 解决办法: 修改feign解析方式为fastjson方式: @Configuration public class CxfConfig{ @Bean public Encoder feignEncoder(){ return 阅读全文
摘要:
报错信息: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.Web 阅读全文
摘要:
报错信息如下: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton be 阅读全文