Spring-服务被eureka服务器发现后关闭

2024-01-01

我的服务“应用程序名称”在启动后立即意外关闭。 当时

  • eureka服务器运行在8761端口
  • 服务已成功被eureka服务器发现(注册状态:204, registering application with eureka with status UP)
  • 发现的应用程序已在端口 9100 上完全启动(Started <app-name> in 7.427 seconds (JVM running for 7.999)

如果我不包括服务发现,应用程序启动正常

这是java实现

//Eureka server
@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaServerApplication.class, args);
    }
}

//Discovered service
@SpringBootApplication
@EnableDiscoveryClient
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

The application.properties (or bootstrap.properties)

# properties for discovered service
spring.application.name=<app-name>
spring.profiles.active=default
spring.cloud.config.uri=http://localhost:8888
server.port=9100
eureka.client.service-url.default-zone=http://localhost:8761/eureka

# properties for eureka
spring.application.name=symphony-nlp-eureka-server
server.port=8761
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false

这是日志

来自已发现服务的日志

// Service LOGS
2018-01-30 09:25:17.222 INFO  [restartedMain] [ConfigServicePropertySourceLocator] Fetching config from server at: http://localhost:8888
2018-01-30 09:25:17.387 INFO  [restartedMain] [ConfigServicePropertySourceLocator] Located environment: name=<app-name>, profiles=[default], label=null, version=null, state=null
2018-01-30 09:25:17.387 INFO  [restartedMain] [PropertySourceBootstrapConfiguration] Located property source: CompositePropertySource {name='configService', propertySources=[MapPropertySource {name='classpath:/<app-name>.yml'}]}
2018-01-30 09:25:17.394 INFO  [restartedMain] [<app-name>] The following profiles are active: default
2018-01-30 09:25:17.405 INFO  [restartedMain] [AnnotationConfigServletWebServerApplicationContext] Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@14f7cee: startup date [Tue Jan 30 09:25:17 GMT 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@121507b
2018-01-30 09:25:18.802 INFO  [restartedMain] [DefaultListableBeanFactory] Overriding bean definition for bean 'environmentWebEndpointExtension' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.env.EnvironmentEndpointAutoConfiguration; factoryMethodName=environmentWebEndpointExtension; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/env/EnvironmentEndpointAutoConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.autoconfigure.LifecycleMvcEndpointAutoConfiguration; factoryMethodName=environmentWebEndpointExtension; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/autoconfigure/LifecycleMvcEndpointAutoConfiguration.class]]
2018-01-30 09:25:19.020 INFO  [restartedMain] [GenericScope] BeanFactory id=270e5605-a6fb-3ddf-90f9-1ab7f8277113
2018-01-30 09:25:19.031 INFO  [restartedMain] [AutowiredAnnotationBeanPostProcessor] JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-01-30 09:25:19.062 INFO  [restartedMain] [PostProcessorRegistrationDelegate$BeanPostProcessorChecker] Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$69f84f5b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-01-30 09:25:19.118 INFO  [restartedMain] [ValidatorFactoryImpl] HV000238: Temporal validation tolerance set to 0.
2018-01-30 09:25:19.437 INFO  [restartedMain] [TomcatWebServer] Tomcat initialized with port(s): 9100 (http)
2018-01-30 09:25:19.447 INFO  [restartedMain] [StandardService] Starting service [Tomcat]
2018-01-30 09:25:19.447 INFO  [restartedMain] [StandardEngine] Starting Servlet Engine: Apache Tomcat/8.5.23
2018-01-30 09:25:19.454 INFO  [localhost-startStop-1] [AprLifecycleListener] The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: <listing the java path>
2018-01-30 09:25:19.575 INFO  [localhost-startStop-1] [[/]] Initializing Spring embedded WebApplicationContext
2018-01-30 09:25:19.576 INFO  [localhost-startStop-1] [ContextLoader] Root WebApplicationContext: initialization completed in 2171 ms
2018-01-30 09:25:19.903 INFO  [localhost-startStop-1] [RequestMappingHandlerMapping] Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-01-30 09:25:19.903 INFO  [localhost-startStop-1] [RequestMappingHandlerMapping] Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-01-30 09:25:19.969 INFO  [localhost-startStop-1] [SimpleUrlHandlerMapping] Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-01-30 09:25:19.969 INFO  [localhost-startStop-1] [SimpleUrlHandlerMapping] Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-01-30 09:25:19.998 INFO  [localhost-startStop-1] [SimpleUrlHandlerMapping] Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-01-30 09:25:20.742 INFO  [localhost-startStop-1] [WebMvcEndpointHandlerMapping] Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-01-30 09:25:20.743 INFO  [localhost-startStop-1] [WebMvcEndpointHandlerMapping] Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-01-30 09:25:20.743 INFO  [localhost-startStop-1] [WebMvcEndpointHandlerMapping] Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto private java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest)
2018-01-30 09:25:20.805 INFO  [localhost-startStop-1] [ServletRegistrationBean] Mapping servlet: 'dispatcherServlet' to [/]
2018-01-30 09:25:20.809 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'webMetricsFilter' to: [/*]
2018-01-30 09:25:20.809 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'characterEncodingFilter' to: [/*]
2018-01-30 09:25:20.809 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-01-30 09:25:20.810 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-01-30 09:25:20.810 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'requestContextFilter' to: [/*]
2018-01-30 09:25:20.810 INFO  [localhost-startStop-1] [FilterRegistrationBean] Mapping filter: 'webRequestLoggingFilter' to: [/*]
2018-01-30 09:25:20.838 INFO  [restartedMain] [MessageBroker] creating message broker
2018-01-30 09:25:22.197 INFO  [restartedMain] [Authentication] Successfully retrieved tokens
2018-01-30 09:25:22.399 WARN  [restartedMain] [URLConfigurationSource] No URLs will be polled as dynamic configuration sources.
2018-01-30 09:25:22.399 INFO  [restartedMain] [URLConfigurationSource] To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-01-30 09:25:22.404 WARN  [restartedMain] [URLConfigurationSource] No URLs will be polled as dynamic configuration sources.
2018-01-30 09:25:22.404 INFO  [restartedMain] [URLConfigurationSource] To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-01-30 09:25:22.445 INFO  [restartedMain] [ValidatorFactoryImpl] HV000238: Temporal validation tolerance set to 0.
2018-01-30 09:25:22.518 INFO  [restartedMain] [RequestMappingHandlerAdapter] Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@14f7cee: startup date [Tue Jan 30 09:25:17 GMT 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@121507b
2018-01-30 09:25:22.818 WARN  [restartedMain] [OptionalLiveReloadServer] Unable to start LiveReload server
2018-01-30 09:25:23.020 INFO  [restartedMain] [AnnotationMBeanExporter] Registering beans for JMX exposure on startup
2018-01-30 09:25:23.028 INFO  [restartedMain] [AnnotationMBeanExporter] Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2018-01-30 09:25:23.029 INFO  [restartedMain] [AnnotationMBeanExporter] Bean with name 'environmentManager' has been autodetected for JMX exposure
2018-01-30 09:25:23.030 INFO  [restartedMain] [AnnotationMBeanExporter] Bean with name 'refreshScope' has been autodetected for JMX exposure
2018-01-30 09:25:23.031 INFO  [restartedMain] [AnnotationMBeanExporter] Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2018-01-30 09:25:23.038 INFO  [restartedMain] [AnnotationMBeanExporter] Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2018-01-30 09:25:23.048 INFO  [restartedMain] [AnnotationMBeanExporter] Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=14f7cee,type=ConfigurationPropertiesRebinder]
2018-01-30 09:25:23.088 INFO  [restartedMain] [DefaultLifecycleProcessor] Starting beans in phase 0
2018-01-30 09:25:23.094 INFO  [restartedMain] [InstanceInfoFactory] Setting initial instance status as: STARTING
2018-01-30 09:25:23.128 INFO  [restartedMain] [DiscoveryClient] Initializing Eureka in region us-east-1
2018-01-30 09:25:23.164 INFO  [restartedMain] [DiscoveryJerseyProvider] Using JSON encoding codec LegacyJacksonJson
2018-01-30 09:25:23.164 INFO  [restartedMain] [DiscoveryJerseyProvider] Using JSON decoding codec LegacyJacksonJson
2018-01-30 09:25:23.230 INFO  [restartedMain] [DiscoveryJerseyProvider] Using XML encoding codec XStreamXml
2018-01-30 09:25:23.230 INFO  [restartedMain] [DiscoveryJerseyProvider] Using XML decoding codec XStreamXml
2018-01-30 09:25:23.360 INFO  [restartedMain] [ConfigClusterResolver] Resolving eureka endpoints via configuration
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Disable delta property : false
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Single vip registry refresh property : null
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Force full registry fetch : false
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Application is null : false
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Registered Applications size is zero : true
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Application version is -1: true
2018-01-30 09:25:23.393 INFO  [restartedMain] [DiscoveryClient] Getting all instance registry info from the eureka server
2018-01-30 09:25:23.434 INFO  [restartedMain] [DiscoveryClient] The response status is 200
2018-01-30 09:25:23.435 INFO  [restartedMain] [DiscoveryClient] Starting heartbeat executor: renew interval is: 30
2018-01-30 09:25:23.436 INFO  [restartedMain] [InstanceInfoReplicator] InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-01-30 09:25:23.439 INFO  [restartedMain] [DiscoveryClient] Discovery Client initialized at timestamp 1517304323439 with initial instances count: 0
2018-01-30 09:25:23.442 INFO  [restartedMain] [EurekaServiceRegistry] Registering application <app-name> with eureka with status UP
2018-01-30 09:18:53.450 INFO  [restartedMain] [Http11NioProtocol] Initializing ProtocolHandler ["http-nio-9100"]
2018-01-30 09:18:53.453 INFO  [DiscoveryClient-InstanceInfoReplicator-0] [DiscoveryClient] DiscoveryClient_<app-name>/<host>:<app-name>:9100 - registration status: 204

2018-01-30 09:18:53.457 INFO  [restartedMain] [Http11NioProtocol] Starting ProtocolHandler ["http-nio-9100"]
2018-01-30 09:18:53.464 INFO  [restartedMain] [NioSelectorPool] Using a shared selector for servlet write/read
2018-01-30 09:18:53.486 INFO  [restartedMain] [TomcatWebServer] Tomcat started on port(s): 9100 (http) with context path ''
2018-01-30 09:18:53.487 INFO  [restartedMain] [EurekaAutoServiceRegistration] Updating port to 9100
2018-01-30 09:18:53.490 INFO  [restartedMain] [<app-name>] Started <app-name> in 7.427 seconds (JVM running for 7.999)
2018-01-30 09:18:53.524 WARN  [restartedMain] [DiscoveryClient] Saw local status change event StatusChangeEvent [timestamp=1517303933524, current=DOWN, previous=UP]
2018-01-30 09:18:53.524 INFO  [DiscoveryClient-InstanceInfoReplicator-0] [DiscoveryClient] DiscoveryClient_<app-name>/<host>:<app-name>:9100: registering service...
2018-01-30 09:18:53.535 INFO  [restartedMain] [DiscoveryClient] Shutting down DiscoveryClient ...
2018-01-30 09:18:53.536 INFO  [restartedMain] [DiscoveryClient] Unregistering ...
2018-01-30 09:18:53.538 INFO  [DiscoveryClient-InstanceInfoReplicator-0] [DiscoveryClient] DiscoveryClient_<app-name>/<host>:<app-name>:9100 - registration status: 204
2018-01-30 09:18:53.542 INFO  [restartedMain] [DiscoveryClient] DiscoveryClient_<app-name>/<host>:<app-name>:9100 - deregister  status: 200
2018-01-30 09:18:53.549 INFO  [restartedMain] [DiscoveryClient] Completed shut down of DiscoveryClient

来自尤里卡服务器的日志

2018-01-30 09:18:15.373  INFO 10804 --- [nio-8761-exec-8] c.n.e.registry.AbstractInstanceRegistry  : Registered instance <app-name>/<host>:<app-name>:9100 with status UP (replication=false)
2018-01-30 09:18:15.383  INFO 10804 --- [nio-8761-exec-9] c.n.e.registry.AbstractInstanceRegistry  : Registered instance <app-name>/<host>:<app-name>:9100 with status DOWN (replication=false)
2018-01-30 09:18:15.400  INFO 10804 --- [io-8761-exec-10] c.n.e.registry.AbstractInstanceRegistry  : Cancelled instance <app-name>/<host>:<app-name>:9100 (replication=false)
2018-01-30 09:18:15.976  INFO 10804 --- [nio-8761-exec-2] c.n.e.registry.AbstractInstanceRegistry  : Registered instance <app-name>/<host>:<app-name>:9100 with status DOWN (replication=true)
2018-01-30 09:18:15.977  INFO 10804 --- [nio-8761-exec-2] c.n.e.registry.AbstractInstanceRegistry  : Cancelled instance <app-name>/<host>:<app-name>:9100 (replication=true)
2018-01-30 09:18:46.854  INFO 10804 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry  : Running the evict task with compensationTime 0ms

谢谢您的帮助


我的配置与您相同,我也遇到发现客户端关闭问题。 添加

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency> 

在 pom.xml 中解决了我的问题。

希望它也适合你。 但我仍在试图找出为什么,当我按照 spring cloud 课程构建应用程序时,课程作者没有专门添加“spring-boot-starter-web”。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Spring-服务被eureka服务器发现后关闭 的相关文章

随机推荐

  • Unity 3D 在一段时间内平滑地旋转对象

    我正在编写一个游戏 每次节拍器跳动时 立方体都必须围绕自身平滑旋转 90 度 每次节拍器跳动时 我的方法都会调用一个协程 IEnumerator moveCoroutine if isCollided canRotate for float
  • Unity Jenkins Android Gradle 任务:mergeReleaseResources 失败,命令行工作正常

    我正在尝试设置 Jenkins 服务器以自动构建 Unity 但出现 gradle 错误 使用命令行构建工作正常 但如果尝试使用 Jenkins 则会失败 Logs 失败 构建失败并出现异常 什么地方出了错 任务 mergeReleaseR
  • iOS 中的 URL 解码

    我正在使用 Swift 1 2 开发我的 iPhone 应用程序 并且正在与 http Web 服务进行通信 我得到的响应是查询字符串格式 键值对 和 URL 编码 Net 我可以获得响应 但正在寻找使用 Swift 进行解码的正确方法 响
  • Python 处理 URL 的用户名和密码

    搞乱Python 我正在尝试使用它https updates opendns com nic update hostname https updates opendns com nic update hostname 当您访问 URL 时
  • 如何让你的java应用程序自行重启[重复]

    这个问题在这里已经有答案了 我想实施reset我的应用程序中的功能可以清理一些目录 复制文件等 然后为了完成该过程 我需要重新启动它 如何让应用程序自行重新运行 我认为打开第二个实例并关闭这个实例就足够了 尽管这不是真正的重启 我的应用程序
  • 在 Objective-C 中解码 Base64 字符串 [关闭]

    就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
  • 编写Python代码来计算几何级数

    我对编程和 Python 很陌生 我需要帮助编码一个几何级数 该级数应该计算级数 1 2 4 8 16 这是我到目前为止所拥有的 def work calc days worked n temp int 1 if days worked l
  • 如果 PowerShell 中的环境变量不存在,如何设置它?

    我很惊讶在谷歌搜索一段时间后我没有得到这种常见情况的答案 如果环境变量不存在 如何在 PowerShell 中设置它 下面的代码定义了环境变量FOO对于当前进程 如果尚不存在 if null eq env FOO env FOO bar I
  • 防止审计表被篡改

    我们的数据库中有审计表 该表的记录是使用触发器完成的 目前 没有什么可以阻止用户登录数据库服务器 从 Management Studio 打开表以及更改审计表中的数据 有哪些可能的机制可以防止 或至少检测 审计数据篡改情况 我正在考虑在审计
  • jssor 滑块图像在 Chrome 浏览器中无法正确显示

    我已经在我们的网站上成功实施 jssor slider 一年多了 并且喜欢它 昨天 2015 年 9 月 3 日 我的 Chrome 浏览器更新了 我们网站上的滑块现在无法正常工作 使用 IE 和 Firefox 仍然可以正常工作 图像会短
  • 使用 JavaScript 访问本地文件

    是否有使用 JavaScript 完成的本地文件操作 我正在寻找一种无需安装足迹即可完成的解决方案 例如要求Adobe AIR http en wikipedia org wiki Adobe Integrated Runtime 具体来说
  • 如何使用切换功能对条形图自动排序

    我上传了一个block https bl ocks org LemoNode 73dbb9d6a144476565386f48a2df2e3b FIXED 您可以在其中切换排序功能 我现在想添加的是某种if当复选框打开时 我希望条形图在您更
  • Windows 窗体中的选项卡索引

    在我当前的应用程序中 我有一个表单 要求用户输入大量数据 大约有 30 个文本框 在开发过程中有时会引入新的文本框或淘汰旧的文本框 我的客户的一项要求是 它们都可以通过按 Tab 进行导航 因此 如果我正确地看到这一点 我目前将受到 Tab
  • org.springframework.beans.factory.CannotLoadBeanClassException:找不到类

    我将 Tomcat 6 0 安装目录中的 j2ee jar 替换为 servle api com 这会产生以下错误 我目前正在尝试找出原因 可能是什么问题 我在配置文件中定义了一个 bean Sempedia service xml 如下
  • 如何使用 PHP Curl 将文件上传到 AWS 预签名 URL?

    我正在尝试使用 PHP Curl 通过预签名 URL 将文件从 上传到 AWS 虽然文件似乎已成功上传 但在下载最近上传的文件后 尝试打开新下载的文件失败 根据文件类型 我收到 此文件已损坏 或 看起来我们不支持此文件格式 或 我们无法打开
  • Android NDK R8E 缺少 stdlib.h

    我正在使用 Android NDK android ndk r8e 测试一些本机库代码 本机库是从其 makefile 构建的 而不是 Android 修改后的构建系统 使用 makefile 而不是 Android 的构建系统是项目要求
  • 无法让滚动条出现在溢出时

    我正在构建一个 MDI WEB 应用程序 并且有一个由article元素 具有header and a section对于内容 由于它是一个 MDI 应用程序 article被设定为absolute 因此它可以与其他窗口重叠 我需要一个滚动
  • android webview加载数据时闪烁一次

    我在网络视图中预加载了文本 当来自互联网的数据到来时 我用新数据重新加载网络视图 问题是在加载数据转换期间屏幕闪烁一次 有什么建议吗 尝试禁用活动的硬件加速器 android hardwareAccelerated false
  • 如何通过 pyspeech 或 Dragonfly 输入和处理音频文件以转换为文本

    我看过pyspeech和dragonfly的文档 但不知道如何输入音频文件以转换为文本 我已经尝试使用麦克风通过对它讲话并将语音转换为文本 但是如果我想输入以前录制的音频文件 谁能帮忙举个例子吗 PySpeech 和 Dragonfly 都
  • Spring-服务被eureka服务器发现后关闭

    我的服务 应用程序名称 在启动后立即意外关闭 当时 eureka服务器运行在8761端口 服务已成功被eureka服务器发现 注册状态 204 registering application with eureka with status