gudehuang commented on issue #445:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/issues/445#issuecomment-1487850526

   > > ```java
   > >     @Bean
   > >     public HugeClient hugeClient() {
   > >         logger.info("huUrl:" + huUrl);
   > >         logger.info("huGraph:" + huGraph);
   > >         //HugeClient hugeClient = new HugeClient(huUrl, 
huGraph,username,password);
   > >         HugeClient hugeClient = HugeClient.builder(huUrl, huGraph)
   > >                 .configUser(username, password)
   > >                 .build();
   > >         return hugeClient;
   > > 
   > > 
   > > 
   > >     }
   > > ```
   > 
   > 跟 jdk 无关,估计可能跟 springboot 有关,可以 pom 中加下依赖试试
   > 
   > ```
   > <dependency>
   >      <groupId>org.glassfish.jersey.core</groupId>
   >      <artifactId>jersey-client</artifactId>
   >      <version>3.0.3</version>
   >    </dependency>
   > ```
   
   在springboot 2 中 加入该依赖,运行还是会报错.
   
   


-- 
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