小编Vij*_*mar的帖子

AuthorizationServerConfigurerAdapter 已弃用

我想Oauth2在 spring rest API 中使用身份验证进行登录。但是我收到了一些警告,例如Spring Security 5AuthorizationServerConfigurerAdapter is deprecatedOAuth 2.0 迁移指南

课程文档

我在那里检查过,但没有找到很多迁移指南。任何人都可以分享完整的例子。

提前致谢...

spring spring-security oauth-2.0 spring-boot spring-security-oauth2

14
推荐指数
2
解决办法
1万
查看次数

使用 Samsung TV Tizen Web 应用程序进行调试时,Chrome devtools 检查器显示空白屏幕

我调试Samsung TV Tizen Web ApplicationTizen Studio 3.6Google Chrome Version 80.0.3987.100 (Official Build) (64-bit)。但是Chrome Inspector显示黑屏。

Chrome 路径配置:

镀铬路径

铬黑屏:

铬黑屏

请帮我解决这个问题。

javascript-debugger google-chrome-devtools samsung-smart-tv tizen-web-app tizen-studio

11
推荐指数
2
解决办法
3819
查看次数

Spring Boot 插件需要 Gradle 4.10 或更高版本。当前版本为 Gradle 4.1

我有一个 Spring Gradle 项目。我正在尝试使用gradle build命令进行构建。但得到以下错误:

* Where:
Build file 'F:\MyProjectName\build.gradle' line: 2

* What went wrong:
An exception occurred applying plugin request [id: 'org.springframework.boot', version: '2.2.2.RELEASE']
> Failed to apply plugin [id 'org.springframework.boot']
   > Spring Boot plugin requires Gradle 4.10 or later. The current version is Gradle 4.1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED …
Run Code Online (Sandbox Code Playgroud)

java gradle build.gradle spring-boot gradle-plugin

9
推荐指数
2
解决办法
2万
查看次数

Spring Boot应用程序中的Rest API无法在本地网络上访问

我正在使用 Spring Boot 和 tomcat 开发 REST api。该 API 可以使用邮递员在同一系统上访问,但无法在使用相同 wifi 连接的其他系统上访问。 热的

应用程序属性

#Mongo db setting ...
spring.data.mongodb.database=testdb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017

#setting for server port
server.port=8080
server.address=192.168.0.117



spring.http.multipart.max-file-size=10MB
spring.http.multipart.max-request-size=10MB
Run Code Online (Sandbox Code Playgroud)

java rest spring tomcat spring-boot

5
推荐指数
1
解决办法
9678
查看次数

Tizen TV Web应用程序:意外的停止进度

我正在尝试在Samsung模拟器上运行示例电视Web应用程序,但出现错误: Unexpected stop progress...

错误

其中config.xml是:-

<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/HelloTizen" version="1.0.0" viewmodes="maximized"> <tizen:application id="AYtSQMvNTh.HelloTizen" package="AYtSQMvNTh" required_version="2.3"/> <content src="index.html"/> <feature name="http://tizen.org/feature/screen.size.all"/> <icon src="icon.png"/> <name>HelloTizen</name> <tizen:privilege name="http://tizen.org/privilege/application.launch"/> <tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/> <tizen:profile name="tv"/> <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/> </widget>

也不能在模拟器中安装.wgt文件

呃

samsung-smart-tv tizen tizen-web-app tizen-emulator tizen-studio

2
推荐指数
1
解决办法
306
查看次数