Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question 引入dynamic启动失败 报 Invalid property 'executors[0].taskWrapperNames[1]' of bean class [org.dromara.dynamictp.common.properties.DtpProperties] #423

Open
GeRenlog opened this issue May 7, 2024 · 6 comments
Labels
question Further information is requested

Comments

@GeRenlog
Copy link

GeRenlog commented May 7, 2024

首先感谢您使用 DynamicTp,如果对项目有任何疑问需要解答,请按照下述模板提问,建议使用 Markdown 语法

使用方面

在引入该框架是启动失败
前三步我都会,引入Maven,导入配置文件(采用的是无配置中心的那种),在启动类上加注解
第四步我是这样的

Snipaste_2024-05-07_18-14-25

Snipaste_2024-05-07_18-14-44

jdk1.8
springgboot 1.1.7

原理方面

报错信息:
报错原因

其他

求大佬解答,谢谢了

@GeRenlog GeRenlog added the question Further information is requested label May 7, 2024
@GeRenlog
Copy link
Author

GeRenlog commented May 7, 2024

完整的报错信息: Invalid property 'executors[0].taskWrapperNames[1]' of bean class [org.dromara.dynamictp.common.properties.DtpProperties]: Property referenced in indexed property path 'taskWrapperNames[1]' is neither an array nor a List nor a Map; returned value was [[]]

@KamToHung
Copy link
Collaborator

KamToHung commented May 8, 2024

配置文件怎么配的,可以参考官网或者本项目的example模块

@GeRenlog
Copy link
Author

GeRenlog commented May 8, 2024

我的配置文件

image

@KamToHung
Copy link
Collaborator

我的配置文件

image

taskWrapperNames如何配置的

@GeRenlog
Copy link
Author

GeRenlog commented May 9, 2024

直接复制粘贴官网的,有什么讲究吗?

image

@KamToHung
Copy link
Collaborator

直接复制粘贴官网的,有什么讲究吗?

image

试下升级springboot版本,比如2.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants