![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
小猪不会撸代码
一直在路上
展开
-
Springboot Http请求header超过配置限制
SpringbootHttp请求报错报错描述:HTTP method names must be tokens解决方式:修改yml配置文件中的server.maxHttpHeaderSize参数 ,根据自己的实际业务请求增加header参数的大小。如果是部署在独立的tomcat里面,需要修改conf文件夹下的server.xml文件配置中的maxHttpHeaderSize...原创 2021-04-15 16:48:17 · 1151 阅读 · 0 评论 -
SpringBoot注解学习说明
springboot注解一、注解(annotations)列表@SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让spring Boot扫描到Configuration类并把它加入到程序上下文。@Configuration 等同于spring的X...转载 2019-01-16 17:33:22 · 137 阅读 · 0 评论 -
cxf请求报错
错误:org.apache.cxf.interceptor.Fault: Index: 1, Size: 1 Client client = dcf.createClient("http://127.0.0.1:9092/ws/user?wsdl"); try { client.invoke("wsSettlementUpload","1...原创 2019-05-24 17:27:25 · 1033 阅读 · 0 评论 -
java工具类@Autowired注入失败
失败原因使用了@PostConstruct 注解 同时java类当中存在构造函数@PostConstruct public void init() { autoSSPD = this; } public AutoSSPD(String[] ids,String tex){ this.ids = ids; this.te...原创 2019-06-11 11:28:05 · 4476 阅读 · 0 评论