@SpringBootApplication
@EnableTransactionManagement  //添加事务管理需要的注解
@ServletComponentScan("com.chaojimanong.shop.web")  //扫描过滤器
@MapperScan("com.chaojimanong.shop.dao")  //扫描使用MyBatis的包
public class MainApplication {
  public static void main(String[] args) {
    SpringApplication.run(MainApplication.class, args);
  }
}

相关文章:

  • 2021-04-16
  • 2021-11-18
  • 2022-12-23
  • 2021-11-14
  • 2022-01-12
  • 2018-08-26
  • 2022-12-23
猜你喜欢
  • 2021-04-13
  • 2022-12-23
  • 2019-12-08
  • 2021-11-25
  • 2022-12-23
  • 2021-05-05
  • 2022-12-23
相关资源
相似解决方案