Skip to content
New issue

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

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

Open
1 task done
hutlearner opened this issue May 17, 2023 · 5 comments
Open
1 task done
Assignees
Labels
client hugegraph-client dependencies Pull requests that update a dependency file

Comments

@hutlearner
Copy link

Problem Type (问题类型)

exception / error (异常报错)

Before submit

  • 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

@imbajin
Copy link
Member

imbajin commented May 17, 2023

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 imbajin added dependencies Pull requests that update a dependency file client hugegraph-client labels May 17, 2023
@hutlearner
Copy link
Author

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

@imbajin
Copy link
Member

imbajin commented May 17, 2023

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

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

@baobao-sudo
Copy link

baobao-sudo commented Jul 19, 2023

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

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

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

@imbajin imbajin assigned z7658329 and unassigned zyxxoo Jul 19, 2023
@imbajin imbajin moved this to 🏗 In progress in HugeGraph Tasks Jul 19, 2023
@z7658329
Copy link
Member

@hutlearner please refer 495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client hugegraph-client dependencies Pull requests that update a dependency file
Projects
Status: 🏗 In progress
Development

No branches or pull requests

5 participants