Git Product home page Git Product logo

Comments (7)

pk11 avatar pk11 commented on August 24, 2024

looks like you have two play jars on your classpath. Can you figure out what's bringing in the 2nd jar?

from play-plugins.

pk11 avatar pk11 commented on August 24, 2024

http://repo.typesafe.com/typesafe/releases/com/typesafe/play-plugins-mailer_2.9.1/2.0.4/play-plugins-mailer_2.9.1-2.0.4.pom (notice that play jar is defined as provided)

from play-plugins.

keyboardsamurai avatar keyboardsamurai commented on August 24, 2024

Good catch. Searching for the duplicates in the classpath led me to believe that there is something wrong with the "play idea" command. "play eclipsify" seems to work even if I add the plugin. Why would the mailer plugin be the only plugin I could find, that triggers this bug in the idea project generator though?

from play-plugins.

keyboardsamurai avatar keyboardsamurai commented on August 24, 2024

I can't find a duplicate play_2.9.1.jar file in the .idea/libraries descriptors and the dependency list doesn't show any duplicates either.

from play-plugins.

pk11 avatar pk11 commented on August 24, 2024

unfortunately I can not replicate this issue. You usually see this error message if you have two play jars on your classpath (and therefore two play.plugins files). Since the plugin is not brining in any play jars, i can not see how this can be related to the plugin

from play-plugins.

keyboardsamurai avatar keyboardsamurai commented on August 24, 2024

Thank you Peter, for pointing me in the right direction. The play.plugins file is on the classpath twice because both play_2.9.1.jar and play_2.9.1-sources.jar are included into the dependencies when "play idea" is executed. For some reason the play.plugins within play_2.9.1-sources.jar gets picked up and causes havoc. If I remove play_2.9.1-sources.jar from the path everything is fine.

Removing the plugin from Build.scala and re-generating the idea descriptors removes the sources. That doesn't seem right either. Any suggestion what should be done about this? I guess this will trip up quite a few people.

from play-plugins.

pk11 avatar pk11 commented on August 24, 2024

That's good to know! I will look into how to get rid of that file from the XXXsources.jar

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.