在Kube上安装ReportPortal获取错误:启动Tomcat上下文。异常:org ...消息:错误创建使用名称' servletendpointregistrar的bean'
我已经在Kubernetes群集上安装了ReportPortal 5.7.0。我已经从doc实施了: https://githbithub.com/reportportaub.com/reportportal/kubernetes/树/开发/报告港。从文档中,我必须安装RabbitMQ,Postgres和Minio才能进行ReportPortal。我已经成功安装了AbbitMQ,Postgres和Minio。所有豆荚都在运行,但是当我安装了ReportPortal时。 Report-Portal-API POD是错误的。我已经获得了日志形式的豆荚,然后吊舱日志显示
osbweb.embedded.tomcat.tomcatstarter:启动tomcat的错误 语境。例外:org.springframework .beans.factory.BeanCreationException。消息:创建bean的错误 在类路径资源中定义的名称为“ ServletendPoinTregistrar” [org/springframework/bo ot/artuate/autoconfigure/endpoint/web/servletendpointManagementContextConfiguration $ webmvcservletpointpointpointmanagementsmanagementcontextconfiguration.class]: 通过工厂方法通过豆类速度失败;嵌套异常是 org.springframework.beans.BeanInstantiationException:未能 实例[org.springframework.boot.actu ate.endpoint.web.servletendpointregistrar]:工厂方法 “ Servletendpointregistrar”命中了例外;嵌套异常是 org.springframework.beans.factory.b eancreationException:错误 创建具有姓名“ infoendpoint”的bean,在类路径资源中定义 [org/springframework/boot/artuate/autoconfigure/info/infoend PointAutoConfiguration.Class]:通过工厂方法豆实例化 失败的;嵌套异常是 org.springframework.beans.BeanInstantiationException:未能 实例[org.springframework.boot.actuate.info.infoendpoint]: 工厂方法“ infoendpoint”丢下异常;嵌套异常是 org.springframework.be ans.factory.unsatistieddependentyencypection: 错误创建使用名称为“ InfocontributorComposite”的bean url [jar:file:/service-api 5.7.0-exec.jar!/boo t-inf/class!/com/epam/ta/reportportal/info/infocontributorcomposite.class]: 通过构造函数参数0表示不满意的依赖性; 嵌套异常 org.springframework.beans.factory.unsatistieddependentyencypection: 使用URL中定义的名称“ AnalyzerInfocontributor”的名称创建BEAN的错误 [jar:file:/serv ICE-API-5.7.0-EXEC.JAR!/boot-inf/class!/com/epam/ta/reportportal/info/analyzerinfocontributor.class]: 通过构造函数p芳香计0表示不满意的依赖性; 嵌套异常是 org.springframework.beans.factory.beancreationexception:错误 用名称“ ManagementTemplate”在P ath类中定义的bean 资源 [com/epam/ta/reportportal/core/configs/rabbit/aNIPALEZERRABBITMQCONFIGURATION.CLASS]: 通过工厂方法实例化的豆类实例化失败;嵌套异常是 org.springframework.beans.BeanInstantiationException:未能 实例 [com.epam.ta.reportportal.core.analyzer.auto.client.rabbitmqmanagementclient] :工厂方法“管理网板”投掷例外;嵌套 例外是com.epam.ta.reportportal.exception.reportportalexception: 未分类的报告端口错误
我怀疑与RabbitMQ的ReportPortal Connect是错误,但我不确定。我应该怎么办?
I've installed reportportal 5.7.0 to kubernetes cluster. I've implemented it from doc:https://github.com/reportportal/kubernetes/tree/develop/reportportal. From the doc,I have to install rabbitmq, postgres and minio for reportportal. I've successfully installed abbitmq, postgres and minio. All pods were running but when I've installed reportportal. Report-portal-api pods was error. I've get logs form the pods then the pods logs shown that
o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat
context. Exception: org.springframework
.beans.factory.BeanCreationException. Message: Error creating bean
with name 'servletEndpointRegistrar' defined in class path resource
[org/springframework/bo
ot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]:
Bean instantia tion via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actu
ate.endpoint.web.ServletEndpointRegistrar]: Factory method
'servletEndpointRegistrar' threw exception; nested exception is
org.springframework.beans.factory.B eanCreationException: Error
creating bean with name 'infoEndpoint' defined in class path resource
[org/springframework/boot/actuate/autoconfigure/info/InfoEnd
pointAutoConfiguration.class]: Bean instantiation via factory method
failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actuate.info.InfoEndpoint]:
Factory method 'infoEndpoint' threw exception; nested exception is
org.springframework.be ans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'infoContributorComposite' defined in
URL [jar:file:/service-api-5.7.0-exec.jar!/BOO
T-INF/classes!/com/epam/ta/reportportal/info/InfoContributorComposite.class]:
Unsatisfied dependency expressed through constructor parameter 0;
nested excepti on is
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'analyzerInfoContributor' defined in URL
[jar:file:/serv
ice-api-5.7.0-exec.jar!/BOOT-INF/classes!/com/epam/ta/reportportal/info/AnalyzerInfoContributor.class]:
Unsatisfied dependency expressed through constructor p arameter 0;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'managementTemplate' defined in class p ath
resource
[com/epam/ta/reportportal/core/configs/rabbit/AnalyzerRabbitMqConfiguration.class]:
Bean instantiation via factory method failed; nested exceptio n is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[com.epam.ta.reportportal.core.analyzer.auto.client.RabbitMqManagementClient]
: Factory method 'managementTemplate' threw exception; nested
exception is com.epam.ta.reportportal.exception.ReportPortalException:
Unclassified Report Porta l Error
I suspected that reportportal connect to rabbitmq was error but I'm not sure. What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是真的。双重检查您的RabbitMQ配置:连接URL,OPEN端口等。我们在Kubernetes部署上有一个逐步指南: https://github.com/reportportal/kubernetes/tree/develop/report/reportportal
That's true. Double-check your rabbitmq configuration: connection URL, open ports, etc. We have a step-by-step guide on Kubernetes deployment: https://github.com/reportportal/kubernetes/tree/develop/reportportal