hippo4j
hippo4j copied to clipboard
[Bug] Start failed on a none web application
Which Project did you use? Hippo4j config or Hippo4j server?
Hippo4j config
Which version did you use?
1.5.0
Expected behavior
Use hippo4j on none web application.
Actual behavior
Application failed to start.
Cause analysis (if possible)
'cn.hippo4j.config.springboot.starter.config.DynamicThreadPoolAutoConfiguration#notifyConfigBuilder' required a bean of type 'cn.hippo4j.adapter.web.WebThreadPoolService'. But this application is not a web application and doesn't start an embedded web server.
Problem recurrence steps
Set application type to NONE and run
Sample code to reproduce the problem (for example, the GitHub Link)
public static void main(String[] args) {
var application = new SpringApplication(ThreadPoolApp.class);
application.setWebApplicationType(WebApplicationType.NONE);
var context = application.run(args);
}
@WHHunter That's a problem, and we'll fix it in the next release.
please assign to me
@WHHunter Welcome
@WHHunter Is there any progress?