我在试着upgrade JHipster to use Spring Boot 2.4。我正在测试的应用程序有一个Spring Security配置,可以启用OAuth登录并使用Spring Security设置资源服务器: .and()
.oauth2Login()
.and()
.oauth2ResourceServer()
.jwt()
.jwtAuthenticationConverter(authenticationConverter())
它看起来很像spring启动,gradle插件没有像应用插件那样打包src/dist的内容。如何将src/dist的内容添加到我的spring引导发行版zip和tar中?
plugins {
id 'java'
id 'application'
id 'org.springframework.boot' version '2.0.2.RELEASE'
id "io.spring.dependency-management" version "1.0.5.RELEASE"
每当我运行这个应用程序时,我都会使用Spring 2.6和3.1.4,我得到了以下信息:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot [2.6.0] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
- Change Spring Boot version to one of th
Spring Boot文件上传应用程序部署在外部tomcat上。并在application.properties中设置以下属性,即使它使用tomcat tomcat-home/temp/spring-multipart目录上传也是如此
spring.servlet.multipart.location=C:\\temp
上面的属性不是针对外部tomcat的吗?如果这不是解决方案,如何创建一个临时文件夹并定期清理它。
当上传文件时,它总是使用tomcat-home/temp/spring-multipart目录,并且临时文件不会被删除。
Spring Boot: 2.4
我试图在spring版本2.6.6 (来自发布培训)中使用Spring云任务核心版本2.4.1。这向我显示了以下错误:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot [2.6.6] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
- Change Spring Boot versi