Comments (13)
I had the same issue and upgraded the module so it works with Play 2.2.1. See https://github.com/vanniksoftware/play2-morphia-plugin
In your Build.scala
, use
"leodagdag" %% "play2-morphia-plugin" % "0.0.17"
as the dependency and add the following resolver
resolvers += "Vannik Software repository" at "http://vanniksoftware.github.io/repository/"
Let me know if that helps.
Cheers,
Mike
from play2-morphia-plugin.
Looks like Mike changed the personal page name. Use this:
resolvers += "Mike Nikles repository" at "http://mikenikles.github.io/repository/"
Kudos to Mike for the repo
from play2-morphia-plugin.
Omg... My apologies! You're right @cmoro-deusto, I did change my Github username and had to update the repository URL. Sorry for the inconvenience that caused!
from play2-morphia-plugin.
No problem at all @mikenikles Thanks a lot for your repo and the module upgrade! 👍
from play2-morphia-plugin.
Thanks Mike for the repo.
I'm upgrading one of my projects to Play 2.2.2.
I noticed that I couldn't connect if I used the db.seeds, db.name, db.username and db.password variables in my config file. I kept getting the following error:
play.api.UnexpectedException: Unexpected exception[RuntimeException: com.mongodb.CommandFailureException: { "serverUsed" : "xxx:xxxx" , "ok" : 0.0 , "errmsg" : "unauthorized"}]
Then I went though the source and noticed the mongoURI variable, which does work.
(e.g. morphia.db.mongoURI="mongodb://username:password@ipaddress:port/databasename")
from play2-morphia-plugin.
http://mikenikles.github.io/repository/ and http://vanniksoftware.github.io/repository/ both give me 404. :(
from play2-morphia-plugin.
@agnibha you just need to add resolvers
resolvers += "Mike Nikles repository" at "http://mikenikles.github.io/repository/"
and
"leodagdag" %% "play2-morphia-plugin" % "0.0.17"
That will lead sbt to the proper pom file at:
http://mikenikles.github.io/repository/leodagdag/play2-morphia-plugin_2.10/0.0.17/play2-morphia-plugin_2.10-0.0.17.pom
from play2-morphia-plugin.
Thanks @cmoro-deusto ! Works for me :)
from play2-morphia-plugin.
No prob @agnibha :)
from play2-morphia-plugin.
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] leodagdag:play2-morphia-plugin:0.0.17 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
[warn] ==== Mike Nikles repository: tried
[warn] http://mikenikles.github.io/repository/leodagdag/play2-morphia-plugin_2.10_0.13/0.0.17/play2-morphia-plugin-0.0.17.pom
from play2-morphia-plugin.
these things should be in readme. Library without good readme/documentation is like car without keys.
from play2-morphia-plugin.
Hi, I'm using play 2.3.8, I added this
resolvers += "Mike Nikles repository" at "http://mikenikles.github.io/repository/"
and this
"leodagdag" %% "play2-morphia-plugin" % "0.0.17"
but still getting the sbt.ResolveException: unresolved dependency: leodagdag#play2-morphia-plugin_2.11;0.0.17: not found
What I did wrong?
from play2-morphia-plugin.
hi guys,
i was able to make my Play! project run using the above mentioned procedures, but i have noticed that the version of Morphia being pulled by the plugin to my project is 0.105 instead of the latest 0.108
from play2-morphia-plugin.
Related Issues (18)
- play2-morphia-plugin blob related Error HOT 4
- Index does not seem to be initialised HOT 1
- UNRESOLVED DEPENDENCIES proxytoys HOT 4
- Compatibility with Play 2.0.4 and MorphiaPlugin 0.0.7 HOT 6
- Blob lost on update to the object HOT 1
- Plugin not compatible with Play 2.1
- How to install version 0.0.14 for Play 2.1? HOT 1
- play2-morphia-plugin .asList related Error HOT 1
- id as Long can't work
- Play 2.3.X
- Play 2.5.x
- play2-morphia-plugin boolean related Error HOT 7
- How to install it? HOT 2
- add support for mongodb credentials HOT 1
- Thanks for this important fix HOT 1
- A big issue about Finder HOT 1
- morphia-0.0.6 (doubt abut filter) 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 play2-morphia-plugin.