11 2021 档案
摘要:出现这个异常说明了跳转页面的url无对应的值. 原因1: Application启动类的位置不对.要将Application类放在最外侧,即包含所有子包 原因:spring-boot会自动加载启动类所在包下及其子包下的所有组件. 原因2: 在springboot的配置文件:application.y
阅读全文
摘要:在pom.xml文件添加 spring-boot-starter-web依赖 <!-- SpringBoot Web容器 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-star
阅读全文
摘要:SetEnv force-proxy-request-1.0.1 SetEnv proxy-nokeepalive 1 有区分大小写,避免拒绝访问 <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "
阅读全文