腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
在Kotlin中
访问
函数的默认值
kotlin
、
default-value
、
default-parameters
函数的默认参数值是否可以从函数扩展或其他任何地方
访问
?
浏览 0
提问于2017-08-20
得票数 4
回答已采纳
2
回答
如何使用Actuator测量Hibernate/JPA SQL查询的最小、最大和平均执行时间
spring-boot
、
hibernate
、
jpa
、
spring-boot-actuator
我想用Actuator监控我的Spring boot应用程序,但是我找
不到
任何方法来计算SQL查询的最小/最大/平均时间。
浏览 54
提问于2021-07-26
得票数 0
1
回答
springboot
项目,Windows系统,如何配置腾讯云https?
云服务器
、
SSL 证书
、
http
、
windows
、
https
springboot
项目,Windows系统,如何配置腾讯云https?自己配置了一次,以HTTPS
访问
访问
不到
,以HTTP会出现下面的信息:Bad Request This combination of host and port requires TLS.
浏览 830
提问于2020-07-22
1
回答
在OrderedRequestContextFilter上意外登录Spring应用程序
java
、
spring
、
tomcat
、
spring-boot
、
catalina
所以我正在用Spring开发一个非web服务器。它最近一直在成长。我有点担心以下的日志: 2017-05-18 11:26:28.828 DEBUG 2368 --- [apr-8080-exec-2] o.s.b.w.f.
浏览 9
提问于2017-05-18
得票数 4
回答已采纳
2
回答
应用程序执行失败且未获得预期结果
spring
、
spring-boot
我正在创建一个LoginController类,并试图
访问
LoginController类中存在的API。我能够执行程序,但在
访问
API时没有得到预期的输出。GetMapping("/login")引导应用 packag
浏览 1
提问于2020-01-08
得票数 0
1
回答
springboot
找
不到
静态文件
spring-boot
、
thymeleaf
我用的是
springboot
+ thymeleaf,它可以找到模板页面,但找
不到
静态的(css或js)。spring: name: exe-
springboot
suffix: .html
static
-locations: /
static
/**@RequestMapping("/index"
浏览 12
提问于2016-07-25
得票数 0
1
回答
从静态函数中退出
Springboot
java
、
spring
、
spring-boot
、
exit
、
shutdown
在
Springboot
应用程序中,我使用一个“实用程序”类(只有静态方法的类)来验证我的配置上的业务规则。 SpringApplication.exit(context, () -> returnCode); context是一个必须注入的我的问题来自于
static
方法MyConfigValida
浏览 2
提问于2021-01-21
得票数 1
2
回答
@Scheduled in spring的用法
mysql
、
hibernate
、
spring-boot
FilterType.ASSIGNABLE_TYPE ) } )@SpringBootApplication{ public
static
浏览 1
提问于2017-05-22
得票数 0
2
回答
腾讯云上
访问
不到
https?
ICP备案
、
云服务器
、
SSL 证书
、
网络安全
、
https
之后我申请了免费的数字证书,然后给我的
springboot
应用使用,我在本地的时候是可以使用的,可以用https
访问
。但是部署在腾讯云上以后
访问
不到
,被拒绝了。之后我把443端口换成1443以后还是
访问
不到
。会不会跟域名正在备案有关,麻烦你们帮忙解答一下,谢谢。 2.png
浏览 1489
提问于2020-05-23
2
回答
如何在REST web服务中使用spring引导修复'HTTP-404‘错误
java
、
rest
、
spring-boot
package com.in28minutes.
springboot
.studentservices;public class StudentServicesApplication{ SpringApplication.run(StudentServicesApplication.class, args); package com.in28minutes.
springboot
.control
浏览 5
提问于2018-12-28
得票数 0
回答已采纳
2
回答
Spring排除了一些胸腺叶未处理的静态html文件
spring-boot
、
thymeleaf
在我的
springboot
WebApplication中,我创建了一个名为templates的文件夹,它保存了所有的动态内容html文件,它将使用thymeleaf来呈现html内容。
浏览 16
提问于2017-06-27
得票数 0
回答已采纳
3
回答
如何在spring引导中使用Tuckey urlrewrite
访问
服务?wsdl
web-services
、
spring-boot
我的客户端希望使用wsdl符号
访问
wsdl,但我创建的
springboot
服务只使用“.wsdl”格式。我需要一个工作示例/示例,如何在
springboot
应用程序中配置Tuckey urlrewrite。我试过使用下面的代码,但是应用程序抱怨它找
不到
urlrewrite.xml (我把它放在src/main/resources文件夹中)。Q1:如何使用下面的url使我的服务可
访问
我试过使用下面的代码,但是tuckey无法找到src/java/ urlr
浏览 3
提问于2016-11-11
得票数 7
回答已采纳
1
回答
无法使用kubernetes playground
访问
kubernetes集群上部署的应用程序
kubernetes
apiVersion: v1metadata:spec: ports: name:
springboot
-app replicas: 3 matchLabels:Name:
浏览 16
提问于2018-07-29
得票数 0
1
回答
如何在get请求中获取rest控制器中的查询参数?
java
、
controller
、
spring-boot
、
restful-url
这可能是一条单线线,但我不习惯Spring或
SpringBoot
,所以我遇到了麻烦。@RestController } 我的问题是:如何
访问
完整的URL/查询参数
浏览 2
提问于2014-10-20
得票数 2
回答已采纳
1
回答
Springboot
Swagger Ui在使用K8S IP和Nodeport
访问
时抛出白字标记错误页
spring-boot
、
kubernetes
、
springdoc-openapi-ui
、
service-node-port-range
我创建了一个简单的
Springboot
应用程序,它运行在我的本地主机端口编号9091上,返回"Hello world!“当调用 url时。下面是我的
Springboot
主类和控制器类的代码片段public class HelloWorldApplication { 我已经使用下面的yaml文件配置将这个
Springboot
应用程序部署到我的k8s集群中 apiV
浏览 11
提问于2022-02-15
得票数 1
回答已采纳
1
回答
找
不到
spring启动页的swagger代码生成
spring
、
spring-boot
、
swagger-codegen
我的git从github克隆了swagger-api/swagger-codegen项目,并在samples/server/petstore/
springboot
(mvn包和java -jar ...服务器可以运行,但我无法
访问
任何apis。他们总是说找
不到
404。有什么想法吗?
浏览 3
提问于2017-04-18
得票数 0
1
回答
一个应用程序的Keycloak认证客户端无法
访问
同一领域中的另一个客户端应用程序
spring-boot
、
oauth-2.0
、
keycloak
、
spring-security-oauth2
当我
访问
应用程序时,我被重定向到Keycloak登录页面,在成功登录后,我可以看到我的
springboot
-mvc客户端页面。一切正常工作。。中
访问
springboot
-mvc-client.端点我用Authorization捕获了AccessToken并将其作为RestTemplate头传递,而且它也运行良好。
springboot
-rest-api问题:如果我将我的confidential应用程序注册为具有confidential
访问
类型的客户端,然后尝试从
springboot
浏览 1
提问于2021-10-14
得票数 0
回答已采纳
2
回答
Spring 2执行器/health端点在使用身份验证时没有显示其他信息
java
、
spring-boot
、
spring-boot-actuator
、
health-monitoring
我正在将一个项目从
SpringBoot
1.x迁移到
SpringBoot
2.x,唯一剩下的和给我带来麻烦的是。在
SpringBoot
1.X中,当您使用凭据
访问
/health端点时,通常会收到一个更详细的指示符列表,例如默认/health的结果有什么建议吗
浏览 1
提问于2018-12-28
得票数 3
回答已采纳
1
回答
如何修复“无法将'‘下的属性绑定到com.zaxxer.hikari.HikariDataSource”错误?
java
、
mysql
、
spring
、
spring-boot
、
jdbc
我已经有几个月没有用过spring或者java了。我正在尝试创建一个简单的Spring项目,类似于我之前创建的一个项目。然而,当我运行应用程序时,我在项目创建的一开始就得到了以下错误。这很奇怪,因为我的另一个项目运行得很好。任何帮助都是非常感谢的。 谢谢 1个错误 Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource: Value: com.mysql.cj.jdbc.Driver Origin:
浏览 121
提问于2020-07-25
得票数 0
3
回答
在rest控制器中使用Spring引导
java
、
spring
、
spring-boot
、
spring-restcontroller
主修班:@SpringBootApplication public
static
void main(String[] args) { }package com.rsc.
springboot
_test_controller;publi
浏览 6
提问于2016-11-09
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
SpringBoot访问静态资源
(9)SpringBoot使用JdbcTemplate访问数据库
详解SpringBoot应用跨域访问解决方案
springboot使用thymeleaf的方式引用static中的静态资源方法,引用框架文件资源方法
基于SpringBoot2使用Rest访问MongoDB数据
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券