Morphia 与游戏 - 非常丑陋的问题
我已经安装了 Morphia 1.2.4b,并且已经安装了 1.2.3。
我想访问默认页面,但收到此错误:
Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError: com.mongodb.WriteConcern.valueOf(Ljava/lang/String;)Lcom/mongodb/WriteConcern;
play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:232)
at play.Invoker$Invocation.run(Invoker.java:273)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoSuchMethodError: com.mongodb.WriteConcern.valueOf(Ljava/lang/String;)Lcom/mongodb/WriteConcern;
at play.modules.morphia.MorphiaPlugin.configureDs_(MorphiaPlugin.java:574)
at play.modules.morphia.MorphiaPlugin.onApplicationStart(MorphiaPlugin.java:453)
at play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:425)
at play.Play.start(Play.java:495)
at play.Play.detectChanges(Play.java:599)
at play.Invoker$Invocation.init(Invoker.java:186)
... 1 more
我已经为此浪费了 2 个小时,而且没有找到任何解决方法。
你们能给我一个线索吗?
I've installed Morphia 1.2.4b and I have play 1.2.3.
I want to access default page but I receive this error:
Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError: com.mongodb.WriteConcern.valueOf(Ljava/lang/String;)Lcom/mongodb/WriteConcern;
play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:232)
at play.Invoker$Invocation.run(Invoker.java:273)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoSuchMethodError: com.mongodb.WriteConcern.valueOf(Ljava/lang/String;)Lcom/mongodb/WriteConcern;
at play.modules.morphia.MorphiaPlugin.configureDs_(MorphiaPlugin.java:574)
at play.modules.morphia.MorphiaPlugin.onApplicationStart(MorphiaPlugin.java:453)
at play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:425)
at play.Play.start(Play.java:495)
at play.Play.detectChanges(Play.java:599)
at play.Invoker$Invocation.init(Invoker.java:186)
... 1 more
I already lost 2 hours with this and I don't find any work-around.
Can you guys give me a clue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题已解决:
Issue solved: