![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Springboot
文章平均质量分 67
DragonJunjun
这个作者很懒,什么都没留下…
展开
-
在windows平台上,使用idea配置maven项目,发布到远程仓库nexus
1,下载nexus,https://pan.baidu.com/s/1oTIsBBIu30GC4Tg5KLUwlg2,解压到没有空白符号和中文字符的路径中。3,使用管理员权限运行cmd,打开你解压出来的文件,并找到nexus-2.12.0-01-bundle\nexus-2.12.0-01\bin 这个目录。4,使用cmd,打开上面的bin文件夹,运行 ./nexus.bat ins...原创 2019-11-08 17:15:12 · 597 阅读 · 0 评论 -
SpringBoot集成mybatis,使用内置Database工具生成实例对象,并使用@Insert、@Delete、@Update、@Select语句执行sql
1,新建项目2,选择Spring Initializr3,默认配置4,默认配置一路点击到最后完成。5,找到pom.xml增加相关依赖,注意看屏幕右下角,点击自动导入<dependency> <groupId>org.springframework.boot</groupId> <artifactId>...原创 2019-10-26 13:16:06 · 875 阅读 · 0 评论 -
jQuery请求Springboot接口时,可能遇到的多种接口类型
1,GetMapping@GetMapping("update/{userName}/{userAge}")int updateUser(@PathVariable("userName") String userName, @PathVariable("userAge") int userAge) { return userMapper.updateUser(userName, u...原创 2019-10-26 13:46:24 · 736 阅读 · 0 评论 -
SpringBoot集成MyBatis和mybatis-generator
1,新建项目2,选择Spring Initializr3,默认配置4,默认配置一路点击到最后完成。5,图中位置写上@RestController6,光标移到上图红色位置,并按住alt键,再点击回车,弹出下图的提示框,并鼠标点击箭头处。导入依赖7,写入下图代码8,启动项目。并在浏览器输入http://localhost:8080/Person/getNam...原创 2019-10-17 23:07:25 · 380 阅读 · 0 评论