diff --git a/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/conf/EurekaClientCacheManualRefresher.java b/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/conf/EurekaClientCacheManualRefresher.java index 4473ceffe0..48d0a0dc45 100644 --- a/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/conf/EurekaClientCacheManualRefresher.java +++ b/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/conf/EurekaClientCacheManualRefresher.java @@ -17,7 +17,7 @@ package org.apache.linkis.rpc.conf; -import org.apache.commons.lang.exception.ExceptionUtils; +import org.apache.commons.lang3.exception.ExceptionUtils; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.annotation.Autowired; diff --git a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-core/src/main/scala/org/apache/linkis/gateway/config/GatewaySpringConfiguration.scala b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-core/src/main/scala/org/apache/linkis/gateway/config/GatewaySpringConfiguration.scala index 52f4d51081..2c57084278 100644 --- a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-core/src/main/scala/org/apache/linkis/gateway/config/GatewaySpringConfiguration.scala +++ b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-core/src/main/scala/org/apache/linkis/gateway/config/GatewaySpringConfiguration.scala @@ -48,16 +48,6 @@ class GatewaySpringConfiguration { TokenAuthentication.setTokenService(tokenService) } - // @Bean(Array("defaultGatewayParser")) - // @ConditionalOnMissingBean - // @Autowired(required = false) - // def createGatewayParser(gatewayParsers: Array[GatewayParser]): DefaultGatewayParser = - // new DefaultGatewayParser(gatewayParsers) - // - // @Bean(Array("defaultGatewayRouter")) - // @ConditionalOnMissingBean - // def createGatewayRouter(): DefaultGatewayParser = new DefaultGatewayRouter - @Bean(Array("userRestful")) @ConditionalOnMissingBean @Autowired(required = false)