incubator-hugegraph-toolchain icon indicating copy to clipboard operation
incubator-hugegraph-toolchain copied to clipboard

[Question] 新发布的1.0.0hugeclient 是不是不支持springboot2

Open hutlearner opened this issue 2 years ago • 5 comments

Problem Type (问题类型)

exception / error (异常报错)

Before submit

  • [X] I had searched in the issues and found no similar issues.

Environment (环境信息)

  • Server Version: 1.0.0
  • Toolchain Version: 1.0.0

Your Question (问题描述)

jdk8 springboot2.X 引用hugegraph-client1.0.0 运行报错java.lang.ClassNotFoundException: jakarta.ws.rs.ProcessingException

我看到有人提交过这个问题,他升级到springboot3解决了这个问题,但是我的项目无法升级到3,工程太大了。还有没有其他的解决方案。

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

hutlearner avatar May 17 '23 07:05 hutlearner

Seems could run with springboot2 when huge-client use huge-commons 1.0.1 #453 (but u need config a stage repo in your local settings.xml for maven to get the huge-common 1.0.1)

And we will also upgrade it in next client version

imbajin avatar May 17 '23 07:05 imbajin

以前的旧版2.0.1适配springboot2.X吗,如果适配,我可以先降级,等后面新版本解决了这个问题再升级

hutlearner avatar May 17 '23 08:05 hutlearner

以前的旧版 2.0.1 适配 springboot2.X 吗,如果适配,我可以先降级,等后面新版本解决了这个问题再升级

@z7658329 之前的可以, 根因应该是升级 common 导致的, 其实最简单的办法就是换一下 common 到 1.0.1 就可以解决了. 重新编译一下 client 就行 (旧版包名之类的不一致)

imbajin avatar May 17 '23 08:05 imbajin

以前的旧版 2.0.1 适配 springboot2.X 吗,如果适配,我可以先降级,等后面新版本解决了这个问题再升级

@z7658329 之前的可以, 根因应该是升级 common 导致的, 其实最简单的办法就是换一下 common 到 1.0.1 就可以解决了. 重新编译一下 client 就行 (旧版包名之类的不一致)

@z7658329 想问下我就是把common包升级了,还是报同样的错,是从stage的仓库下载的上传到私服 image

baobao-sudo avatar Jul 19 '23 08:07 baobao-sudo

@hutlearner please refer 495

z7658329 avatar Jul 31 '23 03:07 z7658329