Comments (5)
from casbin-spring-boot-starter.
from casbin-spring-boot-starter.
@arti0798 Well, have you configured spring-data-redis in src/main/resources/application.yml? Such as:
spring:
redis:
host: your_host
port: your_port
Or you can show we your configuration here.
from casbin-spring-boot-starter.
@arti0798 Well, have you configured spring-data-redis in src/main/resources/application.yml? Such as:
spring: redis: host: your_host port: your_portOr you can show we your configuration here.
yeah!
redis:
host: localhost
port: 6379
from casbin-spring-boot-starter.
There is no project repository that can reproduce the problem. I cannot check the problem. I suspect that it is a connection problem with redis. We recommend that you try again after installing redis locally.
…
---Original--- From: "Arti @.> Date: Sat, Apr 3, 2021 00:08 AM To: @.>; Cc: @.***>; Subject: [jcasbin/casbin-spring-boot-starter] Redis Connection Failure (#40) Hey, there I m trying to run this application where it get over with this error 'ERROR 21647 --- [enerContainer-1] o.s.d.r.l.RedisMessageListenerContainer : Connection failure occurred. Restarting subscription task after 5000 ms' I have already tried with these combinations - plugins { id 'org.springframework.boot' version '2.3.5.RELEASE' id "com.jfrog.bintray" version "1.8.4" id 'java' } apply plugin: 'io.spring.dependency-management' apply from: "maven.gradle" apply from: "bintray.gradle" apply from: "jacoco.gradle" group = 'org.casbin' version VERSION_CODE sourceCompatibility = '1.8' compileJava.options.encoding = 'UTF-8' bootJar.enabled = false jar.enabled = true repositories { mavenLocal() maven { url "https://maven.aliyun.com/repository/public/" } mavenCentral() } configurations { compileOnly { extendsFrom annotationProcessor } } dependencies { compile 'org.casbin:jcasbin:1.6.4' compile 'com.h2database:h2' implementation 'org.springframework.boot:spring-boot-starter-jdbc' compileOnly 'org.springframework.boot:spring-boot-starter-data-redis' testImplementation 'org.springframework.boot:spring-boot-starter-data-redis' testRuntimeOnly 'mysql:mysql-connector-java:5.1.47' testImplementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.casbin:casbin-spring-boot-starter:version' // implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.2.0.RELEASE' // implementation 'redis.clients:jedis:2.8.0' // implementation group: org.springframework.boot // name: spring-boot-starter-data-redis // version: 2.4.0-M3 } But I m unable to run the application. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
okay! I will try again.
from casbin-spring-boot-starter.
Related Issues (20)
- JdbcAdapter will not load the policy from database in initial phase HOT 4
- The built-in Watcher doesn't support customized Redis channel, how to use the official Java's Redis-Watcher? HOT 5
- Replace jacsbin 1.9.2 in casbin-spring-boot-starter with version 1.21.0 HOT 4
- Support for policy subset loading HOT 2
- Fix CI error HOT 2
- H2 2.0.202 seems not work with default jdbcadapter HOT 3
- Replace built-in adapter and watcher with official jdbc-adapter and redis-watcher HOT 7
- WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils HOT 5
- 0.5.0 version cannot find Enforcer to inject HOT 1
- feature support for springboot3.0 HOT 1
- Watcher Jedis java.lang.NoSuchMethodError error HOT 6
- Casbin Starter Can't Use Dynamic Data Source HOT 3
- Release Casbin SpringBoot Starter v1.0.0 HOT 2
- [feature] Update dependencies to resolve Maven alerts HOT 2
- RedisWatcherAutoConfigration bug HOT 3
- unable to refresh roles for user HOT 3
- Could you add JDK information to the docs? HOT 3
- I want to add multiple sets of Casbin configurations. How should I write the code for this? HOT 3
- Dependency conflict + wrong tag for dependency jcasbin HOT 2
- Failed to release new Maven package 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 casbin-spring-boot-starter.