泛微E10二开服务重启的时候启动失败了,报错:Error creating bean with name 'requestMappingHandlerMapping' defined in class
泛微E10二开服务重启的时候启动失败了,报错提示:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.weaver.contentmoderation.handler.SensitiveScanRequestHandler': Unsatisfied dependency expressed through field 'handlerMapping'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'com.weaver.seconddev.demo.controller.TestDemoController' method
错误信息如下图:

发布于:1天前 IP属地:四川省
1 个回答
这块是因为你的二开代码错误,导致泛微E10的二开服务在启动的时候tomcat解析出现了错误,导致启动失败,所以这个时候需要把你当前上传的jar包给回退回来,检查你自定义的二开代码是否有错误,进行回退的步骤如下:
1、进入ecode监控管理平台,点击jar包版本管理

2、找到你刚才的jar包,在操作栏点击删除操作

3、点击这里的删除,把当前版本给删除掉
4、回到运维管理平台,重新启动二开服务

就可以正常启动了

1、进入ecode监控管理平台,点击jar包版本管理

2、找到你刚才的jar包,在操作栏点击删除操作

3、点击这里的删除,把当前版本给删除掉
4、回到运维管理平台,重新启动二开服务

就可以正常启动了

发布于:1天前 IP属地:四川省
我来回答
您需要 登录 后回答此问题!