随笔分类 -  Spring-boot

上一页 1 2 3 4 5 6 7 下一页
Spring Cloud Eureka配置文件详解 (还没细看)
摘要:转自:https://www.cnblogs.com/zouhong/p/12497751.html Spring Cloud Eureka配置文件详解 (还没细看) 本篇内容用来说明Eureka 常用配置的含义。 以下配置都是以 eureka.server 开头: 参数描述备注 eureka.se 阅读全文
posted @ 2020-09-16 12:34 Sharpest
SpringBoot的配置详解application
摘要:转自:https://www.processon.com/view/51cc19b70cf262810ab6c729 SpringBoot的配置文件application有两种文件格式,两种配置的内容是一致的,只是格式不一致。 1.application.properties 2.applicati 阅读全文
posted @ 2020-08-06 15:19 Sharpest
spring-boot + mybatis +pagehelper 使用分页
摘要:转自:https://segmentfault.com/a/1190000015668715?utm_medium=referral&utm_source=tuicool 最近自己搭建一个spring-boot 的项目听说最近很是流行,之前在一件公司用的觉得挺不错.所以自己配置一下学习学习.结果做到 阅读全文
posted @ 2019-02-19 17:03 Sharpest
Spring-boot+Mybatis+Maven+MySql搭建实例
摘要:转自:https://www.jianshu.com/p/95fb7be049ae 最近读了spring-boot开发手册,spring-boot相比于spring-mvc封装了很多常用的依赖,并且内置了tomcat容器,启动生成的jar包即可启动项目,也是目前流行的微服务常用框架。本文主要用到了s 阅读全文
posted @ 2019-02-18 00:55 Sharpest
奇技淫巧:在spring官网上下载历史版本的spring插件,springsource-tool-suite
摘要:转自:https://blog.csdn.net/PacosonSWJTU/article/details/80959689 目前spring官网(http://spring.io/tools/sts/all)上可下载的spring插件只有:springsource-tool-suite-3.8.4 阅读全文
posted @ 2019-02-17 23:48 Sharpest
springsource-tool-suite插件各个历史版本
摘要:转自:https://blog.csdn.net/zhen_6137/article/details/79384798 目前spring官网(http://spring.io/tools/sts/all)上可下载的spring插件只有:springsource-tool-suite-3.8.4(st 阅读全文
posted @ 2019-02-17 23:42 Sharpest
sts安装出现could not find jar:file解决办法
摘要:转自:https://blog.csdn.net/weixin_43702329/article/details/84823912 标题sts插件下载好但是安装出错 我的eclipse是4.5.2,在官方网站https://spring.io/tools3/sts/legacy下载,压缩包的名字为: 阅读全文
posted @ 2019-02-17 23:35 Sharpest
Eclipse在线安装STS插件
摘要:转自:https://blog.csdn.net/weixin_41987553/article/details/81091280 spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人 阅读全文
posted @ 2019-02-17 22:13 Sharpest
Eclipse 中yml自动提示功能相关设置
摘要:转自:https://blog.csdn.net/lililuni/article/details/82849376 阅读全文
posted @ 2019-02-17 22:04 Sharpest
Eclipse安装STS(Spring Tool Suite (STS) for Eclipse)插件
摘要:转自:https://blog.csdn.net/zhen_6137/article/details/79383941 阅读全文
posted @ 2019-02-17 22:03 Sharpest
通过Ajax和SpringBoot交互的示例
摘要:转自:https://blog.csdn.net/oppo5630/article/details/52093898/ 阅读全文
posted @ 2018-05-14 09:54 Sharpest
用Thymeleaf在前台下拉列表取值
摘要:转自:https://blog.csdn.net/u013600907/article/details/76165748 阅读全文
posted @ 2018-04-18 16:23 Sharpest
Spring Boot 特性 —— SpringApplication
摘要:转自:https://blog.csdn.net/cqdz_dj/article/details/52910317 转自:https://blog.csdn.net/cqdz_dj/article/details/52910317 转自:https://blog.csdn.net/cqdz_dj/a 阅读全文
posted @ 2018-04-03 10:09 Sharpest
springboot的登录拦截机制
摘要:转自:https://blog.csdn.net/qq_26555463/article/details/78296103 如果是一个后台的管理项目的,有些东西是不能直接就可以访问的,必须要登录才可以进去,所以就需要进行登录拦截,只有登录过的用户才可以正常访问. 登录拦截是不会拦截jsp页面的方法, 阅读全文
posted @ 2018-03-29 16:34 Sharpest
Spring验证的错误返回------BindingResult
摘要:Spring验证的错误返回 BindingResult 参考资料:http://www.mkyong.com/spring-mvc/spring-mvc-form-errors-tag-example/ <%Enumeration<String> enums=request.getAttribute 阅读全文
posted @ 2018-03-29 13:38 Sharpest
java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'user'
摘要:转自: https://blog.csdn.net/Winter_chen001/article/details/77332944 阅读全文
posted @ 2018-03-28 18:01 Sharpest
Spring进行表单验证
摘要:转自:https://www.tianmaying.com/tutorial/spring-form-validation 开发环境 IDE+Java环境(JDK 1.7或以上版本) Maven 3.0+(Eclipse和Idea IntelliJ内置,如果使用IDE并且不使用命令行工具可以不安装) 阅读全文
posted @ 2018-03-28 17:59 Sharpest
当使用Spring MVC @Valid对输入框进行验证的时候,可能会遇到以下的异常:Neither BindingResult nor plain target object for bean name ‘mybean’ available as request attribute
摘要:转自:https://www.cnblogs.com/wenhulu/p/5555457.html 当使用Spring MVC @Valid对输入框进行验证的时候,可能会遇到以下的异常: 先看下controller: 上面代码对user的输入进行验证,报以上错误,为了解决这个问题,我们需要在@Val 阅读全文
posted @ 2018-03-28 17:57 Sharpest
SpringBoot之表单验证@Valid
摘要:转自:https://www.cnblogs.com/chenlove/p/8708627.html SpringBoot提供了强大的表单验证功能实现,给我们省去了写验证的麻烦; 这里我们给下实例,提交一个有姓名和年龄的表单添加功能, 要求姓名不能为空,年龄必须是不小于18 ; 我们先新建一个Stu 阅读全文
posted @ 2018-03-27 19:22 Sharpest
在Spring Boot中使用Spring-data-jpa实现分页查询
摘要:转自:https://www.cnblogs.com/sandea/p/8275890.html 在我们平时的工作中,查询列表在我们的系统中基本随处可见,那么我们如何使用jpa进行多条件查询以及查询列表分页呢?下面我将介绍两种多条件查询方式。 1、引入起步依赖 2、对thymeleaf和jpa进行配 阅读全文
posted @ 2018-03-27 15:37 Sharpest

上一页 1 2 3 4 5 6 7 下一页