Application.java 960 B

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