腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
无法在Heroku上部署Grails 3应用程序
、
、
、
、
6 more10:14:33 PM web.1 Exited with exit code 1 compile "org.springframework.
boot
:
spring
-
boot
-autoconfigure" compile"org.sp
浏览 0
提问于2017-04-10
得票数 1
3
回答
在heroku上部署
spring
boot
应用程序时出现问题
、
、
、
、
我有一个
Spring
启动应用程序,有一个数据库。为了进行测试,我
使用
了H2数据库,一切工作正常。现在,我正尝试在Heroku上部署我
的
应用程序。在我
的
活动提要中,我得到了构建成功且应用程序已部署
的
消息。当我转到URL时,我得到一个应用程序错误。 我猜我与
postgresql
数据库
的
连接有问题。在
Spring
中,我
使用
JPARepository。这是我
的
application.properties文件,来自我
的
浏览 3
提问于2019-03-13
得票数 0
1
回答
使用
Tomcat
gradle插件部署
Spring
应用程序
、
、
、
、
我正在尝试
使用
bmuschko
tomcat
插件()在
tomcat
上部署一个
spring
应用程序。 compile("org.
postgresql<
浏览 2
提问于2017-07-25
得票数 1
回答已采纳
2
回答
,Hikari数据源在从JUnit上
的
yaml文件中提取属性时失败
、
、
、
、
@Configuration@ConfigurationProperties(prefix = "
spring
.datasourcePageRequest(0, 10));}Application.yml datasource: driverClassName: org.
postgre
浏览 4
提问于2016-06-19
得票数 0
1
回答
将
spring
配置
服务器中定义
的
不同DB
配置
文件
的
应用程序启动到客户端
spring
启动项目时出错
、
、
、
我正在努力为两个不同
的
地区开发一个微型服务和部署。两个不同
的
区域
使用
两个不同
的
数据库。为此,我创建了一个
spring
云
配置
服务器,并为两个不同
的
配置
文件定义了数据库属性,属性文件包含:8888 还有我
的<
浏览 0
提问于2018-03-21
得票数 0
回答已采纳
2
回答
如何在
spring
应用程序中
配置
jetty最大标头大小
、
、
、
我有一个
使用
jetty服务器
的
spring
应用程序。为了发送大尺寸
的
报头,我需要更改报头
的
最大大小。我将jetty添加到依赖项中,如下所示: <groupId>org.springframework.
boot
</groupId><artifactId>
spring
-
boot
-starter-jetty</artifactI
浏览 3
提问于2015-03-08
得票数 0
2
回答
未在
Tomcat
openshift中启动
的
Spring
引导应用程序
、
、
、
我正在尝试在Openshift实例
的
Tomcat
8映像中部署一个
Spring
应用程序,但几秒钟后我会看到以下错误: at org.springframework.
boot
.autoconfigure.web.Se
浏览 0
提问于2016-08-26
得票数 3
回答已采纳
1
回答
application.properties与class @Component java
spring
boot
中设置
的
差异
、
jdbc.postgres.driver=org.
postgresql
.Driver }在<em
浏览 3
提问于2020-09-27
得票数 0
2
回答
在
spring
boot
版本2.0.0.M1中找不到EmbeddedServletContainerFactory TomcatEmbeddedServletContainerFactory
、
、
我有
spring
boot
版本'2.0.0.M1‘。我在我
的
应用程序上
配置
了https,一切正常。但现在我尝试将应用程序从http重定向到https。I用户标准
配置
类import org.apache.catalina.connector.Connector; import org.apache.
tomcat
.util.descriptor.web.SecurityCollection和TomcatEmb
浏览 1
提问于2017-11-29
得票数 5
1
回答
Spring
Boot
自定义SSL密钥存储加载逻辑
、
、
、
我
使用
的
是
Spring
boot
2.x,我需要在它上面
配置
SSL。keystore/mycertificate.p12security.require-ssl=true 但我需要这个额外
的
行为:不是从特定路径(server.ssl.key-store)加载证书,而是需要一个自定义加载逻辑:我需要
使用
例如AWS Secrets服务或类似服务来实现这种自定义方式。那么,这是可能<e
浏览 2
提问于2021-10-03
得票数 0
2
回答
如何
使用
Bean连接
Spring
2中
的
PostgreSQL
、
、
我想
使用
bean (@Bean)和
Spring
数据连接到
PostgreSQL
。在这个bean中,我想在application.properties文件中
使用
我自己
的
客户属性,如下所示my.db.password=root我不能
使用
默认属性(
spring
.datasource.url、<
浏览 0
提问于2018-05-17
得票数 0
回答已采纳
1
回答
Spring
引导JNDI不工作,
tomcat
没有启动
、
、
、
我正在编写
spring
引导应用程序,我试图
使用
JNDI连接数据源,但是它不能工作,如果有人知道原因,请帮助我下面的错误:org.springframework.beans.factory.BeanCreationException> <artifactId>
spring
-
boot
-starte
浏览 17
提问于2022-06-23
得票数 2
1
回答
使用
Postgresql
的
Spring
Boot
的
Tomcat
配置
、
、
、
、
我已经有了可以工作
的
Spring
Boot
应用程序: (开发分支),它连接到本地Postgres实例并可以执行get操作。$DataSourceBeanCreationException: Failed to determine a suitable driver class 我不确定是
Spring
Boot
还是
Tomcat
的
问题,我尝试为
Tomcat
安装postgres驱动程序,并在$CATALINA_HOME/conf/Cata
浏览 19
提问于2018-12-18
得票数 0
回答已采纳
3
回答
使用
Tomcat
的
Spring
boot
部署
、
、
、
、
在编码时,我
使用
Intellij
Spring
Boot
runner运行/调试项目,它很容易
配置
。下面是
Spring
Boot
runner
的
输出: 2020-02-19 11:50:18.373 DEBUG 1192 --- [ restartedMain] com.myapp.Application我已经在我
的
pom中提供了
spring
-
boot
-starter-
tomcat
,下面
浏览 236
提问于2020-02-19
得票数 0
回答已采纳
5
回答
如何在代码中避免硬编码
的
数据库凭据
、
我一直在寻找一种方法来避免将我
的
数据库凭证硬编码到我
的
代码库中(主要是用Java编写
的
),但我没有找到很多解决方案。我读过
的
帖子,他们说单向散列可能是答案。有没有其他方法可以安全地连接到数据库,而不会遇到有人反编译代码
的
风险? 只是为了澄清,我不是在寻找代码,而是在正确
的
方向上推动。
浏览 3
提问于2019-02-13
得票数 1
3
回答
如何在
tomcat
8下运行
Spring
RESTful项目?
、
、
、
、
我将遵循下一个教程:另外,我想知道它是否合理。我们是否需要
tomcat
来运行
spring
RESTful项目(也许
使用
"gradle run“命令运行更好)?} classpath("org.springf
浏览 6
提问于2016-09-03
得票数 1
回答已采纳
1
回答
Spring
boot
连接池了解
、
、
、
、
在
Spring
boot
application.properties文件中,我们有以下选项:server.
tomcat
.max-connections= 100
spring
.datasource.
tomcat
.max-idle = 30publicpublic U
浏览 6
提问于2017-10-16
得票数 4
回答已采纳
1
回答
spring
boot
bootBuildImage在
tomcat
镜像上应用war
使用
spring
boot
和task bootBuildImage(gradle),是否可以基于
tomcat
镜像构建镜像,并将war文件复制到相关
的
webapp目录中,而不是运行应用程序fatjar?我知道
使用
jib可以做到这一点。 谢谢
浏览 29
提问于2020-12-13
得票数 0
3
回答
基于活动
的
spring
配置
文件提供maven依赖项
、
、
、
、
因此,我正在构建一个
spring
boot
web应用程序,将其打包为war,并部署到
tomcat
应用程序服务器。我在
tomcat
的
pom.xml中有以下依赖项: <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-
tomcat
<&
浏览 2
提问于2017-02-17
得票数 12
4
回答
部署
spring
引导应用程序是否需要web.xml?
、
、
、
我试图将一个
spring
引导应用程序打包为war。根据,我修改了我
的
应用程序类:@EntityScan({"org.mdacc.rists.cghub.model"}) <dependency> <artifactId>
spring
-
浏览 6
提问于2016-03-30
得票数 17
回答已采纳
点击加载更多
相关
资讯
Spring Boot中配置Tomcat连接池
Spring Boot学习笔记系列之Spring Boot配置特殊格式的属性值
Tomcat的配置和使用
|Spring Boot 使用@Value 读取配置还能这样用
使用Gradle构建基于Kotlin的Spring Boot项目
热门
标签
更多标签
云服务器
ICP备案
云直播
腾讯会议
实时音视频
活动推荐
运营活动
广告
关闭
领券