Skip to content

用springboot + springmvc + mybatis + (maven/gradle)搭建成框架,基于Jersey, Swagger,SwaggerUi的restful API

License

Notifications You must be signed in to change notification settings

LightSwordSpringBoot/springboot-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

用java 语言 + springboot + springmvc + mybatis + (maven/gradle) 搭成的框架

1.用maven启动命令是 mvn spring-boot:run

2.用gradle启动的命令是 gradle bootRun

添加restful风格API

文档地址:http://localhost:8081/apidocs/index.html

启动之后输入localhost:8081 返回home 就成功了

注意如出现以下错误:

org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

请修改src/main/resources/application.yml中的

rabbitmq:
  username: 自己队列的用户名
  password: 自己队列的密码

About

用springboot + springmvc + mybatis + (maven/gradle)搭建成框架,基于Jersey, Swagger,SwaggerUi的restful API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.0%
  • Other 1.0%