腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
spring
-
boot
-starter-webflux是否包含
spring
-
boot
-starter-web?
是否可以使用仅添加了
spring
-
boot
-starter-webflux
的
现有
spring
-
boot
-starter-web编码方案??没有
spring
-
boot
-starter-web的话。
浏览 71
提问于2019-01-07
得票数 1
3
回答
弹簧驱动器不提供入口点。
、
我正在尝试使用Actuator获取关于
spring
应用程序
的
额外信息。因此,我在我
的
依赖项
中
添加了以下内容: <groupId>org.springframework.
boot
</groupId>
浏览 1
提问于2017-09-26
得票数 1
回答已采纳
1
回答
不清楚为什么我
的
第二个application.yml没有加载
、
我尝试启动一个简单
的
Spring
Boot
应用程序
(APP),它使用一个库依赖项(LIB)。 LIB在根
类
路径
中
为commons配置提供application.yml。
应用程序
通过它自己
的
application.yml提供特定
的
配置,也在根
类
路径
中
。 当
应用程序
启动时,
Spring
Boot
抱怨说它找不到一些属
浏览 27
提问于2021-01-08
得票数 0
回答已采纳
1
回答
WebSphere8.5.5-春季引导
错误
: SpringServletContainerInitializer不是子类型
、
我有一个在Tomcat 8上运行良好
的
spring
引导
应用程序
。当我试图将它部署到Websphere 8.5.5上时,将“
类
加载器顺序”设置为“首先加载了带有本地
类
加载器
的
类
(父级加载程序)”时,
应用程序
无法从以下异常开始:Caused by
浏览 3
提问于2019-08-22
得票数 1
回答已采纳
1
回答
即使在属性
中
设置了'hibernate.dialect‘,也没有设置它
、
、
我是hibernate
的
新手,创建了一个简单
的
hibernate
应用程序
,其中我试图创建一个会话工厂对象,我
的
代码如下所示:}# Details for our datasource#application p
浏览 57
提问于2018-06-01
得票数 0
2
回答
用于独立弹簧应用
的
弹簧保护套致动器
、
、
我有一个通过main方法运行
的
简单
的
基本
应用程序
。它没有tomcat或任何东西。: <groupId>org.springframework.
boot
</groupId>
浏览 4
提问于2017-02-17
得票数 1
2
回答
在
Spring
Kafka
中
,我是否需要在
应用程序
中
添加@EnableKafka注释?
、
、
、
我看到一些人将@EnableKafka添加到他们
的
spring
boot
应用程序
中
,我想知道为什么。我有一个可以正常工作
的
spring
boot
kafka生产者和消费者,我没有使用@EnableKafka。那么,为什么人们需要明确地添加它呢? 谢谢。
浏览 181
提问于2020-04-17
得票数 16
回答已采纳
2
回答
Spring
中
Spring
集成Amqp
的
依赖关系
、
、
、
为了在
Spring
应用程序
中使用,我需要包含哪些依赖项?
Spring
版本为2.0.5。当前
的
依赖项是
spring
-
boot
-starter-integration和
spring
-integration-amqp。
错误
消息是像SimpleMessageListenerContainer和AmqpInboundChannelAdapter这样
的
类
,在
类
路径
中
找不到。
浏览 0
提问于2018-09-25
得票数 1
回答已采纳
3
回答
为什么
spring
-
boot
应用程序
不需要@EnableWebMvc
、
所以我写了一个小
的
应用程序
,为了熟悉基础知识,我把它做得尽可能简单。我用Config.java文件做了一个简单
的
mvc
应用程序
,当我认为
应用程序
现在应该抛出一个
错误
时,它实际上是可以工作
的
。> <artifactId>
spring
-
boot<
浏览 0
提问于2018-06-24
得票数 22
回答已采纳
2
回答
Spring
-
boot
:在Tomcat 7
中
部署WAR文件时出现问题
、
全, <artifactId>
spring
-
boot
浏览 5
提问于2019-10-17
得票数 0
8
回答
Spring
Boot
java.lang.NoClassDefFoundError: javax/servlet/Filter
我用
Spring
Boot
1.2.3启动了一个新项目。我得到了
错误
Gradle依赖关系: compile("org.springframework.
boot
:
spring
-
boot
-starter-actuator") compile("org.springframework.
浏览 9
提问于2015-05-21
得票数 72
2
回答
@PropertySource无法打开,因为它不存在
、
配置文件在jar文件之外
的
其他目录
中
存在问题。java -jar import-0.0.1-SNAPSHOT.jar -Dext.properties.dir=file:/C:\Users\Admin\Desktop\ 属性位置${ext.properties.dir:classpath:}/properties.properties不可解析:无法打开
类<
浏览 5
提问于2017-07-08
得票数 2
回答已采纳
2
回答
Spring
异常: StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter;)V :java.lang.NoSuchMethodError
、
、
、
、
我能够成功地为
Spring
应用程序
(
spring
gradle -plugin:1.2.6.RELEASE)构建一个gradle,但是当我尝试运行时,我会得到下面的异常。我相信在这方面也提出了类似的问题,但我应该能够使用1.2.6运行
Spring
。buildscript { mavenCentral() dependenci
浏览 1
提问于2015-10-15
得票数 2
回答已采纳
3
回答
在一个简单
的
rest服务上得到了一个404
错误
、
、
、
、
我对web开发非常陌生,今年夏天我在
Spring
上开发了一个web
应用程序
,但这个
应用程序
已经安装好了,只是在做一些Java和AngularJS
的
工作。但是现在我遇到了一些问题,要从头开始使用这种类型
的
应用程序
。我试着测试一个简单
的
web服务,但是不能找到我想要
的
url,我得到了一个404
错误
。</groupId> <artifactId>
spring
-<em
浏览 2
提问于2016-09-07
得票数 0
1
回答
是否有一种无需在STS上重新运行
应用程序
而重新加载
Spring
引导
应用程序
的
方法?
、
我正在使用STS (
Spring
)来构建一个
spring
引导
应用程序
。每次对代码做一些更改时,在浏览器上刷新
应用程序
页之前,我都需要停止并运行(重新运行)
应用程序
。如果有一种方法可以跟踪我所做
的
更改,并在我保存更改时将其包含在运行
的
包
中
,这将是非常有帮助
的
。
浏览 0
提问于2019-03-07
得票数 3
5
回答
Spring
Boot
1.4 :无法将class path resource []解析为URL,因为它不存在
、
没有JPA
的
项目在1.3版
中
工作得很好,但在1.4版
中
抛出了以下异常: 2016-07-31_19:29:21.758 [main] ERROR org.springframework.
boot
.SpringApplication) [
spring
-
boot
-1.4.0.RELEASE.jar!:369) [
spring
-
boot
-1.4.0.RELEASE.jar!
spring
-
boot
-1.4.0.RELEASE
浏览 77
提问于2016-08-01
得票数 5
回答已采纳
3
回答
@SpringApplicationConfiguration与@ContextConfiguration
的
区别
、
、
、
在JUnit测试用例方面,@SpringApplicationConfiguration和@ContextConfiguration有什么不同?
浏览 2
提问于2016-08-18
得票数 8
1
回答
Spring
和Javax RS REST API中继承情况下序列化JSON
的
差异
、
、
、
、
: "childA" { }, "type": "childA"] 我正在使用
Spring
4.1.2创建相同
的
API。现在,我只需要为这个API创建一个新
的
Spring
Controller: @RequestMapping(value = "/test",method =
浏览 17
提问于2019-04-28
得票数 1
7
回答
在SpringBoot2.1
中
重写DataSource bean
、
、
我已经升级到
spring
2.1版本,在启动
应用程序
时出现了奇怪
的
异常。在
类
路径
资源org/springframework/
boot
/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class,
中
定义
的
BeanDefinition已经在
类
路径
资源org/springframework/
bo
浏览 0
提问于2018-11-01
得票数 32
回答已采纳
1
回答
如何启动带弹簧套
的
千分尺?
、
、
、
、
我想添加石墨指标通过千分尺到我
的
弹簧启动
应用程序
。 我把这个加到我
的
pom里了 <!-- https://mvnrepository.com/artifact/org.springframework.
boot
/
spring
-
boot
-starter-actuator --> <groupId>org.springframework.
boo
浏览 272
提问于2020-10-13
得票数 2
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券