自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 Springboot 3.2.0 idea内启动后“Process finished with exit code 0“

因为缺少 spring-boot-starter-web依赖。

2023-11-26 11:03:34 177

原创 spring cloud Feign 本地联调遇到的404问题

这周跟同事本地联调新接口,项目使用的技术是spring cloud ,eureka,feign。请求新接口时,偶尔会报404的问题。后来才想明白,由于开发的新接口,本地联调阶段,代码还没有推送到测试分支,测试环境没有这个接口的代码,并且没有开发环境的配置中心,所以默认拉取的是测试环境的配置中心的配置,因此请求新接口时偶尔会路由到测试环境,就会报404的问题。解决方案:在服务消费端的FeignClient注解上,加上url = "127.0.0.1:21102"配置,强制路由到url属性上指定的IP、端口

2021-01-14 17:51:39 1048

转载 基于CXF Java 搭建Web Service (Restful Web Service与基于SOAP的Web Service混合方案)

基于CXF Java 搭建Web Service (Restful Web Service与基于SOAP的Web Service混合方案)快十年没玩SSH这类东西了,由于上个产品用Restful Service 作为应用服务接口,所以顺手整理一下。考虑到当年我刚入门时经历的一些痛苦,所以这里我会讲得详细些,共享之。一,选择一个合适的,Web开发环境:   我选择的是Eclipse

2016-07-29 19:52:23 212

转载 使用 CXF 开发 SOAP 服务

转自其它网页,用来记下学习。今天我们将视角集中在 REST 上,它是继 SOAP 以后,另一种广泛使用的 Web 服务。与 SOAP 不同,REST 并没有 WSDL 的概念,也没有叫做“信封”的东西,因为 REST 主张用一种简单粗暴的方式来表达数据,传递的数据格式可以是 JSON 格式,也可以是 XML 格式,这完全由您来决定。REST 全称是 Representational

2016-07-29 19:32:51 797

IDEA 阿里巴巴最新代码规约插件

IDEA 阿里巴巴最新代码规约插件 ,欢迎下载使用。规范自己的代码利器。

2018-08-10

精通Spring MVC

This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse o f illustrations, recitation, broadcasti ng, reproduction on microf ilms or i n any other physical way , and transmission or i nformation storage and retrieval, electronic adaptation, computer sof tware, or by simi lar or d issimilar methodology now known or hereaf ter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher's location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law.

2015-06-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除