2023-03-04 16:29:55 +08:00
|
|
|
package com.jsowell;
|
|
|
|
|
|
2025-06-16 16:59:22 +08:00
|
|
|
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
|
2023-03-04 16:29:55 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 启动程序
|
|
|
|
|
*
|
|
|
|
|
* @author jsowell
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
2025-06-16 16:59:22 +08:00
|
|
|
@EnableDubbo
|
2023-03-04 16:29:55 +08:00
|
|
|
public class JsowellApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
|
|
SpringApplication.run(JsowellApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|