Comments (5)
你添加了 @EnableCache
注解吗
from spring-boot-security-jwt-spa.
启动类上面添加了@EnableCaching 还是不行
from spring-boot-security-jwt-spa.
pom.xml
之类关于注解的依赖没有少吧,你在我的代码里面 ctrl + f 看看关于注解的配置项,你有没有少的。
from spring-boot-security-jwt-spa.
谢谢,我已经解决了无法注入的问题。我在application.properties里面加了一个配置
spring.cache.jcache.provider=org.ehcache.jsr107.EhcacheCachingProvider
from spring-boot-security-jwt-spa.
可以的😀
from spring-boot-security-jwt-spa.
Related Issues (7)
- 作者写的太棒啦!!!!!!!! HOT 1
- Demo中好像没有用到加密,也没有提供注册登录要怎么走? HOT 2
- token过期刷新token的问题,能提供下案例吗 HOT 1
- 关于string与GrantedAuthority collection之间的转换 HOT 2
- jwt生成token的问题 HOT 2
- 代码完全不能运行啊 HOT 1
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 spring-boot-security-jwt-spa.