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

我clone你的项目 貌似无法运行,能看看吗 #12

Closed
zhangran2616 opened this issue Jun 20, 2018 · 7 comments
Closed

我clone你的项目 貌似无法运行,能看看吗 #12

zhangran2616 opened this issue Jun 20, 2018 · 7 comments

Comments

@zhangran2616
Copy link

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-06-20 12:52:49.241 ERROR 16436 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Field userMapper in org.sang.service.UserService required a bean of type 'org.sang.mapper.UserMapper' that could not be found.

Action:

Consider defining a bean of type 'org.sang.mapper.UserMapper' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:50904', transport: 'socket'

Process finished with exit code 1

@kun910202
Copy link

同求,我的错误是这样
Description:

Cannot determine embedded database driver class for database type NONE

Action:

If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

@zhangran2616
Copy link
Author

我也有这样的错误,
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
就没有了

@Jesse-so-cool
Copy link

没有DataSourceAutoConfiguration这个类 @zhangran2616

@yaosy1997
Copy link

yaosy1997 commented Jul 1, 2018

resources文件夹右击 mark directory as resources root @kun910202

@lenve
Copy link
Owner

lenve commented Aug 23, 2018

#1

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

No branches or pull requests

6 participants
@lenve @zhangran2616 @kun910202 @Jesse-so-cool @yaosy1997 and others