nacos 启动报错 Error creating bean with name ‘instanceOperatorClientImpl‘ defined in URL 无法创建bean

时间:2025-04-05 08:46:14
: Error creating bean with name 'instanceOperatorClientImpl' defined in URL [jar:file:/Users/hobo/Documents/nacos/target/!/BOOT-INF/lib/nacos-naming-2.0.!/com/alibaba/nacos/naming/core/]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is : Error creating bean with name 'clientOperationServiceProxy' defined in URL [jar:file:/Users/hobo/Documents/nacos/target/!/BOOT-INF/lib/nacos-naming-2.0.!/com/alibaba/nacos/naming/core/v2/service/]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is : Error creating bean with name 'persistentClientOperationServiceImpl' defined in URL [jar:file:/Users/hobo/Documents/nacos/target/!/BOOT-INF/lib/nacos-naming-2.0.!/com/alibaba/nacos/naming/core/v2/service/impl/]: Bean instantiation via constructor failed; nested exception is : Failed to instantiate [.]: Constructor threw exception; nested exception is : /private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: dlopen(/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/, 1): no suitable image found. Did find:
/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: mach-o, but wrong architecture
/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: mach-o, but wrong architecture
at (:769)
at (:218)
at (:1338)
at (:1185)
at (:554)
at (:514)
at $doGetBean$0(:321)
at (:234)
at (:319)
at (:199)
at (:866)
at (:878)
at (:550)
at (:141)
at (:744)
at (:391)
at (:312)
at (:1215)
at (:1204)
at (:35)
at .invoke0(Native Method)
at (:62)
at (:43)
at (:498)
at (:49)
at (:107)
at (:58)
at (:467)
Caused by: : Error creating bean with name 'clientOperationServiceProxy' defined in URL [jar:file:/Users/hobo/Documents/nacos/target/!/BOOT-INF/lib/nacos-naming-2.0.!/com/alibaba/nacos/naming/core/v2/service/]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is : Error creating bean with name 'persistentClientOperationServiceImpl' defined in URL [jar:file:/Users/hobo/Documents/nacos/target/!/BOOT-INF/lib/nacos-naming-2.0.!/com/alibaba/nacos/naming/core/v2/service/impl/]: Bean instantiation via constructor failed; nested exception is : Failed to instantiate [.]: Constructor threw exception; nested exception is : /private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: dlopen(/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/, 1): no suitable image found. Did find:
/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: mach-o, but wrong architecture
/private/var/folders/dv/m82y6_9d6r1b_qt2dr62yh8c0000gn/T/: mach-o, but wrong architecture
at (:769)
at (:218)
at (:1338)
at (:1185)
at (:554)
at (:514)
at $doGetBean$0(:321)
at (:234)
at (:319)
at (:199)
at (:277)
at (:1276)
at (:1196)
at (:857)
at (:760)
... 27 common frames omitted