腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
在嵌入式
Tomcat
中
使用
Spring
Boot
Weblfux
、
我正在尝试在一个新的
Spring
Boot
应用程序
中
使用
WebFlux反应类型。我在上
使用
了初始化器,并选择了2.0.0-SNAPSHOT版本。我添加了web反应依赖,我所做的一切都运行得很好。我遇到的问题是,当我试图将我的POC改进为更类似于我们在生产中拥有的服务
时
,许多事情似乎都不起作用。不过,我还记得webflux还被称为web-reactive,你可以在undertow/jetty/netty/
tomcat
/etc上运
浏览 16
提问于2017-04-18
得票数 7
回答已采纳
3
回答
使用
Spring
Boot
和嵌入式
Tomcat
启用会话保持
、
、
、
、
我正在
使用
Spring
Boot
和
Spring
Security开发一个
应用程序
,方法是在Eclipse中
启动
带有嵌入式
Tomcat
的application类。每次我重新
启动
服务器
时
,我的会话都会消失,我必须重新登录,这变得非常恼人。 我在Gradle上运行
Spr
浏览 0
提问于2015-02-12
得票数 13
回答已采纳
2
回答
为什么我的
Spring
应用程序
一运行就会关闭?
我
使用
Spring
来设置
Spring
应用程序
。我一运行
应用程序
就会立即退出,不会出现任何错误。我试着改变春季
启动
父版本,但这似乎仍然不起作用。我试着重建这个项目,但效果不太好。你能告诉我我在这里做错了什么吗?它甚至不返回任何错误。它只是不运行在服务器上。 <?</groupId> <artifactId>
spring
-
boot
-starter-
to
浏览 4
提问于2021-02-22
得票数 2
回答已采纳
3
回答
从命令行执行java
spring
项目
、
、
、
、
我有一个Java
Spring
项目,
使用
tomcat
,我想知道如何
使用
命令行运行它,今天我只知道
使用
eclipse,我想运行一些类似于Rails的东西我该怎么做呢?
浏览 2
提问于2017-10-13
得票数 1
1
回答
无法在jetty中
启动
spring
-
boot
,默认设置为
tomcat
、
、
、
即使
使用
以下配置,也无法在jetty中
启动
spring
-
boot
,配置不正确 implementation ('org.springframework.
boot
:
spring
-
boot
-starter-web') { exclude group: 'org.springframework.
boot
', module: '
spring
-
boot
-starter-
浏览 35
提问于2021-03-23
得票数 1
回答已采纳
1
回答
我需要为
spring
-
boot
项目单独安装
Tomcat
吗?
、
、
<groupId>org.springframework.
boot
</groupId>过了一段
浏览 0
提问于2018-09-18
得票数 3
1
回答
我是否应该在我的自定义弹簧引导
启动
器中包括依赖弹簧引导
启动
程序?
、
如果创建自定义的
spring
引导
启动
模块,是否需要包含依赖项
spring
-
boot
-starter?在中: 是否有理由不将其添加到依赖项中?
浏览 2
提问于2019-12-01
得票数 0
回答已采纳
2
回答
启动
后会出现一个问题。
、
、
我
启动
了一个简单的
spring
引导
应用程序
,运行后我有
Tomcat
错误。: Unable to start embedded
Tomcat
at org.springframework.
boot
.context.
浏览 2
提问于2016-05-17
得票数 0
3
回答
使用
Tomcat
的
Spring
boot
部署
、
、
、
、
我目前正在部署一个
应用程序
,但由于某些原因,它似乎不能完美地工作。 在编码
时
,我
使用
Intellij
Spring
Boot
runner运行/调试项目,它很容易配置。事实上,即使部署没有返回任何错误,
应用程序
也不会完全
启动
。被正确地
启动
了,但似乎并没有继续它所有的
启动
任务。我已经在我的pom中提供了
spring
-
boot
-starter-
tomcat
,下面是我的Appl
浏览 236
提问于2020-02-19
得票数 0
回答已采纳
2
回答
spring
boot
开发工具
、
、
、
我正在用
spring
boot
编写一个REST API,它在运行时生成一个类、控制器和存储库。一旦代码生成,我就会
使用
dev工具重新编译这个类。但是,一旦我部署到Ubuntu服务器,并且在运行时创建了一个新类,当我尝试访问端点
时
,它会生成一个错误。","error": "Not Found","path
浏览 51
提问于2020-04-05
得票数 0
2
回答
创建类路径资源中定义的名称为“webMvcMetricsFilter”的bean
时
zipkin错误
、
、
它抛出了这个错误 Error Msg:Error starting
Tomcat
context.Error creating bean with name 'webMvcMetricsFilter' defined in class path resource [org/springframework/
boot
creating bean with name 'prometheusMeterRegistry' defined in class path resource [org/spri
浏览 63
提问于2020-02-02
得票数 5
3
回答
在
spring
云
应用程序
中,8080端口定义在哪里?
、
、
、
当您在web浏览器中键入http://localhost:8080
时
,ui
应用程序
中的内容将加载,并且能够与authserver和resource
应用程序
的内容进行交互。Port 9999是为authserver
应用程序
定义的,既在ui
应用程序
的zuul route定义中,也在authserver
应用程序
的application.properties中。类似地,port 9000是为resource
应用程序
定义的,在ui
应用程序
的路
浏览 3
提问于2016-04-12
得票数 1
回答已采纳
2
回答
spring
-
boot
-starter
tomcat
vs
spring
-
boot
-starter web
、
、
我正在尝试学习
Spring
引导,我注意到有两种选择。 有什么不同吗? 谢谢
浏览 6
提问于2015-10-29
得票数 32
回答已采纳
1
回答
使用
Spring
引发Web服务
时
出错
、
、
、
这些天我都在用
Spring
做我的第一步。我
使用
本文构建了一个简单的web服务。这就是我写的代码:import org.springframework.
boot
.autoconfigure.SpringBootApplication错误是: 错误未能在项目演示中执行目标org.springframework.
boot
:
spring
-
b
浏览 1
提问于2017-01-13
得票数 0
回答已采纳
3
回答
如何在
tomcat
8下运行
Spring
RESTful项目?
、
、
、
、
我将遵循下一个教程:另外,我想知道它是否合理。我们是否需要
tomcat
来运行
spring
RESTful项目(也许
使用
"gradle run“命令运行更好)?} classpath("org.springframework.
浏览 6
提问于2016-09-03
得票数 1
回答已采纳
1
回答
在
Spring
(STS)中运行的web
应用程序
是否有可交付的部署(ear/war)?
、
、
、
、
我有一个
使用
Spring
创建的web
应用程序
,我正在
使用
Spring
(STS)来开发它。如果我的理解是正确的,
tomcat
是内置在STS中的,我可以在Application.java的帮助下从STS运行/调试
应用程序
。现在我的疑问是,当我们以'
Spring
‘运行java类来运行
应用程序
时 究竟在哪里部署交付品?我在STS目录中到处搜索,可以找到它。
浏览 8
提问于2017-03-23
得票数 0
回答已采纳
1
回答
spring
boot
bootBuildImage在
tomcat
镜像上应用war
使用
spring
boot
和task bootBuildImage(gradle),是否可以基于
tomcat
镜像构建镜像,并将war文件复制到相关的webapp目录中,而不是运行
应用程序
fatjar?我知道
使用
jib可以做到这一点。 谢谢
浏览 29
提问于2020-12-13
得票数 0
8
回答
Spring
Boot
java.lang.NoClassDefFoundError: javax/servlet/Filter
我用
Spring
Boot
1.2.3
启动
了一个新项目。:
spring
-
boot
-starter-actuator") compile("org.springframework.
boot
:
spring
-
boot
-starter-data-jpa")compile("org.springframework.
boot
:
spring
-
boot
-starter
浏览 9
提问于2015-05-21
得票数 72
1
回答
猫和弹簧
启动
器
、
、
、
我有一些SpringBoot2.1
应用程序
,它们都托管在
Tomcat
8.5上,我们通常
使用
以下POM.xml结构: <groupId>org.springframework.
boot
</artifactId>我们面临的问题是大小问题,我们意识到
spring
启动
启动
占用了大量MB,而我们有另一个仅
使用
的
应用程序</e
浏览 1
提问于2019-04-02
得票数 0
回答已采纳
1
回答
Spring
Tool Suite Server
Tomcat
v7.0无法在本地主机上
启动
、
、
、
、
我正在
使用
STS 3.7.0构建web
应用程序
。Eclipse Mars (4.5.0)我正在
启动
我的项目,但它无法通过以下控制台
启动
:java.util.concurrent.ExecutionException</groupId>
浏览 9
提问于2016-09-16
得票数 0
点击加载更多
相关
资讯
Spring Boot 中使用 RocketMQ
Spring Boot 中使用 SolrCloud
使用 Docker 发布 Spring Boot 应用
springboot:使用Jenkins部署Spring Boot
Spring Boot 修改启动时的 banner
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券