Comments (9)
@narakai
resources文件 右键设置文件类型 Mark Directory as ==> Resources ROOT
from vblog.
@narakai
看这个提示是数据问题。你从以下几方面来检查下:
1.数据库驱动是否加载到了
2.数据配置是否修改了
3.本地数据库是否可以正常访问
from vblog.
@narakai
我刚刚增加了数据库连接池,你重新clone再试下
from vblog.
刚试了下,还是报同样的错
我的datasource:数据库可以访问到
spring.datasource.url=jdbc:mysql://localhost:3306/vueblog?useUnicode=true&characterEncoding=UTF-8
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
mybatis.config-location=classpath:/mybatis-config.xml
server.port=8081
logging.level.org.springframework.security=info
from vblog.
@narakai
hello,哥们,你的问题解决了吗?
from vblog.
@lenve @zccccccc zccccccc这哥们的方法是对的,谢谢,搞了一天...
from vblog.
Eclipse的 :项目上右键选择properties,然后点击java build path,添加 source:add folder
把resources 文件夹添加为 资源目录。
from vblog.
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-02-01 15:27:48.014 ERROR 7188 --- [ 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.
发现是包有中文名导致的。改完后就遇到@narakai 哥们相同的问题,我的是eclipse,用的是@cqran 提供的方法,成功跑起来。感谢
from vblog.
无法修改 server.port 而且登录localhost:8080/index.html 需要输入用户名密码
from vblog.
Related Issues (20)
- 注册功能在哪里
- 启动和源码问题
- 演示平台挂掉了
- 挺不错 HOT 1
- 大佬,为什么使用默认的密码登录显示密码错误呢? HOT 1
- 登陆密码
- 登陆的时候不显示验证码图片.
- 没有数据库结构 HOT 1
- 修改文章时tags操作bug
- Hdnd
- sql呢,大佬能不能直接上传一波,不用自己写了 HOT 2
- 演示地址挂了? HOT 4
- blogserver已经运行,数据库也正常,但是无法显示登录页面,报错401登录超时
- 【项目自荐】: ❤️一个基于Springboot的个人博客
- 前后端分离报跨域错误 HOT 1
- npm install 报错的小伙伴看过来 HOT 13
- 登陆失败 HOT 3
- 注释 HOT 1
- VBlog <=May 15, 2020 version has arbitrary file upload vulnerability
- npm高版本10进行依赖安装时会提示code1错误 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vblog.