![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 54
weixin_34128593
这个作者很懒,什么都没留下…
展开
-
linux安装tomcat
linux安装tomcat 查看tomcat的状态 systemctl status tomcat 启动tomcat systemctl start tomcat 查看安装的tomcat的位置 yum search tomcat 或 rpm -qal|grep tomcat 这里修改tomcat的访问端口 尝试解决打不开8080的问题 4.1 下载依赖包yum install tomcat-webapps tomcat-admin-webapps 4.2 同时还要关闭防火墙 systemctl sto原创 2021-05-06 18:21:27 · 58 阅读 · 0 评论 -
VUE的跨域访问问题
Vue axios跨域问题 什么是跨域: 跨域请求存在的原因:由于浏览器的同源策略,即属于不同域的页面之间不能相互访问各自的页面内容。 需要在前后端都修改:步骤如下 在springboot后端: config文件夹下(没有的新建就好) 添加class文件CORSConfig.java 内容如下 import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.a原创 2021-04-29 17:20:33 · 103 阅读 · 0 评论