Giter Site home page Giter Site logo

Comments (5)

hsluoyz avatar hsluoyz commented on May 18, 2024

@shy1st @fangzhengjin

from casbin-spring-boot-starter.

fangzhengjin avatar fangzhengjin commented on May 18, 2024

from casbin-spring-boot-starter.

shink avatar shink commented on May 18, 2024

@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 avatar arti0798 commented on May 18, 2024

@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.

yeah!

redis:
host: localhost
port: 6379

from casbin-spring-boot-starter.

arti0798 avatar arti0798 commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.