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

cola5 不支持spirng3.x #565

Open
lesimin opened this issue Dec 5, 2024 · 0 comments
Open

cola5 不支持spirng3.x #565

lesimin opened this issue Dec 5, 2024 · 0 comments

Comments

@lesimin
Copy link

lesimin commented Dec 5, 2024

springboot版本3.2.10,
启动cola的时候,报错信息如下:


APPLICATION FAILED TO START


Description:

A component required a bean of type 'com.alibaba.cola.extension.ExtensionExecutor' that could not be found.

Action:

Consider defining a bean of type 'com.alibaba.cola.extension.ExtensionExecutor' in your configuration.

尝试了很多办法,都没办法解决。 调用扩展点无法启动

@Resource
private ExtensionExecutor extensionExecutor;

/**
* 获取扩展点
*
* @param context 上下文
* @return 执行日志
*/
public LogOperation getExtension(DecodingMapContext context) {
LogOperation log = extensionExecutor.execute(ExtensionStrategyMapExtPt.class, BizScenario.valueOf(context.getMapCreateParam().getType().toString()),
ex -> ex.execute(context.getBase(), context.getDecoding()));
return log;
}

麻烦处理一下,这个问题很麻烦。

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

No branches or pull requests

1 participant