SpringBoot项目修改访问端口和访问路径

建立SpringBoot项目,启动后,默认的访问路径即主机IP+默认端口号8080:http://localhost:8080/web 此时,咱们就能够访问Controller层的接口了,如:http://localhost:8080/hellospring package com.springboot.test; import org.springframework.web.bind.anno
相关文章
相关标签/搜索