共 259 篇文章 |
|
import org.springframework.security.config.annotation.web.builders.import org.springframework.security.config.annotation.web.configuration.import org.springframework.security.web.authentication.#开启安全认证 用户名和密码spring.security.user.name=fhadminspring.security.user.password=rootspring.security.basic.enabled=tr... 阅468 转0 评0 公众公开 22-06-10 10:30 |
spring boot html+vue.js 形式前后分离代码示例。" id="cts"><div class="checkbox d-inline"> <input type="checkbox" name="fhcheckbox" id="zcheckbox"> <label style="max-height: 12px; 阅10 转0 评0 公众公开 22-06-08 13:37 |
WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:124) at org.springframework.boot.web.embedded.tomcat.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) a... 阅3 转0 评0 公众公开 22-06-07 14:11 |
阅397 转2 评0 公众公开 22-05-30 15:32 |
/** * @from fhadmin.cn * @version 1.0 * @since 2022/5/5 7:59 */@Configurationpublic class CorsConfig { @Bean public CorsFilter corsFilter() { CorsConfiguration corsConfiguration = new CorsConfiguration(); 阅78 转0 评0 公众公开 22-05-27 13:23 |
#数据源1datasource.no1.driver-class-name: dm.jdbc.driver.DmDriverdatasource.no1.url=jdbc:dm://192.168.0.11:5238/SYSDBA?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8datasource.no1.username=SYSDBAdatasource.no1.password=root123456789.import org.springframework.beans.factory.annotati... 阅546 转1 评0 公众公开 22-05-26 10:53 |
// fhadmin.cn@Datapublic class LoginProperties { private LoginCode loginCode; 阅87 转0 评0 公众公开 22-05-24 10:40 |
import org.springframework.boot.actuate.autoconfigure.endpoint.web.import org.springframework.boot.actuate.autoconfigure.web.server.import org.springframework.boot.actuate.endpoint.import org.springframework.boot.actuate.endpoint.web.import org.springframework.boot.actuate.endpoint.web.annotation.import org.springfram... 阅138 转2 评0 公众公开 22-05-23 01:00 |
Spring Boot 2.6.8.新增了一个自动配置注解 @AutoConfiguration,用来代替之前的 @Configuration,用于标识新自动配置注册文件中的顶级自动配置类,由 @AutoConfiguration 注解嵌套、导入进来的其他配置类可以继续使用 @Configuration 注解。Spring for GraphQL(1.0) 如今正式发布了,Spring Boot 2.7.0 也集成了对 GraphQL 的自动配置、指标... 阅1230 转1 评0 公众公开 22-05-20 12:27 |