Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以打包却无法运行 #2

Open
kirk0306 opened this issue Aug 27, 2020 · 1 comment
Open

可以打包却无法运行 #2

kirk0306 opened this issue Aug 27, 2020 · 1 comment

Comments

@kirk0306
Copy link

开发者你好,请问我可以编译打包,却无法运行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
`

@zjz6b6
Copy link
Member

zjz6b6 commented Aug 27, 2020

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

MySQL

redis

email sender

都需要配置成你的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants