coderzc commented on code in PR #378:
URL:
https://github.com/apache/incubator-hugegraph-toolchain/pull/378#discussion_r1029307031
##########
hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/config/WebMvcConfig.java:
##########
@@ -43,7 +42,6 @@ public void addInterceptors(InterceptorRegistry registry) {
.addPathPatterns("/**");
}
- @Bean
Review Comment:
```
***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'customInterceptor', defined in class path resource
[org/apache/hugegraph/config/WebMvcConfig.class], could not be registered. A
bean with that name has already been defined in file
[/Users/zc/IdeaProjects/incubator-hugegraph-toolchain/hugegraph-hubble/hubble-be/target/classes/org/apache/hugegraph/handler/CustomInterceptor.class]
and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting
spring.main.allow-bean-definition-overriding=true
```
--
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]