问题1.初始构造heima-leadnews-user这个模块 触发此bug
Command line is too long
解决办法:
问题2:构建网关模块启动时 报数据库错误
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
解决办法:在启动类直接排除这个类就好了 反正gateway不需要数据库
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)