文件名从 service-web/src/main/java/com/fzzy/IbmsApplication.java 修改 |
| | |
| | | import org.springframework.boot.web.servlet.ServletRegistrationBean; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.ComponentScan; |
| | | import org.springframework.context.annotation.ImportResource; |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.Set; |
| | |
| | | */ |
| | | @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) |
| | | @ComponentScan(basePackages = {"com.fzzy", "com.ruoyi"}) |
| | | public class IbmsApplication { |
| | | public class ServiceApplication { |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | |
| | | |
| | | System.setProperty("doradoHome", "classpath:dorado-home/"); |
| | | |
| | | SpringApplication app = new SpringApplication(IbmsApplication.class); |
| | | SpringApplication app = new SpringApplication(ServiceApplication.class); |
| | | |
| | | try { |
| | | app.addInitializers(new DoradoApplicationContextInilializer()); |