conch-geo icon indicating copy to clipboard operation
conch-geo copied to clipboard

可以打包却无法运行

Open kirk0306 opened this issue 5 years ago • 1 comments

开发者你好,请问我可以编译打包,却无法运行jar文件是怎么回事?试了谷歌上的解决方案都不行,我是先装的Beihu-Boot1.0.3再编译的beihu-geo。

`Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-08-27 13:48:18.803 ERROR 1352 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

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).

Process finished with exit code 1 `

kirk0306 avatar Aug 27 '20 04:08 kirk0306

错误显示你没有配置数据库 配置文件里面的

MySQL

redis

email sender

都需要配置成你的

zjz6b6 avatar Aug 27 '20 05:08 zjz6b6