We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境: jdk1.8 操作步骤 1、下载Nacos2.4.3源码,更改2.4.3-hb,mvn clean deploy到maven私服 2、套一个空的app,依赖maven坐标 com.alibaba.nacos nacos-console 2.4.3-hb ,编写main方法,调用Nacos.main(args) 3、所有配置mysql、cluster配好 4、启动报hession包冲突,(但我看了2.4.2已解决,且在极端情况下jdk17才会出现),以下是报错部分信息:
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.alibaba.nacos.consistency.serialize.NacosHessianSerializerFactory.<init>(NacosHessianSerializerFactory.java:60)
The following method did not exist:
com.caucho.hessian.io.SerializerFactory.getClassFactory()Lcom/caucho/hessian/io/ClassFactory;
The calling method's class, com.alibaba.nacos.consistency.serialize.NacosHessianSerializerFactory, was loaded from the following location:
jar:file:/workspace/AppNacos/lib/nacos-consistency-2.4.3-hb.jar!/com/alibaba/nacos/consistency/serialize/NacosHessianSerializerFactory.class
The called method's class, com.caucho.hessian.io.SerializerFactory, is available from the following locations:
jar:file:/workspace/AppNacos/lib/hessian-3.3.6.jar!/com/caucho/hessian/io/SerializerFactory.class jar:file:/workspace/AppNacos/lib/hessian-4.0.63.jar!/com/caucho/hessian/io/SerializerFactory.class
The called method's class hierarchy was loaded from the following locations:
com.caucho.hessian.io.SerializerFactory: file:/workspace/AppNacos/lib/hessian-3.3.6.jar com.caucho.hessian.io.AbstractSerializerFactory: file:/workspace/AppNacos/lib/hessian-3.3.6.jar
5、降低nacos版本到2.3.1,重复上述步骤依旧报错 6、尝试排除sofa下的hessian-3.3.6.jar,启动无报错,但8848本地telnet直接拒绝访问 7、退回到2.0.3版本重复上述步骤,正常,nacos集群自动化部署完毕。
期望用2.2.1+版本nacos服务,并接入公司自动化部署工具!期待大佬们的回复,谢谢! 疑问:hession冲突我这里启动必现,应该不是我deploy的问题?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
环境:
jdk1.8
操作步骤
1、下载Nacos2.4.3源码,更改2.4.3-hb,mvn clean deploy到maven私服
2、套一个空的app,依赖maven坐标
com.alibaba.nacos
nacos-console
2.4.3-hb
,编写main方法,调用Nacos.main(args)
3、所有配置mysql、cluster配好
4、启动报hession包冲突,(但我看了2.4.2已解决,且在极端情况下jdk17才会出现),以下是报错部分信息:
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, com.alibaba.nacos.consistency.serialize.NacosHessianSerializerFactory, was loaded from the following location:
The called method's class, com.caucho.hessian.io.SerializerFactory, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
5、降低nacos版本到2.3.1,重复上述步骤依旧报错
6、尝试排除sofa下的hessian-3.3.6.jar,启动无报错,但8848本地telnet直接拒绝访问
7、退回到2.0.3版本重复上述步骤,正常,nacos集群自动化部署完毕。
期望用2.2.1+版本nacos服务,并接入公司自动化部署工具!期待大佬们的回复,谢谢!
疑问:hession冲突我这里启动必现,应该不是我deploy的问题?
The text was updated successfully, but these errors were encountered: