Springboot
Dimension_
这个作者很懒,什么都没留下…
展开
-
解决xx is not an annotation type
初学Springboot和Java,写Spring的controller的时候遇到了controller is not an annotation type的问题,解决。原因是注解不能与类名同名,所以改个名字就ok了原创 2019-07-11 16:42:52 · 3810 阅读 · 3 评论 -
MAC 搭建Springboot配置
项目学习需要用到Springboot,看了一下午书,作为小白才从最基础的概念了解起。常见协议大概看了一些。DNS,域名解析服务器TCP/IP:传输层、网络互联层协议,socket是协议的具体实现。HTTP:应用层协议装了一堆之后发现还得要装tomcattomcat(公猫?服务器,配置),一个servlet(服务端程序)容器,servlet是一种标准(比协议的强制性稍大一些?)https...原创 2019-07-06 20:14:11 · 1377 阅读 · 0 评论 -
Spring Boot修改访问端口号
修改端口号,在application.properties中写server.port=xxxx(想修改的端口号)即可修改端口号,重新启动一次就生效。或新建一个application.yml在yml文件中写server:port: xxxx注意yml文件中必须:后面有一个空格才可以...原创 2019-07-11 17:46:17 · 455 阅读 · 0 评论