Commit 03553a6c authored by Quxl's avatar Quxl

x

parent f00d9350
package com.egolm.film;
import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import com.egolm.film.config.ExceptionHandler;
@EnableCaching
@SpringBootApplication
@EnableTransactionManagement
public class FilmApplication {
public class MVApplication {
private static final Logger logger = Logger.getLogger(ExceptionHandler.class);
private static ApplicationContext applicationContext;
public static void main(String[] args) {
applicationContext = SpringApplication.run(FilmApplication.class, args);
logger.info("MVApplication start");
applicationContext = SpringApplication.run(MVApplication.class, args);
}
public static ApplicationContext getApplicationContext() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment