dongma commented on issue #495:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/issues/495#issuecomment-1654890722

   环境:springboot 2.3.3.RELEASE,hugegraph-client 1.0.0,图库版本为1.0.0
   在pom.xml中移除fastjson及覆盖jersey、jakarta-ws-rs、jakarta-annotation的版本后,连接图库是正常的。
   Note:上文中提到的 hugegraph-common:1.0.1在maven仓库中没有此版本,实际上也不用排出。
   
   完整的pom.xml配置如下,有类似问题的同学可以参考:
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
       <modelVersion>4.0.0</modelVersion>
       <parent>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter-parent</artifactId>
           <version>2.3.3.RELEASE</version>
           <relativePath/> <!-- lookup parent from repository -->
       </parent>
       <groupId>org.apache.huge</groupId>
       <artifactId>hugegraph-usage</artifactId>
       <version>0.0.1-SNAPSHOT</version>
       <name>hugegraph-usage</name>
       <description>hugegraph-usage</description>
       <properties>
           <java.version>8</java.version>
           <hugegraph-client.version>1.0.0</hugegraph-client.version>
           <jersey.version>3.0.3</jersey.version>
           <jakarta-ws-rs.version>3.0.0</jakarta-ws-rs.version>
           <jakarta-annotation.version>2.0.0</jakarta-annotation.version>
       </properties>
       <dependencies>
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.hugegraph</groupId>
               <artifactId>hugegraph-client</artifactId>
               <version>${hugegraph-client.version}</version>
           </dependency>
       </dependencies>
   
       <build>
           <plugins>
               <plugin>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-maven-plugin</artifactId>
               </plugin>
           </plugins>
       </build>
   </project>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to