Application.java 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. package com.tzld.longarticle.recommend.server;
  2. // import com.tzld.piaoquan.recommend.feature.client.FeatureClient;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration;
  6. import org.springframework.context.annotation.ComponentScan;
  7. import org.springframework.context.annotation.EnableAspectJAutoProxy;
  8. /**
  9. * https://github.com/grpc-swagger/grpc-swagger/blob/master/README_CN.md
  10. */
  11. @SpringBootApplication(exclude = {
  12. RedisReactiveAutoConfiguration.class
  13. })
  14. @ComponentScan({
  15. "com.tzld.longarticle.recommend.server.service",
  16. "com.tzld.longarticle.recommend.server.remote",
  17. "com.tzld.longarticle.recommend.server.config",
  18. "com.tzld.longarticle.recommend.server.web",
  19. })
  20. @EnableAspectJAutoProxy
  21. public class Application {
  22. public static void main(String[] args) {
  23. SpringApplication.run(Application.class, args);
  24. }
  25. }