Commit 0c7e2603a9805b0ad184cfeff8a8d29408262e6b
1 parent
98db5cc7
调整注释说明
Showing
1 changed file
with
3 additions
and
5 deletions
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgSystemApplication.java
... | ... | @@ -15,14 +15,12 @@ import java.net.InetAddress; |
15 | 15 | import java.net.UnknownHostException; |
16 | 16 | |
17 | 17 | /** |
18 | -* 单体启动类(采用此类启动为单体模式) | |
19 | -* 特别提醒: | |
20 | -* 1.需要集成mongodb请删除 exclude={MongoAutoConfiguration.class} | |
21 | -* 2.切换微服务 勾选profile的SpringCloud,这个类就无法启动,启动会报错 | |
18 | +* 单体启动类 | |
19 | +* 报错提醒: 未集成mongo报错,可以打开启动类上面的注释 exclude={MongoAutoConfiguration.class} | |
22 | 20 | */ |
23 | 21 | @Slf4j |
24 | 22 | @SpringBootApplication |
25 | -@EnableAutoConfiguration(exclude={MongoAutoConfiguration.class}) | |
23 | +//@EnableAutoConfiguration(exclude={MongoAutoConfiguration.class}) | |
26 | 24 | public class JeecgSystemApplication extends SpringBootServletInitializer { |
27 | 25 | |
28 | 26 | @Override |
... | ... |