package me.jcala.blog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
<BUG>import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;</BUG>
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
<BUG>@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableCaching</BUG>
public class Application extends SpringBootServletInitializer {

package me.jcala.blog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableTransactionManagement// 开启注解事务管理，等同于xml配置文件中的<tx:annotation-driven/>
@EnableCaching
public class Application extends SpringBootServletInitializer {
