程序员的资源宝库

网站首页 > gitee 正文

若依微服务集成flowable工作流 org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name

sanyeah 2024-03-29 16:56:56 gitee 8 ℃ 0 评论

C:\Java\jdk1.8.0_202\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:25493,suspend=y,server=n -Drebel.base=C:\Users\Administrator\.jrebel -Drebel.env.ide.plugin.version=2021.4.0 -Drebel.env.ide.version=2020.3.4 -Drebel.env.ide.product=IU -Drebel.env.ide=intellij -Drebel.notification.url=http://localhost:17434 -agentpath:C:\Users\Administrator\AppData\Roaming\JetBrains\IntelliJIdea2020.3\plugins\jr-ide-idea\lib\jrebel6\lib\jrebel64.dll -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\Administrator\AppData\Local\JetBrains\IntelliJIdea2020.3\captureAgent\debugger-agent.jar -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath C:\Users\Administrator\AppData\Local\Temp\classpath1778553205.jar com.huajun.disasterchain.HuaJunDisasterchainApplication
Connected to the target VM, address: '127.0.0.1:25493', transport: 'socket'
2022-05-16 14:13:24 JRebel: Directory 'D:\HuajunCode\hnsyjt\Huajun-Cloud-code\Huajun-Cloud\huajun-modules\huajun-disasterchain\target\classes' will be monitored for changes.
2022-05-16 14:13:25 JRebel: Directory 'D:\HuajunCode\hnsyjt\Huajun-Cloud-code\Huajun-Cloud\huajun-common\huajun-common-datasource\target\classes' will be monitored for changes.
2022-05-16 14:13:27 JRebel: 
2022-05-16 14:13:27 JRebel: A newer version '2022.2.1' is available for download 
2022-05-16 14:13:27 JRebel: from https://jrebel.com/software/jrebel/download/
2022-05-16 14:13:27 JRebel: 
2022-05-16 14:13:28 JRebel:  Starting logging to file: C:\Users\Administrator\.jrebel\jrebel.log
2022-05-16 14:13:28 JRebel:  
2022-05-16 14:13:28 JRebel:  #############################################################
2022-05-16 14:13:28 JRebel:  
2022-05-16 14:13:28 JRebel:  JRebel Agent 2021.4.0 (202110040625)
2022-05-16 14:13:28 JRebel:  (c) Copyright 2007-2021 Perforce Software, Inc.
2022-05-16 14:13:28 JRebel:  
2022-05-16 14:13:28 JRebel:  Over the last 30 days JRebel prevented
2022-05-16 14:13:28 JRebel:  at least 337 redeploys/restarts saving you about 13.7 hours.
2022-05-16 14:13:29 JRebel:  
2022-05-16 14:13:29 JRebel:  Over the last 365 days JRebel prevented
2022-05-16 14:13:29 JRebel:  at least 2114 redeploys/restarts saving you about 85.7 hours.
2022-05-16 14:13:29 JRebel:  
2022-05-16 14:13:29 JRebel:  License acquired from License Server: http://jrebel.cicoding.cn
2022-05-16 14:13:29 JRebel:  
2022-05-16 14:13:29 JRebel:  Licensed to Administrator.
2022-05-16 14:13:29 JRebel:  
2022-05-16 14:13:29 JRebel:  
2022-05-16 14:13:29 JRebel:  #############################################################
2022-05-16 14:13:29 JRebel:  
14:13:34.868 [background-preinit] INFO  o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.3.Final
Spring Boot Version: 2.6.7
Spring Application Name: huajun-disasterchain
 _   _ _   _   _       _ _   _ _   _       _______  __    _    __  __ ____  _     _____
| | | | | | | / \     | | | | | \ | |     | ____\ \/ /   / \  |  \/  |  _ \| |   | ____|
| |_| | | | |/ _ \ _  | | | | |  \| |_____|  _|  \  /   / _ \ | |\/| | |_) | |   |  _|
|  _  | |_| / ___ \ |_| | |_| | |\  |_____| |___ /  \  / ___ \| |  | |  __/| |___| |___
|_| |_|\___/_/   \_\___/ \___/|_| \_|     |_____/_/\_\/_/   \_\_|  |_|_|   |_____|_____|
14:13:39.368 [main] INFO  c.a.n.c.r.client - [lambda$createClient$0,80] - [RpcClientFactory] create a new rpc client of 4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0
14:13:39.467 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 48 ms to scan 1 urls, producing 3 keys and 6 values 
14:13:39.562 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 24 ms to scan 1 urls, producing 4 keys and 9 values 
14:13:39.586 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 19 ms to scan 1 urls, producing 3 keys and 10 values 
14:13:39.620 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 28 ms to scan 14 urls, producing 0 keys and 0 values 
14:13:39.652 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 30 ms to scan 1 urls, producing 1 keys and 5 values 
14:13:39.689 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 32 ms to scan 1 urls, producing 1 keys and 7 values 
14:13:39.714 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 20 ms to scan 1 urls, producing 2 keys and 8 values 
14:13:39.750 [main] INFO  o.r.Reflections - [scan,232] - Reflections took 30 ms to scan 14 urls, producing 0 keys and 0 values 
14:13:39.753 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
14:13:39.754 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$359/1172707268
14:13:39.755 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$360/1346560976
14:13:39.756 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
14:13:39.757 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
14:13:39.776 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
14:13:45.501 [main] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,99] - Server check fail, please check server 127.0.0.1 ,port 9848 is available , error ={}
java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 1 milliseconds, 269600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@4d7cac24[status=PENDING, info=[GrpcFuture{clientCall={delegate={delegate=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@63917fe1, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@720f56e2, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@677349fb}}}}}]]
    at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508)
    at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:148)
    at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:264)
    at com.alibaba.nacos.common.remote.client.RpcClient.start(RpcClient.java:390)
    at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.ensureRpcClient(ClientWorker.java:885)
    at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.getOneRunningClient(ClientWorker.java:1044)
    at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.queryConfig(ClientWorker.java:940)
    at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:397)
    at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:166)
    at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:94)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.loadNacosData(NacosPropertySourceBuilder.java:85)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.build(NacosPropertySourceBuilder.java:73)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosPropertySource(NacosPropertySourceLocator.java:199)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosDataIfPresent(NacosPropertySourceLocator.java:186)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosConfiguration(NacosPropertySourceLocator.java:158)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadSharedConfiguration(NacosPropertySourceLocator.java:116)
    at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:101)
    at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:51)
    at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:47)
    at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:95)
    at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:613)
    at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:381)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
    at com.huajun.disasterchain.HuaJunDisasterchainApplication.main(HuaJunDisasterchainApplication.java:24)
14:13:45.512 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Try to connect to server on start up, server: {serverIp = '127.0.0.1', server main port = 8848}
14:13:46.342 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Success to connect to server [127.0.0.1:8848] on start up, connectionId = 1652681625988_127.0.0.1_25653
14:13:46.343 [com.alibaba.nacos.client.remote.worker] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Notify connected event to listeners.
14:13:46.344 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
14:13:46.346 [main] INFO  c.a.n.c.r.client - [printIfInfoEnabled,60] - [4a52606d-c2a7-4837-a2bd-60ad00266a76_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$369/1430395789
14:13:46.509 [main] WARN  c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[huajun-disasterchain] & group[HUAJUN_GROUP]
14:13:46.521 [main] WARN  c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[huajun-disasterchain.yml] & group[HUAJUN_GROUP]
14:13:46.565 [main] INFO  c.h.d.HuaJunDisasterchainApplication - [logStartupProfileInfo,646] - The following 1 profile is active: "dev"
14:13:53.327 [main] ERROR o.s.b.SpringApplication - [reportFailure,830] - Application run failed
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'flowApiService' for bean class [com.huajun.disasterchain.service.FlowApiService] conflicts with existing, non-compatible bean definition of same name and class [com.huajun.disasterchain.service.impl.FlowApiServiceImpl]
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:349)
    at org.mybatis.spring.mapper.ClassPathMapperScanner.checkCandidate(ClassPathMapperScanner.java:256)
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:287)
    at org.mybatis.spring.mapper.ClassPathMapperScanner.doScan(ClassPathMapperScanner.java:181)
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.scan(ClassPathBeanDefinitionScanner.java:254)
    at org.mybatis.spring.mapper.MapperScannerConfigurer.postProcessBeanDefinitionRegistry(MapperScannerConfigurer.java:356)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:142)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
    at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:564)
    at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java:40002)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:41008)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
    at com.huajun.disasterchain.HuaJunDisasterchainApplication.main(HuaJunDisasterchainApplication.java:24)
14:13:53.334 [Thread-23] WARN  c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] - [HttpClientBeanHolder] Start destroying common HttpClient
14:13:53.335 [Thread-33] WARN  c.a.n.c.n.NotifyCenter - [shutdown,136] - [NotifyCenter] Start destroying Publisher
14:13:53.337 [Thread-33] WARN  c.a.n.c.n.NotifyCenter - [shutdown,153] - [NotifyCenter] Destruction of the end
Disconnected from the target VM, address: '127.0.0.1:25493', transport: 'socket'

Process finished with exit code 1



IEnvAccidentEffectService

 

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表