Giter VIP home page Giter VIP logo

Comments (7)

johdah avatar johdah commented on August 15, 2024

Are you sure it isn't you that is using CachePlugin. I think CachePlugin was removed before 2.4.0 was released.

from play-plugins.

sunnykaka avatar sunnykaka commented on August 15, 2024

@johdah

I didn't use CachePlugin. But I found this in play-modules-redis_2.11:2.4.0

class RedisPlugin(app : play.api.Application) extends play.api.cache.CachePlugin {

from play-plugins.

jroper avatar jroper commented on August 15, 2024

@sunnykaka I don't think you did. Searching for the word CachePlugin in the redis GitHub repo returns zero results:

https://github.com/typesafehub/play-plugins/search?q=CachePlugin&type=Code&utf8=%E2%9C%93

You must have an older version of the RedisPlugin on your classpath, so I'm closing this issue. If you can find the line of code you paste above anywhere in the redis-2.4.0 tag of this repository:

https://github.com/typesafehub/play-plugins/tree/redis-2.4.0

Then I'll be happy to reopen.

from play-plugins.

sunnykaka avatar sunnykaka commented on August 15, 2024

Hi @jroper

You are right, CachePlugin was totally removed in the source code in github.

But it's still in the jar which was deployed to Maven Center Repository.

I downloaded a jar from http://search.maven.org/remotecontent?filepath=com/typesafe/play/modules/play-modules-redis_2.11/2.4.0/play-modules-redis_2.11-2.4.0.jar

I found CachePlugin still in the jar.
image

I think it's why the error occurred.
Maybe it's a deploy issue?

from play-plugins.

jroper avatar jroper commented on August 15, 2024

You're right, it is there, it's because I didn't do a clean build when I released it (usually the Scala incremental compiler takes care of issues like this, but not this time). We're going to release 2.4.1 soon, so that will fix the problem. In the meantime, the existence of that file shouldn't impact anything - if it is, it's because you have it referenced in a play.plugins file, which is no longer the way to use the redis plugin.

from play-plugins.

jroper avatar jroper commented on August 15, 2024

2.4.1 is released.

from play-plugins.

sunnykaka avatar sunnykaka commented on August 15, 2024

It works like a charm! Thanks.

from play-plugins.

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.