| | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | | import org.springframework.cache.annotation.EnableCaching; |
| | | import org.springframework.scheduling.annotation.EnableAsync; |
| | | |
| | | /** |
| | |
| | | * @author project |
| | | */ |
| | | @EnableAsync |
| | | @EnableCaching |
| | | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) |
| | | public class ProjectApplication |
| | | { |
| | | public static void main(String[] args) |
| | | { |
| | | // System.setProperty("spring.devtools.restart.enabled", "false"); |
| | | System.setProperty("spring.devtools.restart.enabled", "false"); |
| | | SpringApplication.run(ProjectApplication.class, args); |
| | | System.out.println(" ~~ 项目管理系统启动成功 ~~ "); |
| | | System.out.println(" ~~ 《沈丘扫码入企》系统启动成功 ~~ "); |
| | | } |
| | | } |