腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
4
回答
无法在
Spring
Boot
应用程序
中提供JSP
spring-boot
、
spring-mvc
我已经尝试了几个教程来使用
Spring
Boot
提供JSP页面。它们都会返回
404
页未找到错误。>
spring
-
boot
-starter-web</artifactId><dependency> <artifactId>
tomcat
-
浏览 0
提问于2019-01-02
得票数 0
1
回答
带有webflux和Router功能的
Spring
boot
2 war不适用于独立的
tomcat
服务器
spring-boot
、
tomcat8
、
spring-webflux
该
应用程序
在
spring
boot
嵌入式
tomcat
8.5.28 (gradle bootRun)
上
运行良好,但当我创建war并将其放入独立的
tomcat
服务器(8.5.28)时,
应用程序
总是为所配置的任何路由抛出
404
。该
应用程序
在
spring
boot
嵌入式
tomcat
8.5.28 (gradle bootRun)
上
运行良好,但当我创建war并将其放入独立
浏览 1
提问于2018-03-14
得票数 1
1
回答
如何区分Apache为
404
提供的服务和我在
Tomcat
上
返回
404
的
应用程序
?
spring
、
tomcat
、
spring-boot
、
tomcat7
我有一个Java/
Spring
应用程序
,我使用
Spring
的Rest模板调用托管在apache
tomcat
容器
上
的when服务,我想知道如何区分为
404
页服务的
tomcat
容器(例如,当
应用程序
没有部署时)和when服务返回
404
(比如当我
找不到
帐户/资源时)。(即))
tomcat
服务器
上
的一个设置,该设置公开一个标头值,该值可能告诉我这是
应用程序
浏览 1
提问于2018-04-26
得票数 3
回答已采纳
14
回答
Spring
Boot
JSP
404
java
、
spring
、
jsp
、
spring-mvc
我正尝试在我的
Spring
Boot
服务中添加一个jsp页面。我的问题是,每次我试图转到那个页面时,我都会遇到这样的情况:这个
应用程序
没有显式的/error映射,所以您认为这是一种后备。Tue Apr 21 23:16:00EEST 2015出现意外错误(type=Not Found,status=
404
)。没有可用的消息
spring
.view.prefix: /WEB-INF/j
浏览 200
提问于2015-04-22
得票数 53
回答已采纳
3
回答
无法启动嵌入式
tomcat
Spring
引导
java
、
spring
、
tomcat
、
spring-boot
我正在开发
Spring
Boot
Gradle
应用程序
。当我尝试通过执行booRun将其作为war运行时,我的
应用程序
抛出错误。错误提示:无法启动embedded
tomcat
。:
spring
-
boot
-starter-web") compile("org.springframework.
boot
:
spring
-
boot
-starter-data-jpa"):
sp
浏览 0
提问于2017-10-12
得票数 1
1
回答
在
spring
boot
上
不加载页面
java
、
spring
、
spring-boot
、
spring-mvc
、
web
我正在尝试构建一个
spring
boot
应用程序
,当我加载一个jsp页面时,它显示
404
错误我正在使用jasper来加载jsp下面是我的代码主文件 @SpringBootApplication <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-
浏览 29
提问于2020-09-21
得票数 0
回答已采纳
1
回答
Spring
Boot
应用程序
-
tomcat
上
找不到
404
java
、
spring
、
maven
、
tomcat
、
http-status-code-404
我正在构建一个非常简单的rest
应用程序
,但是控制器没有响应请求,我得到了这个错误:Type Status Report 我将System.out放在控制器中,也没有显示,所以方法甚至不会被调用。
应用程序
类位于app包下。</groupId> <artifactId>
spring
-
boot
浏览 5
提问于2018-01-27
得票数 0
2
回答
spring
-
boot
-starter
tomcat
vs
spring
-
boot
-starter web
spring
、
tomcat
、
spring-boot
我正在尝试学习
Spring
引导,我注意到有两种选择。 有什么不同吗? 谢谢
浏览 6
提问于2015-10-29
得票数 32
回答已采纳
1
回答
spring
+jsp
应用程序
在
tomcat
中工作,在嵌入式
tomcat
中响应
404
。
spring-boot
、
spring-mvc
、
jsp
、
tomcat
我有一个
spring
+ jsp项目,它完美地工作在外部
tomcat
服务器
上
。我正在尝试使用
spring
引导和嵌入式
tomcat
服务器来创建一个可运行的war文件。但是,当我试图调用GET /student时,我会收到
404
错误,控制台中没有错误消息。:4.0.3.RELEASE' implementation 'org.springframework.
boot
:
spring
-
boot
-starte
浏览 6
提问于2022-04-27
得票数 2
回答已采纳
1
回答
spring
boot
应用程序
未在
Tomcat
中配置的端口号
上
启动
java
、
spring
、
spring-boot
我正在
spring
工具套件工具中运行示例
spring
boot
应用程序
。配置端口后,我无法从浏览器启动
应用程序
。我收到
404
Not found错误。
Spring
boot
在
tomcat
上
运行正常。package demo; import org.springframework.
boot<
浏览 7
提问于2018-07-22
得票数 0
1
回答
Spring
boot
,
spring
data jpa
应用程序
-如何检查正在使用的连接池?
spring-boot
、
spring-data-jpa
、
dbconnection
我使用的是
Spring
boot
版本1.5.4.RELEASE 更新:
浏览 1
提问于2019-08-07
得票数 0
3
回答
Apache
Tomcat
和
Spring
MVC。HTTP状态
404
spring
、
apache
、
spring-mvc
、
tomcat
我有一个
Spring
MVC
应用程序
,它工作得很好,直到现在,我在我的pom.xml中修改了一些东西。当我启动服务器或
应用程序
时,我没有得到任何错误,但当我尝试从我的
应用程序
访问页面时,我得到:type Status reportdescription>3.2.3.RELEASE</
spring
.security.version> <dep
浏览 1
提问于2015-05-29
得票数 0
1
回答
当
Spring
- WebSocket存在时,
spring
Reactive web不会出现
spring-boot
、
spring-websocket
、
spring-reactive
我有一个现有的
spring
web
应用程序
,它使用
spring
-
boot
-starter-web;我一直计划在这个
应用程序
中引入reactive。对于我正在工作的一个新特性,我引入了
spring
reactive web套接字,按照
spring
文档中指定的配置和编码;但不幸的是,它不能工作(得到
404
)。我尝试了一个示例
应用程序
,它工作得很好。我使用这个one作为我的示例
应用程序
。 我发现示例
应用程序</em
浏览 34
提问于2020-09-09
得票数 0
回答已采纳
2
回答
AWS Elastic Beanstalk -
tomcat
java
spring
boot
应用程序
问题
java
、
spring
、
amazon-web-services
、
spring-boot
、
amazon-elastic-beanstalk
您是否知道我无法访问托管在Amazon Elastic Beanstalk
上
的
应用程序
的原因?配置:
Tomcat
8.5,在64位Amazon Linux/3.0.6
上
运行Java 8/3.0.6我的
应用程序
: Java
spring
boot
应用程序
HTTP状态
404
-未找
浏览 3
提问于2018-11-17
得票数 0
2
回答
为什么我的
Spring
应用程序
一运行就会关闭?
spring-boot
我使用
Spring
来设置
Spring
应用程序
。我一运行
应用程序
就会立即退出,不会出现任何错误。它只是不运行在服务器
上
。 <?xml version="1.0" encoding="UTF-8"?</groupId> <artifactId>
spring
-
boot
-starter-
tomcat
</art
浏览 4
提问于2021-02-22
得票数 2
回答已采纳
2
回答
如何将
Spring
war文件部署到
Tomcat
?
java
、
spring
、
rest
、
maven
、
tomcat
我一直在尝试使用Maven来将RESTful服务转换为war文件并将其部署到
Tomcat
。但我收到的都是
找不到
的
404
。</groupId> <version>1.2.3.RELEASE</version<artifactId>
spring
-
boot
-sta
浏览 1
提问于2015-12-08
得票数 0
2
回答
在嵌入式
Tomcat
中使用
Spring
Boot
Weblfux
spring-boot
、
spring-webflux
我正在尝试在一个新的
Spring
Boot
应用程序
中使用WebFlux反应类型。我在上使用了初始化器,并选择了2.0.0-SNAPSHOT版本。我添加了web反应依赖,我所做的一切都运行得很好。现在我明白了webflux还没有正式上市,我也不应该期望所有其他
spring
项目都能提供完全的响应支持。不过,我还记得webflux还被称为web-reactive,你可以在undertow/jetty/netty/
tomcat
/etc
上
运行,但现在我使
浏览 16
提问于2017-04-18
得票数 7
回答已采纳
1
回答
未映射到/在
Tomcat
部署中的
Spring
引导索引页
spring-boot
、
tomcat9
另一个问题是向
Tomcat
部署
Spring
Boot
战争..。我读过十几个类似的问题,但没有找到解决问题的办法。我有一个
Spring
应用程序
,它在使用嵌入式
tomcat
服务器时运行良好(我可以使用localhost:8080访问index.html页面)。然而,当我将WAR部署到
Tomcat
( war称为ROOT.war,我也是在
Tomcat
的根目录下部署
应用程序
)时,localhost:8080返回
404
。<
浏览 8
提问于2022-12-02
得票数 1
1
回答
获取java.nio.file.NoSuchFileException:.\asm-全再打包。
spring-boot
、
jsp
、
tomcat
、
gradle
example.demo
应用程序
上
测试jsp页面。', name: '
tomcat
-embed-jasper', version: '9.0.22' implementation 'org.springframework.
boot
:
浏览 0
提问于2019-08-03
得票数 0
1
回答
Spring
引导
应用程序
war不工作,在
tomcat
服务器
上
遗憾时获得
404
。
java
、
spring
、
spring-boot
、
maven
、
tomcat
</groupId> <version>2.7.4</version> <groupId>org.springframework.
boot
</groupId> <artifactId>
spring
浏览 5
提问于2022-09-28
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券