2025-07-16 16:10:00.282 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframe work.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eduCourseServiceImpl': Unsatisfied dependency expressed through field 'eduVideoService': No qualifying bean of type ' com.csxy.nsh.eduservice.service.EduVideoService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 2025-07-16 16:10:00.282 [main] INFO com.alibaba.druid.pool.DruidDataSource - {dataSource-0} closing ... 2025-07-16 16:10:00.284 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat] 2025-07-16 16:10:00.329 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger - Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2025-07-16 16:10:00.343 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter - *************************** APPLICATION FAILED TO START *************************** Description: Field eduVideoService in com.csxy.nsh.eduservice.service.impl.EduCourseServiceImpl required a bean of type 'com.csxy.nsh.eduservice.service.EduVideoService' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'com.csxy.nsh.eduservice.service.EduVideoService' in your configuration. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.514 s [INFO] Finished at: 2025-07-16T16:10:00+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.13:run (default-cli) on project service-edu: Process terminated with exit code: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

时间: 2025-07-16 12:29:35 浏览: 3
在Spring Boot应用中,当出现 `No qualifying bean of type EduVideoService found` 错误时,通常表示Spring容器未能找到与依赖注入需求匹配的Bean。以下是一些可能的原因和对应的解决方法: ### 1. 确保组件扫描包含目标类 确保包含 `EduVideoService` 类的包被Spring Boot的组件扫描覆盖。Spring Boot默认会扫描主应用程序类(带有 `@SpringBootApplication` 注解的类)所在包及其子包中的组件。 如果 `EduVideoService` 位于其他包路径下,可以通过修改主类上的注解来扩展扫描范围: ```java @SpringBootApplication(scanBasePackages = {"com.example.demo", "com.example.service"}) public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } ``` ### 2. 检查Bean的作用域和定义 确保 `EduVideoService` 类上有正确的注解,如 `@Service` 或 `@Component`,以将其声明为Spring管理的Bean。例如: ```java @Service public class EduVideoService { // 方法实现 } ``` 如果使用了自定义限定符(`@Qualifier`),需要检查是否正确配置了限定符名称或值。 ### 3. 使用@Autowired进行注入 在需要注入 `EduVideoService` 的地方,确保使用了 `@Autowired` 注解。例如: ```java @RestController public class VideoController { @Autowired private EduVideoService eduVideoService; // 控制器方法 } ``` 此外,也可以通过构造函数进行注入,这有助于提高代码的可测试性: ```java @RestController public class VideoController { private final EduVideoService eduVideoService; @Autowired public VideoController(EduVideoService eduVideoService) { this.eduVideoService = eduVideoService; } // 控制器方法 } ``` ### 4. 验证接口与实现的关系 如果 `EduVideoService` 是一个接口,并且有多个实现类,则需要使用 `@Primary` 注解标记其中一个实现为首选Bean,或者在注入时指定具体的实现类名称: ```java @Service @Primary public class DefaultEduVideoService implements EduVideoService { // 默认实现 } ``` ### 5. 检查依赖项版本 如果 `EduVideoService` 来自外部依赖库,确保项目中包含了正确的依赖版本。可以在 `pom.xml` 或 `build.gradle` 中检查相关依赖的版本号。例如,在Maven中: ```xml <dependency> <groupId>com.example</groupId> <artifactId>edu-video-service</artifactId> <version>1.0.0</version> </dependency> ``` ### 6. 启用特定功能 如果 `EduVideoService` 依赖于某些特定的功能(如JPA、缓存等),请确保这些功能已在主类上启用。例如,若涉及JPA实体管理,可以添加 `@EnableJpaRepositories` 注解: ```java @SpringBootApplication @EnableJpaRepositories(basePackages = "com.example.repository") public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } ``` ### 7. 日志调试 查看启动日志以获取更多上下文信息。Spring Boot在启动时会打印出所有注册的Bean列表,可以通过日志确认 `EduVideoService` 是否被成功加载。如果未出现在日志中,则可能是组件扫描失败或其他配置问题导致的。 ### 8. 清理并重新构建项目 有时候,旧的编译文件可能导致问题。尝试清理并重新构建项目,确保所有源文件都被正确处理: ```bash mvn clean install ``` 或者对于Gradle项目: ```bash gradle clean build ``` ---
阅读全文

相关推荐

06:53:37.232 [main] INFO c.r.s.RuoYiSystemApplication - [logStartupProfileInfo,638] - The following 1 profile is active: "dev" 06:53:39.561 [main] INFO o.a.c.h.Http11NioProtocol - [log,173] - Initializing ProtocolHandler ["http-nio-9201"] 06:53:39.566 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat] 06:53:39.566 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/9.0.96] 06:53:39.678 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext 06:53:39.836 [main] WARN c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,243] - dynamic-datasource initial loaded [0] datasource,Please add your primary datasource or check your configuration 06:53:40.806 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - [refresh,599] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysDictDataController': Unsatisfied dependency expressed through field 'dictTypeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysDictTypeServiceImpl': Invocation of init method failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ruoyi.system.mapper.SysDictDataMapper.selectDictDataList 06:53:40.826 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing .... 06:53:40.826 [main] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye 06:53:40.828 [main] INFO o.a.c.c.StandardService - [log,173] - Stopping service [Tomcat] 06:53:40.915 [main] ERROR o.s.b.SpringApplication - [reportFailure,818] - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysDictDataController': Un

2025-03-28 09:44:57.463 [main] INFO org.jeecg.JeecgSystemApplication:638 - The following 1 profile is active: "dev" 2025-03-28 09:44:58.617 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:599 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.jeecg.JeecgSystemApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/security/config/annotation/authentication/configurers/GlobalAuthenticationConfigurerAdapter.class] cannot be opened because it does not exist 2025-03-28 09:44:58.624 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-03-28 09:44:58.646 [main] ERROR org.springframework.boot.SpringApplication:818 - Application run failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.jeecg.JeecgSystemApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/security/config/annotation/authentication/configurers/GlobalAuthenticationConfigurerAdapter.class] cannot be opened because it does not exist at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:612) at org.springframework.context.annotation.ConfigurationClassParser.access$800(ConfigurationClassParser.java:110) at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.lambda$processGroupImports$1(ConfigurationClassParser.java:815) at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImpor

2025-03-08T22:34:24.922+08:00 INFO 47408 --- [ main] com.zj.sport.SportApplication : Starting SportApplication using Java 17.0.1 with PID 47408 (D:\毕设\软件\工具\sport\target\classes started by 86153 in D:\毕设\软件\工具\sport) 2025-03-08T22:34:24.925+08:00 INFO 47408 --- [ main] com.zj.sport.SportApplication : No active profile set, falling back to 1 default profile: "default" 2025-03-08T22:34:25.706+08:00 INFO 47408 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 9800 (http) 2025-03-08T22:34:25.716+08:00 INFO 47408 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-03-08T22:34:25.716+08:00 INFO 47408 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.36] 2025-03-08T22:34:25.757+08:00 INFO 47408 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-03-08T22:34:25.757+08:00 INFO 47408 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 793 ms 2025-03-08T22:34:25.804+08:00 WARN 47408 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController' defined in file [D:\毕设\软件\工具\sport\target\classes\com\zj\sport\controller\UserController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'userService': Unsatisfied dependency expressed through field 'userDao': Error creating bean with name 'userDao' defined in file [D:\毕设\软件\工具\sport\target\classes\com\zj\sport\dao\UserDao.class]: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required 2025-03-08T22:34:25.806+08:00 INFO 47408 --- [ main]

2025-03-23 23:17:14.231 WARN 30304 --- [tContainer#0-16] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection timed out: getsockopt 2025-03-23 23:17:14.231 INFO 30304 --- [tContainer#0-16] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer@6193ec97: tags=[[]], channel=null, acknowledgeMode=AUTO local queue size=0 2025-03-23 23:17:14.233 INFO 30304 --- [tContainer#0-17] o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [192.168.124.89:5673] 2025-03-23 23:17:35.263 ERROR 30304 --- [tContainer#0-17] o.s.a.r.l.SimpleMessageListenerContainer : Failed to check/redeclare auto-delete queue(s). 2025-03-23 23:17:35.263 INFO 30304 --- [tContainer#0-17] o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [192.168.124.89:5673] 2025-03-23 23:18:01.442 WARN 30304 --- [tContainer#0-17] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection timed out: getsockopt 2025-03-23 23:18:01.442 INFO 30304 --- [tContainer#0-17] o.s.a.r.l.SimpleMessageListenerContainer : Restarting Consumer@4b422927: tags=[[]], channel=null, acknowledgeMode=AUTO local queue size=0 2025-03-23 23:18:01.444 INFO 30304 --- [tContainer#0-18] o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [192.168.124.89:5673]

2025-04-01 10:40:39.023 INFO [io.undertow.servlet] - Initializing Spring DispatcherServlet 'dispatcherServlet' 2025-04-01 10:40:39.025 INFO [org.springframework.web.servlet.DispatcherServlet] - Initializing Servlet 'dispatcherServlet' 2025-04-01 10:40:39.026 TRACE [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.multipart.commons.CommonsMultipartResolver@58ec8271 2025-04-01 10:40:39.026 TRACE [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@398694a6 2025-04-01 10:40:39.026 TRACE [org.springframework.web.servlet.DispatcherServlet] - Detected org.springframework.web.servlet.theme.FixedThemeResolver@3df04fa1 2025-04-01 10:40:39.028 TRACE [org.springframework.web.servlet.DispatcherServlet] - Detected DefaultRequestToViewNameTranslator 2025-04-01 10:40:39.029 TRACE [org.springframework.web.servlet.DispatcherServlet] - Detected SessionFlashMapManager 2025-04-01 10:40:39.030 DEBUG [org.springframework.web.servlet.DispatcherServlet] - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data 2025-04-01 10:40:39.030 INFO [org.springframework.web.servlet.DispatcherServlet] - Completed initialization in 5 ms 2025-04-01 10:40:39.049 TRACE [org.springframework.web.servlet.DispatcherServlet] - GET "/big-screen/get-time-period-traffic?deviceType=3", parameters={masked}, headers={masked} in DispatcherServlet 'dispatcherServlet' 2025-04-01 10:40:39.050 TRACE [o.s.w.s.m.m.a.RequestMappingHandlerMapping] - Mapped to com.syzn.dv.biz.bigscreen.northbound.controller.BigScreenController#getTimePeriodTraffic(BigScreenCommonReq) 2025-04-01 10:40:39.074 TRACE [org.springframework.web.method.HandlerMethod] - Arguments: [BigScreenCommonReq(direction=null, deviceType=3, startDate=null, endDate=null)] 2025-04-01 10:40:39.088 DEBUG [org.mybatis.spring.SqlSessionUtils] - Creating a new SqlSession 2025

. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.13) 2025-03-08 00:54:07.848 INFO 12164 --- [ main] com.hogeon.Application : Starting Application using Java 1.8.0_151 on 温习 with PID 12164 (D:\COMPUTER\HD\springbootDemo\target\classes started by 38130 in D:\COMPUTER\HD\springbootDemo) 2025-03-08 00:54:07.850 INFO 12164 --- [ main] com.hogeon.Application : No active profile set, falling back to 1 default profile: "default" 2025-03-08 00:54:08.124 WARN 12164 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.hogeon]' package. Please check your configuration. 2025-03-08 00:54:08.261 INFO 12164 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2025-03-08 00:54:08.264 INFO 12164 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-03-08 00:54:08.265 INFO 12164 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68] 2025-03-08 00:54:08.315 INFO 12164 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-03-08 00:54:08.315 INFO 12164 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 447 ms 2025-03-08 00:54:08.433 WARN 12164 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfi

2025-06-12 17:55:22 [main] INFO o.d.w.RuoYiWorkflowApplication - Starting RuoYiWorkflowApplication using Java 17.0.2 with PID 1 (/app/workflow.jar started by root in /app) 2025-06-12 17:55:22 [main] INFO o.d.w.RuoYiWorkflowApplication - The following 1 profile is active: "prod" 2025-06-12 17:55:22 [main] INFO c.a.c.n.c.NacosConfigDataLoader - [Nacos Config] Load config[dataId=ruoyi-workflow.yml, group=ARCHIVES] success 2025-06-12 17:55:22 [main] INFO c.a.c.n.c.NacosConfigDataLoader - [Nacos Config] Load config[dataId=datasource.yml, group=ARCHIVES] success 2025-06-12 17:55:22 [main] INFO c.a.c.n.c.NacosConfigDataLoader - [Nacos Config] Load config[dataId=application-common.yml, group=ARCHIVES] success 2025-06-12 17:55:29 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server 2025-06-12 17:55:29 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - *************************** APPLICATION FAILED TO START *************************** Description: Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context. Action: Check your application's dependencies for a supported servlet web server. Check the configured web application type. 2025-06-12 17:55:29 [Thread-6] WARN c.a.nacos.common.notify.NotifyCenter - [NotifyCenter] Start destroying Publisher 2025-06-12 17:55:29 [Thread-4] WARN c.a.n.c.http.HttpClientBeanHolder - [HttpClientBeanHolder] Start destroying common HttpClient 2025-06-12 17:55:29 [Thread-6] WARN c.a.nacos.common.notify.NotifyCenter 分析日志

2025-03-13 10:36:48.775 INFO 11384 --- [ main] com.aleks.MainApplication : Starting MainApplication using Java 1.8.0_241 on AlekEnvy with PID 11384 (E:\workspace\IdeaProjects\demo\deploy\main-deploy\target\classes started by Aleks in E:\workspace\IdeaProjects\demo) 2025-03-13 10:36:48.784 INFO 11384 --- [ main] com.aleks.MainApplication : No active profile set, falling back to 1 default profile: "default" 2025-03-13 10:36:48.784 DEBUG 11384 --- [ main] o.s.boot.SpringApplication : Loading source class javafx.application.Application 2025-03-13 10:36:48.818 DEBUG 11384 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@301ec38b 2025-03-13 10:36:48.961 WARN 11384 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.context.MissingWebServerFactoryBeanException: No qualifying bean of type 'org.springframework.boot.web.servlet.server.ServletWebServerFactory' available: Unable to start AnnotationConfigServletWebServerApplicationContext due to missing ServletWebServerFactory bean 2025-03-13 10:36:48.996 DEBUG 11384 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.boot.web.context.MissingWebServerFactoryBeanException: No qualifying bean of type 'org.springframework.boot.web.servlet.server.ServletWebServerFactory' available: Unable to start AnnotationConfigServletWebServerApplicationContext due to missing ServletWebServerFactory bean at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:212) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:182) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:585) ~[spring-context-5.3.31.jar:5.3.31] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289) [spring-boot-2.7.18.jar:2.7.18] at com.aleks.MainApplication.main(MainApplication.java:10) [classes/:na] 2025-03-13 10:36:48.996 ERROR 11384 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context. Action: Check your application's dependencies for a supported servlet web server. Check the configured web application type. 与目标VM断开连接, 地址为: ''127.0.0.1:62357',传输: '套接字'', 传输: '{1}' 进程已结束,退出代码1

2025-03-11 15:13:28.185 INFO 1232 --- [ main] com.aleks.MainApplication : Starting MainApplication using Java 1.8.0_241 on AlekEnvy with PID 1232 (E:\workspace\IdeaProjects\demo\deploy\main-deploy\target\classes started by Aleks in E:\workspace\IdeaProjects\demo) 2025-03-11 15:13:28.190 INFO 1232 --- [ main] com.aleks.MainApplication : No active profile set, falling back to 1 default profile: "default" 2025-03-11 15:13:28.191 DEBUG 1232 --- [ main] o.s.boot.SpringApplication : Loading source class javafx.application.Application 2025-03-11 15:13:28.211 DEBUG 1232 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@78d6692f 2025-03-11 15:13:28.283 WARN 1232 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.context.MissingWebServerFactoryBeanException: No qualifying bean of type 'org.springframework.boot.web.servlet.server.ServletWebServerFactory' available: Unable to start AnnotationConfigServletWebServerApplicationContext due to missing ServletWebServerFactory bean 2025-03-11 15:13:28.309 DEBUG 1232 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.boot.web.context.MissingWebServerFactoryBeanException: No qualifying bean of type 'org.springframework.boot.web.servlet.server.ServletWebServerFactory' available: Unable to start AnnotationConfigServletWebServerApplicationContext due to missing ServletWebServerFactory bean at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:212) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:182) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:585) ~[spring-context-5.3.31.jar:5.3.31] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289) [spring-boot-2.7.18.jar:2.7.18] at com.aleks.MainApplication.main(MainApplication.java:10) [classes/:na] 2025-03-11 15:13:28.311 ERROR 1232 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context. Action: Check your application's dependencies for a supported servlet web server. Check the configured web application type. 与目标VM断开连接, 地址为: ''127.0.0.1:60906',传输: '套接字'', 传输: '{1}' 进程已结束,退出代码1

[2025-05-12T16:43:47,345][INFO ][o.e.b.Elasticsearch ] [DESKTOP-A854GSO] version[9.0.1], pid[10096], build[zip/73f7594ea00db50aa7e941e151a5b3985f01e364/2025-04-30T10:07:41.393025990Z], OS[Windows 11/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/24/24+36-3646] [2025-05-12T16:43:47,356][INFO ][o.e.b.Elasticsearch ] [DESKTOP-A854GSO] JVM home [D:\elasticsearch\elasticsearch-9.0.1\jdk], using bundled JDK [true] [2025-05-12T16:43:47,357][INFO ][o.e.b.Elasticsearch ] [DESKTOP-A854GSO] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=CLDR, -Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=24, -Des.distribution.type=zip, -Des.java.type=bundled JDK, --enable-native-access=org.elasticsearch.nativeaccess,org.apache.lucene.core, --enable-native-access=ALL-UNNAMED, --illegal-native-access=deny, -XX:ReplayDataFile=logs/replay_pid%p.log, -Des.entitlements.enabled=true, -XX:+EnableDynamicAgentLoading, -Djdk.attach.allowAttachSelf=true, --patch-module=java.base=lib\entitlement-bridge\elasticsearch-entitlement-bridge-9.0.1.jar, --add-exports=java.base/org.elasticsearch.entitlement.bridge=org.elasticsearch.entitlement,java.logging,java.net.http,java.naming,jdk.net, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\鍥AppData\Local\Temp\elasticsearch, --add-modules=jdk.incubator.vector, -Dorg.apache.lucene.store.defaultReadAdvice=normal, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,level,pid,tags:filecount=32,filesize=64m, -Xms7778m, -Xmx7778m, -XX:MaxDirectMemorySize=4078960640, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=D:\elasticsearch\elasticsearch-9.0.1\lib, --add-modules=jdk.net, --add-modules=jdk.management.agent, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server] [2025-05-12T16:43:47,358][INFO ][o.e.b.Elasticsearch ] [DESKTOP-A854GSO] Default Locale [zh_CN] [2025-05-12T16:43:47,528][INFO ][o.e.n.NativeAccess ] [DESKTOP-A854GSO] Using [jdk] native provider and native methods for [Windows] [2025-05-12T16:43:47,660][INFO ][o.a.l.i.v.PanamaVectorizationProvider] [DESKTOP-A854GSO] Java vector incubator API enabled; uses preferredBitSize=256; FMA enabled [2025-05-12T16:43:47,802][INFO ][o.e.b.Elasticsearch ] [DESKTOP-A854GSO] Bootstrapping Entitlements [2025-05-12T16:43:52,351][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [repository-url] [2025-05-12T16:43:52,352][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [rest-root] [2025-05-12T16:43:52,352][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-core] [2025-05-12T16:43:52,353][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-redact] [2025-05-12T16:43:52,353][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [ingest-user-agent] [2025-05-12T16:43:52,353][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-async-search] [2025-05-12T16:43:52,354][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-monitoring] [2025-05-12T16:43:52,354][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [repository-s3] [2025-05-12T16:43:52,354][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-analytics] [2025-05-12T16:43:52,354][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-esql-core] [2025-05-12T16:43:52,355][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-ent-search] [2025-05-12T16:43:52,355][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-autoscaling] [2025-05-12T16:43:52,355][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [lang-painless] [2025-05-12T16:43:52,356][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-ml] [2025-05-12T16:43:52,356][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [lang-mustache] [2025-05-12T16:43:52,356][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [legacy-geo] [2025-05-12T16:43:52,356][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [logsdb] [2025-05-12T16:43:52,357][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-ql] [2025-05-12T16:43:52,357][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [rank-rrf] [2025-05-12T16:43:52,357][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [analysis-common] [2025-05-12T16:43:52,358][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [health-shards-availability] [2025-05-12T16:43:52,358][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [transport-netty4] [2025-05-12T16:43:52,358][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [aggregations] [2025-05-12T16:43:52,358][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [ingest-common] [2025-05-12T16:43:52,359][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [frozen-indices] [2025-05-12T16:43:52,359][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-identity-provider] [2025-05-12T16:43:52,359][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-shutdown] [2025-05-12T16:43:52,359][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-text-structure] [2025-05-12T16:43:52,360][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [snapshot-repo-test-kit] [2025-05-12T16:43:52,360][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [ml-package-loader] [2025-05-12T16:43:52,360][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [kibana] [2025-05-12T16:43:52,360][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [constant-keyword] [2025-05-12T16:43:52,361][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-logstash] [2025-05-12T16:43:52,361][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-ccr] [2025-05-12T16:43:52,361][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-graph] [2025-05-12T16:43:52,361][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [rank-vectors] [2025-05-12T16:43:52,362][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-esql] [2025-05-12T16:43:52,362][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [parent-join] [2025-05-12T16:43:52,362][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [counted-keyword] [2025-05-12T16:43:52,362][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-enrich] [2025-05-12T16:43:52,363][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [repositories-metering-api] [2025-05-12T16:43:52,363][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [transform] [2025-05-12T16:43:52,363][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [repository-azure] [2025-05-12T16:43:52,364][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [dot-prefix-validation] [2025-05-12T16:43:52,364][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [repository-gcs] [2025-05-12T16:43:52,364][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [spatial] [2025-05-12T16:43:52,364][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-otel-data] [2025-05-12T16:43:52,364][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [apm] [2025-05-12T16:43:52,365][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [mapper-extras] [2025-05-12T16:43:52,365][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [mapper-version] [2025-05-12T16:43:52,365][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-rollup] [2025-05-12T16:43:52,365][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [percolator] [2025-05-12T16:43:52,366][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-migrate] [2025-05-12T16:43:52,366][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [data-streams] [2025-05-12T16:43:52,366][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-stack] [2025-05-12T16:43:52,366][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [rank-eval] [2025-05-12T16:43:52,366][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [reindex] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-security] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [blob-cache] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [searchable-snapshots] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-slm] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-geoip-enterprise-downloader] [2025-05-12T16:43:52,367][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [snapshot-based-recoveries] [2025-05-12T16:43:52,368][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-watcher] [2025-05-12T16:43:52,368][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [old-lucene-versions] [2025-05-12T16:43:52,368][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-ilm] [2025-05-12T16:43:52,368][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-inference] [2025-05-12T16:43:52,368][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-voting-only-node] [2025-05-12T16:43:52,369][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-deprecation] [2025-05-12T16:43:52,369][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-fleet] [2025-05-12T16:43:52,369][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-aggregate-metric] [2025-05-12T16:43:52,369][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-downsample] [2025-05-12T16:43:52,369][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-profiling] [2025-05-12T16:43:52,370][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [ingest-geoip] [2025-05-12T16:43:52,370][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-write-load-forecaster] [2025-05-12T16:43:52,370][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [search-business-rules] [2025-05-12T16:43:52,370][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [ingest-attachment] [2025-05-12T16:43:52,370][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [wildcard] [2025-05-12T16:43:52,371][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-apm-data] [2025-05-12T16:43:52,371][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [unsigned-long] [2025-05-12T16:43:52,371][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-sql] [2025-05-12T16:43:52,371][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [runtime-fields-common] [2025-05-12T16:43:52,372][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-async] [2025-05-12T16:43:52,372][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [vector-tile] [2025-05-12T16:43:52,372][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-kql] [2025-05-12T16:43:52,372][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [lang-expression] [2025-05-12T16:43:52,372][INFO ][o.e.p.PluginsService ] [DESKTOP-A854GSO] loaded module [x-pack-eql] [2025-05-12T16:43:54,309][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-A854GSO] using [1] data paths, mounts [[(D:)]], net usable_space [546.3gb], net total_space [953.8gb], types [NTFS] [2025-05-12T16:43:54,310][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-A854GSO] heap size [7.5gb], compressed ordinary object pointers [true] [2025-05-12T16:43:54,399][INFO ][o.e.n.Node ] [DESKTOP-A854GSO] node name [DESKTOP-A854GSO], node ID [oThuyDfhTraitepa21vwPA], cluster name [elasticsearch], roles [ingest, data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold] [2025-05-12T16:43:57,587][INFO ][o.e.i.r.RecoverySettings ] [DESKTOP-A854GSO] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b] [2025-05-12T16:43:57,830][INFO ][o.e.f.FeatureService ] [DESKTOP-A854GSO] Registered local node features [ES_V_8, ES_V_9, cluster.reroute.ignores_metric_param, cluster.stats.source_modes, linear_retriever_supported, lucene_10_1_upgrade, lucene_10_upgrade, security.queryable_built_in_roles, simulate.ignored.fields] [2025-05-12T16:43:57,873][INFO ][o.e.c.m.DataStreamGlobalRetentionSettings] [DESKTOP-A854GSO] Updated default factory retention to [null] [2025-05-12T16:43:57,874][INFO ][o.e.c.m.DataStreamGlobalRetentionSettings] [DESKTOP-A854GSO] Updated max factory retention to [null] [2025-05-12T16:43:58,428][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [DESKTOP-A854GSO] [controller/15508] [Main.cc@123] controller (64 bit): Version 9.0.1 (Build 5ac89bc732bee2) Copyright (c) 2025 Elasticsearch BV [2025-05-12T16:43:58,907][INFO ][o.e.x.o.OTelPlugin ] [DESKTOP-A854GSO] OTel ingest plugin is enabled [2025-05-12T16:43:58,937][INFO ][o.e.x.c.t.YamlTemplateRegistry] [DESKTOP-A854GSO] OpenTelemetry index template registry is enabled [2025-05-12T16:43:58,953][INFO ][o.e.t.a.APM ] [DESKTOP-A854GSO] Sending apm metrics is disabled [2025-05-12T16:43:58,954][INFO ][o.e.t.a.APM ] [DESKTOP-A854GSO] Sending apm tracing is disabled [2025-05-12T16:43:59,004][INFO ][o.e.x.s.Security ] [DESKTOP-A854GSO] Security is enabled [2025-05-12T16:43:59,379][INFO ][o.e.x.s.a.s.FileRolesStore] [DESKTOP-A854GSO] parsed [0] roles from file [D:\elasticsearch\elasticsearch-9.0.1\config\roles.yml] [2025-05-12T16:44:00,003][INFO ][o.e.x.w.Watcher ] [DESKTOP-A854GSO] Watcher initialized components at 2025-05-12T08:44:00.002Z [2025-05-12T16:44:00,143][INFO ][o.e.x.p.ProfilingPlugin ] [DESKTOP-A854GSO] Profiling is enabled [2025-05-12T16:44:00,162][INFO ][o.e.x.p.ProfilingPlugin ] [DESKTOP-A854GSO] profiling index templates will not be installed or reinstalled [2025-05-12T16:44:00,170][INFO ][o.e.x.a.APMPlugin ] [DESKTOP-A854GSO] APM ingest plugin is enabled [2025-05-12T16:44:00,207][INFO ][o.e.x.c.t.YamlTemplateRegistry] [DESKTOP-A854GSO] apm index template registry is enabled [2025-05-12T16:44:00,764][INFO ][o.e.t.n.NettyAllocator ] [DESKTOP-A854GSO] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}] [2025-05-12T16:44:00,837][INFO ][o.e.d.DiscoveryModule ] [DESKTOP-A854GSO] using discovery type [multi-node] and seed hosts providers [settings] [2025-05-12T16:44:02,474][INFO ][o.e.n.Node ] [DESKTOP-A854GSO] initialized [2025-05-12T16:44:02,475][INFO ][o.e.n.Node ] [DESKTOP-A854GSO] starting ... [2025-05-12T16:44:02,520][INFO ][o.e.x.s.c.f.PersistentCache] [DESKTOP-A854GSO] persistent cache index loaded [2025-05-12T16:44:02,521][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [DESKTOP-A854GSO] deprecation component started [2025-05-12T16:44:02,642][INFO ][o.e.t.TransportService ] [DESKTOP-A854GSO] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300} [2025-05-12T16:44:03,031][WARN ][o.e.c.c.ClusterBootstrapService] [DESKTOP-A854GSO] this node is locked into cluster UUID [_h3NONUQTr-ueBQPxrmidA] but [cluster.initial_master_nodes] is set to [DESKTOP-A854GSO]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts; for further information see https://www.elastic.co/docs/deploy-manage/deploy/self-managed/important-settings-configuration?version=9.0#initial_master_nodes [2025-05-12T16:44:03,176][INFO ][o.e.c.s.MasterService ] [DESKTOP-A854GSO] elected-as-master ([1] nodes joined in term 4)[_FINISH_ELECTION_, {DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}{ELpoXthvShu35FsJ-XSBeA}{DESKTOP-A854GSO}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{9.0.1}{8000099-9009000} completing election], term: 4, version: 98, delta: master node changed {previous [], current [{DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}{ELpoXthvShu35FsJ-XSBeA}{DESKTOP-A854GSO}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{9.0.1}{8000099-9009000}]} [2025-05-12T16:44:03,257][INFO ][o.e.c.s.ClusterApplierService] [DESKTOP-A854GSO] master node changed {previous [], current [{DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}{ELpoXthvShu35FsJ-XSBeA}{DESKTOP-A854GSO}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{9.0.1}{8000099-9009000}]}, term: 4, version: 98, reason: Publication{term=4, version=98} [2025-05-12T16:44:03,312][INFO ][o.e.c.c.NodeJoinExecutor ] [DESKTOP-A854GSO] node-join: [{DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}{ELpoXthvShu35FsJ-XSBeA}{DESKTOP-A854GSO}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{9.0.1}{8000099-9009000}] with reason [completing election] [2025-05-12T16:44:03,317][INFO ][o.e.h.AbstractHttpServerTransport] [DESKTOP-A854GSO] publish_address {192.168.10.4:9200}, bound_addresses {[::]:9200} [2025-05-12T16:44:03,328][INFO ][o.e.x.w.LicensedWriteLoadForecaster] [DESKTOP-A854GSO] license state changed, now [valid] [2025-05-12T16:44:03,341][INFO ][o.e.n.Node ] [DESKTOP-A854GSO] started {DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}{ELpoXthvShu35FsJ-XSBeA}{DESKTOP-A854GSO}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{9.0.1}{8000099-9009000}{ml.allocated_processors_double=16.0, ml.max_jvm_size=8157921280, ml.config_version=12.0.0, xpack.installed=true, transform.config_version=10.0.0, ml.machine_memory=16312721408, ml.allocated_processors=16} [2025-05-12T16:44:03,387][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [DESKTOP-A854GSO] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized]; [2025-05-12T16:44:03,738][INFO ][o.e.x.m.MlIndexRollover ] [DESKTOP-A854GSO] ML legacy indices rolled over [2025-05-12T16:44:03,739][INFO ][o.e.x.m.MlAnomaliesIndexUpdate] [DESKTOP-A854GSO] legacy ml anomalies indices rolled over and aliases updated [2025-05-12T16:44:03,751][INFO ][o.e.x.s.a.Realms ] [DESKTOP-A854GSO] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native] [2025-05-12T16:44:03,754][INFO ][o.e.l.ClusterStateLicenseService] [DESKTOP-A854GSO] license [c457fd5c-94b5-44ae-ba97-7a8de1c2a152] mode [basic] - valid [2025-05-12T16:44:03,756][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-A854GSO] starting file watcher ... [2025-05-12T16:44:03,761][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-A854GSO] file settings service up and running [tid=109] [2025-05-12T16:44:03,762][INFO ][o.e.r.s.FileSettingsService] [DESKTOP-A854GSO] setting file [D:\elasticsearch\elasticsearch-9.0.1\config\operator\settings.json] not found, initializing [file_settings] as empty [2025-05-12T16:44:03,775][INFO ][o.e.g.GatewayService ] [DESKTOP-A854GSO] recovered [3] indices into cluster_state [2025-05-12T16:44:03,878][INFO ][o.e.x.w.LicensedWriteLoadForecaster] [DESKTOP-A854GSO] license state changed, now [not valid] [2025-05-12T16:44:04,273][INFO ][o.e.h.n.s.HealthNodeTaskExecutor] [DESKTOP-A854GSO] Node [{DESKTOP-A854GSO}{oThuyDfhTraitepa21vwPA}] is selected as the current health node. [2025-05-12T16:44:04,277][INFO ][o.e.c.r.a.AllocationService] [DESKTOP-A854GSO] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.ds-.logs-elasticsearch.deprecation-default-2025.05.12-000001][0], [.ds-ilm-history-7-2025.05.12-000001][0], [.security-7][0]]])." previous.health="RED" reason="shards started [[.ds-.logs-elasticsearch.deprecation-default-2025.05.12-000001][0], [.ds-ilm-history-7-2025.05.12-000001][0], [.security-7][0]]" 中文回答

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-06-12 13:41:41.770 ERROR [order-service,,] 1232 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Field userServiceClient in com.jdg.controller.OrderController required a bean of type 'com.jdg.service.UserServiceClient' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'com.jdg.service.UserServiceClient' in your configuration. 2025-06-12 13:41:41.771 INFO [order-service,,] 1232 --- [ Thread-11] o.s.c.s.a.z.ZipkinAutoConfiguration : Flushing remaining spans on shutdown 2025-06-12 13:41:41.771 WARN [order-service,,] 1232 --- [ Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher 2025-06-12 13:41:41.771 WARN [order-service,,] 1232 --- [ Thread-1] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient 2025-06-12 13:41:41.771 WARN [order-service,,] 1232 --- [ Thread-7] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end Exception in thread "Thread-11" zipkin2.reporter.ClosedSenderException at zipkin2.reporter.AsyncReporter$BoundedAsyncReporter.flush(AsyncReporter.java:265) at org.springframework.cloud.sleuth.autoconfig.zipkin2.ZipkinAutoConfiguration$1.run(ZipkinAutoConfiguration.java:145) 进程已结束,退出代码为 1

最新推荐

recommend-type

netty-all-4.1.23.Final.jar中文文档.zip

1、压缩文件中包含: 中文文档、jar包下载地址、Maven依赖、Gradle依赖、源代码下载地址。 2、使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 3、特殊说明: (1)本文档为人性化翻译,精心制作,请放心使用; (2)只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; (3)不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 4、温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件。 5、本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册。
recommend-type

实现Struts2+IBatis+Spring集成的快速教程

### 知识点概览 #### 标题解析 - **Struts2**: Apache Struts2 是一个用于创建企业级Java Web应用的开源框架。它基于MVC(Model-View-Controller)设计模式,允许开发者将应用的业务逻辑、数据模型和用户界面视图进行分离。 - **iBatis**: iBatis 是一个基于 Java 的持久层框架,它提供了对象关系映射(ORM)的功能,简化了 Java 应用程序与数据库之间的交互。 - **Spring**: Spring 是一个开源的轻量级Java应用框架,提供了全面的编程和配置模型,用于现代基于Java的企业的开发。它提供了控制反转(IoC)和面向切面编程(AOP)的特性,用于简化企业应用开发。 #### 描述解析 描述中提到的“struts2+ibatis+spring集成的简单例子”,指的是将这三个流行的Java框架整合起来,形成一个统一的开发环境。开发者可以利用Struts2处理Web层的MVC设计模式,使用iBatis来简化数据库的CRUD(创建、读取、更新、删除)操作,同时通过Spring框架提供的依赖注入和事务管理等功能,将整个系统整合在一起。 #### 标签解析 - **Struts2**: 作为标签,意味着文档中会重点讲解关于Struts2框架的内容。 - **iBatis**: 作为标签,说明文档同样会包含关于iBatis框架的内容。 #### 文件名称列表解析 - **SSI**: 这个缩写可能代表“Server Side Include”,一种在Web服务器上运行的服务器端脚本语言。但鉴于描述中提到导入包太大,且没有具体文件列表,无法确切地解析SSI在此的具体含义。如果此处SSI代表实际的文件或者压缩包名称,则可能是一个缩写或别名,需要具体的上下文来确定。 ### 知识点详细说明 #### Struts2框架 Struts2的核心是一个Filter过滤器,称为`StrutsPrepareAndExecuteFilter`,它负责拦截用户请求并根据配置将请求分发到相应的Action类。Struts2框架的主要组件有: - **Action**: 在Struts2中,Action类是MVC模式中的C(控制器),负责接收用户的输入,执行业务逻辑,并将结果返回给用户界面。 - **Interceptor(拦截器)**: Struts2中的拦截器可以在Action执行前后添加额外的功能,比如表单验证、日志记录等。 - **ValueStack(值栈)**: Struts2使用值栈来存储Action和页面间传递的数据。 - **Result**: 结果是Action执行完成后返回的响应,可以是JSP页面、HTML片段、JSON数据等。 #### iBatis框架 iBatis允许开发者将SQL语句和Java类的映射关系存储在XML配置文件中,从而避免了复杂的SQL代码直接嵌入到Java代码中,使得代码的可读性和可维护性提高。iBatis的主要组件有: - **SQLMap配置文件**: 定义了数据库表与Java类之间的映射关系,以及具体的SQL语句。 - **SqlSessionFactory**: 负责创建和管理SqlSession对象。 - **SqlSession**: 在执行数据库操作时,SqlSession是一个与数据库交互的会话。它提供了操作数据库的方法,例如执行SQL语句、处理事务等。 #### Spring框架 Spring的核心理念是IoC(控制反转)和AOP(面向切面编程),它通过依赖注入(DI)来管理对象的生命周期和对象间的依赖关系。Spring框架的主要组件有: - **IoC容器**: 也称为依赖注入(DI),管理对象的创建和它们之间的依赖关系。 - **AOP**: 允许将横切关注点(如日志、安全等)与业务逻辑分离。 - **事务管理**: 提供了一致的事务管理接口,可以在多个事务管理器之间切换,支持声明式事务和编程式事务。 - **Spring MVC**: 是Spring提供的基于MVC设计模式的Web框架,与Struts2类似,但更灵活,且与Spring的其他组件集成得更紧密。 #### 集成Struts2, iBatis和Spring 集成这三种框架的目的是利用它们各自的优势,在同一个项目中形成互补,提高开发效率和系统的可维护性。这种集成通常涉及以下步骤: 1. **配置整合**:在`web.xml`中配置Struts2的`StrutsPrepareAndExecuteFilter`,以及Spring的`DispatcherServlet`。 2. **依赖注入配置**:在Spring的配置文件中声明Struts2和iBatis的组件,以及需要的其他bean,并通过依赖注入将它们整合。 3. **Action和SQL映射**:在Struts2中创建Action类,并在iBatis的SQLMap配置文件中定义对应的SQL语句,将Struts2的Action与iBatis的映射关联起来。 4. **事务管理**:利用Spring的事务管理功能来管理数据库操作的事务。 5. **安全和服务层**:通过Spring的AOP和IoC功能来实现业务逻辑的解耦合和事务的管理。 ### 结语 通过上述的整合,开发者可以有效地利用Struts2处理Web层的展示和用户交互,使用iBatis简化数据库操作,同时借助Spring强大的依赖注入和事务管理功能,创建一个结构良好、可维护性强的应用。这种集成方式在许多企业级Java Web应用中非常常见,是Java开发人员必须掌握的知识点。
recommend-type

【数据融合技术】:甘肃土壤类型空间分析中的专业性应用

# 摘要 数据融合技术作为一种集成多源数据信息的方法,在土壤类型空间分析中发挥着关键作用。本文介绍了数据融合技术的基本概念及其理论基础,阐述了数据预处理、同步整合及冲突解决等关键技术,并详细描述了甘肃土壤类型数据准备的流程,包括数据采集、质量评估、空间化处理及融合实践准备。通过具体案例分析,展示了数据融合在土壤类型空间分布分析、土壤质量评估及土壤保护规划中的应用。同时,文
recommend-type

Waymo使用稀疏图卷积处理LiDAR点云,目标检测精度提升15%

<think>好的,用户让我介绍一下Waymo使用稀疏图卷积处理LiDAR点云,目标检测精度提升15%的具体情况。我需要先回忆之前提供的回答中提到的相关案例,然后深入展开。 首先,用户可能已经知道稀疏图卷积的基本概念,但需要更详细的应用案例。他们可能对Waymo如何具体应用该技术感兴趣,比如技术细节、实现方式、提升的具体指标等。需要确保回答结构清晰,分点说明,同时保持技术准确性。 要考虑到用户可能的背景,可能是研究或工程领域的,需要技术细节,但避免过于复杂的数学公式,除非必要。之前回答中提到了应用案例,现在需要扩展这个部分。需要解释为什么稀疏图卷积在这里有效,比如处理LiDAR点云的稀疏性
recommend-type

Dwr实现无刷新分页功能的代码与数据库实例

### DWR简介 DWR(Direct Web Remoting)是一个用于允许Web页面中的JavaScript直接调用服务器端Java方法的开源库。它简化了Ajax应用的开发,并使得异步通信成为可能。DWR在幕后处理了所有的细节,包括将JavaScript函数调用转换为HTTP请求,以及将HTTP响应转换回JavaScript函数调用的参数。 ### 无刷新分页 无刷新分页是网页设计中的一种技术,它允许用户在不重新加载整个页面的情况下,通过Ajax与服务器进行交互,从而获取新的数据并显示。这通常用来优化用户体验,因为它加快了响应时间并减少了服务器负载。 ### 使用DWR实现无刷新分页的关键知识点 1. **Ajax通信机制:**Ajax(Asynchronous JavaScript and XML)是一种在无需重新加载整个网页的情况下,能够更新部分网页的技术。通过XMLHttpRequest对象,可以与服务器交换数据,并使用JavaScript来更新页面的局部内容。DWR利用Ajax技术来实现页面的无刷新分页。 2. **JSON数据格式:**DWR在进行Ajax调用时,通常会使用JSON(JavaScript Object Notation)作为数据交换格式。JSON是一种轻量级的数据交换格式,易于人阅读和编写,同时也易于机器解析和生成。 3. **Java后端实现:**Java代码需要编写相应的后端逻辑来处理分页请求。这通常包括查询数据库、计算分页结果以及返回分页数据。DWR允许Java方法被暴露给前端JavaScript,从而实现前后端的交互。 4. **数据库操作:**在Java后端逻辑中,处理分页的关键之一是数据库查询。这通常涉及到编写SQL查询语句,并利用数据库管理系统(如MySQL、Oracle等)提供的分页功能。例如,使用LIMIT和OFFSET语句可以实现数据库查询的分页。 5. **前端页面设计:**前端页面需要设计成能够响应用户分页操作的界面。例如,提供“下一页”、“上一页”按钮,或是分页条。这些元素在用户点击时会触发JavaScript函数,从而通过DWR调用Java后端方法,获取新的分页数据,并动态更新页面内容。 ### 数据库操作的关键知识点 1. **SQL查询语句:**在数据库操作中,需要编写能够支持分页的SQL查询语句。这通常涉及到对特定字段进行排序,并通过LIMIT和OFFSET来控制返回数据的范围。 2. **分页算法:**分页算法需要考虑当前页码、每页显示的记录数以及数据库中记录的总数。SQL语句中的OFFSET计算方式通常为(当前页码 - 1)* 每页记录数。 3. **数据库优化:**在分页查询时,尤其是当数据量较大时,需要考虑到查询效率问题。可以通过建立索引、优化SQL语句或使用存储过程等方式来提高数据库操作的性能。 ### DWR无刷新分页实现的代码要点 1. **DWR配置:**在实现DWR无刷新分页时,首先需要配置DWR,以暴露Java方法给前端JavaScript调用。 2. **JavaScript调用:**编写JavaScript代码,使用DWR提供的API发起Ajax调用。这些调用将触发后端Java方法,并接收返回的分页数据。 3. **数据展示:**在获取到新的分页数据后,需要将这些数据显示在前端页面的相应位置。这通常需要操作DOM元素,将新数据插入到页面中。 ### 结论 通过结合上述知识点,可以使用DWR技术实现一个无刷新分页的动态Web应用。DWR简化了Ajax通信过程,让开发者可以专注于业务逻辑的实现。通过熟练掌握Java后端处理、数据库查询和前端页面设计的相关技术,便能高效地完成无刷新分页的开发任务。
recommend-type

【空间分布规律】:甘肃土壤类型与农业生产的关联性研究

# 摘要 本文对甘肃土壤类型及其在农业生产中的作用进行了系统性研究。首先概述了甘肃土壤类型的基础理论,并探讨了土壤类型与农业生产的理论联系。通过GIS技术分析,本文详细阐述了甘肃土壤的空间分布规律,并对其特征和影响因素进行了深入分析。此外,本文还研究了甘肃土壤类型对农业生产实际影响,包括不同区域土壤改良和作物种植案例,以及土壤养分、水分管理对作物生长周期和产量的具体影响。最后,提出了促进甘肃土壤与农业可持续发展的策略,包括土壤保护、退化防治对策以及土壤类型优化与农业创新的结合。本文旨在为
recommend-type

缓存延迟双删的实际解决方案通常怎么实现

<think>嗯,用户问的是关于缓存延迟双删的最佳实践和实际解决方案。首先,我需要回忆一下延迟双删的基本概念。根据引用[1]和[2],延迟双删主要是为了解决数据库和缓存之间的数据不一致问题,尤其是在分布式系统中。核心步骤应该是先删除缓存,再更新数据库,然后延迟一段时间再次删除缓存。但具体怎么操作呢? 用户可能已经知道延迟双删的基本思想,但需要更详细的步骤和注意事项。比如,为什么要延迟?延迟多久合适?这些都需要解释清楚。引用[3]提到先更新数据库再删除缓存是推荐的方法,但延迟双删可能是在某些特定场景下的优化。 接下来,我得考虑实现延迟双删的具体步骤。首先,第一次删除缓存是为了避免旧数据被后续
recommend-type

企业内部文档管理平台使用Asp.net技术构建

标题和描述中提到的知识点相当丰富,涉及到多个层面的IT技术和管理机制,具体如下: 1. Asp.net技术框架:Asp.net是微软公司开发的一个用于构建动态网站和网络应用程序的服务器端技术。它基于.NET平台,支持使用C#、VB.NET等多种编程语言开发应用程序。Asp.net企业信息文档管理系统使用Asp.net框架,意味着它将利用这一技术平台的特性,比如丰富的类库、集成开发环境(IDE)支持和面向对象的开发模型。 2.TreeView控件:TreeView是一种常用的Web控件,用于在网页上显示具有层次结构的数据,如目录、文件系统或组织结构。该控件通常用于提供给用户清晰的导航路径。在Asp.net企业信息文档管理系统中,TreeView控件被用于实现树状结构的文档管理功能,便于用户通过树状目录快速定位和管理文档。 3.系统模块设计:Asp.net企业信息文档管理系统被划分为多个模块,包括类别管理、文档管理、添加文档、浏览文档、附件管理、角色管理和用户管理等。这些模块化的设计能够让用户根据不同的功能需求进行操作,从而提高系统的可用性和灵活性。 4.角色管理:角色管理是企业信息管理系统中非常重要的一个部分,用于定义不同级别的用户权限和职责。在这个系统中,角色可以进行添加、编辑(修改角色名称)、删除以及上下移动(改变排列顺序)。这些操作满足了对用户权限细分和动态调整的需求。 5.操作逻辑:描述中详细说明了角色管理的操作步骤,如通过按钮选择进行角色的移动、修改和删除,提供了明确的用户交互流程,体现了系统设计的直观性。 6.系统安全性:系统提供了默认的管理帐号和密码(均为51aspx),这通常是一种简便的部署时临时设置。但在实际部署过程中,出于安全考虑,这些默认信息需要立即更改,并定期更新密码以避免潜在的安全风险。 7.文件结构:文件名称列表揭示了系统的文件结构和主要组成部分,比如Global.asax负责应用程序级别的事件处理,Default.aspx和Default.aspx.cs分别对应于系统的默认页面和后台代码文件,Web.Config用于存储和配置应用程序的设置,DocumentManager.sln和DocumentManager.suo分别指出了解决方案文件和解决方案用户选项文件,表明这是一个完整的Visual Studio解决方案。 通过上述知识点的梳理,我们可以看出Asp.net企业信息文档管理系统是一个集成了多个模块,具有良好用户体验设计、清晰操作逻辑和基本安全措施的IT解决方案。它不仅可以提高企业文档管理的效率,还能通过角色的权限管理确保信息的安全性和访问控制的合理性。同时,该系统还遵循了一定的软件工程实践,如模块化设计和配置文件的使用,以保障系统的可维护性和可扩展性。
recommend-type

【制图技术】:甘肃高质量土壤分布TIF图件的成图策略

# 摘要 本文针对甘肃土壤分布数据的TIF图件制作进行了系统研究。首先概述了甘肃土壤的分布情况,接着介绍了TIF图件的基础知识,包括其格式特点、空间数据表达以及质量控制方法。随后,文中构建了成图策略的理论框架,分析了土壤分布图的信息需求与数据处理流程,并探讨了成图原则与标准。在实践操作部分,详细阐述了制图软
recommend-type

化学结构式手写识别的第三方 API

<think>好的,我需要帮助用户找到能够识别化学结构式手写输入的第三方API。首先,用户的需求是化学结构式的手写识别,这比一般的文字识别复杂,因为化学结构式包含复杂的图形和符号,比如环状结构、键线式等。我需要先了解有哪些API支持这种专门的识别功能。 首先,我应该回忆一下常见的OCR(光学字符识别)服务,比如Google Cloud Vision API、Microsoft Azure Computer Vision,但这些可能主要用于普通文字或简单图形的识别,可能无法处理化学结构式。需要更专业的工具。 接下来,考虑化学信息学或化学领域的特定工具。比如ChemDraw有强大的结构式识别功