SpringMvc
橘足轻重
头发多多的coder,沉迷于技术,有轻微代码洁癖,希望我的文章能帮到你,非盈利博客,客官不如点个赞再走
展开
-
IDEA的好用小工具Test RESTful web Service
Test RESTful web Service一、2021版IDEA界面二、2019版(我安了个插件叫Old REST Client来还原这个样子)代码demo示例好处:-可以减少postman的使用~-脚本文件可以保留,方便自己也方便同事这里是需要先运行你的代码才能调用接口噢先来看下流程叭一、2021版IDEA界面我的是2021版的IDEA哦,我用了中文翻译,影响不大上面这个操作2019版也一样操作噢运行后结果:二、2019版(我安了个插件叫Old REST Client来还原原创 2021-11-18 15:52:55 · 9249 阅读 · 0 评论 -
解析错误:$%7BpageContext.request.contextPath%7D
解析错误:$%7BpageContext.request.contextPath%7D直接修改web.xml文件直接修改web.xml文件复制下面代码替换<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:原创 2021-04-30 13:58:27 · 1061 阅读 · 5 评论 -
使用@Configuration的java类提供配置信息的配置 web.xml配置
使用@Configuration的java类提供配置信息的配置 web.xml配置具体配置具体配置//详细请看注解pom.xml <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>5.3.6</v原创 2021-04-19 22:08:18 · 392 阅读 · 0 评论 -
【Spring报错】expected at least 1 bean which qualifies as autowire candidate for this dependency
一、Could not autowire. No beans of...二、expected at least 1 bean which qualifies as autowire candidate for this dependency原创 2020-12-10 16:32:21 · 799 阅读 · 0 评论