When I try to run marathon 1.3.1 with this plugin, it always gave the error of not being able to find the method of play.api.libs.json.JsLookup.
[2016-10-07 09:50:02,240] ERROR Terminating due to uncaught exception in thread main:1 (mesosphere.marathon.Main$:main)
com.google.inject.CreationException: Guice creation errors:
1) Error injecting constructor, java.lang.NoSuchMethodError: play.api.libs.json.JsLookup$.$bslash$extension(Lplay/api/libs/json/JsLookupResult
;Ljava/lang/String;)Lplay/api/libs/json/JsLookupResult;
at mesosphere.marathon.core.CoreModuleImpl.<init>(CoreModuleImpl.scala:46)
while locating mesosphere.marathon.core.CoreModuleImpl
at mesosphere.marathon.core.CoreGuiceModule.configure(CoreGuiceModule.scala:144)
while locating mesosphere.marathon.core.CoreModule
at mesosphere.marathon.core.CoreGuiceModule.taskTracker(CoreGuiceModule.scala:46)
at mesosphere.marathon.core.CoreGuiceModule.taskTracker(CoreGuiceModule.scala:46)
while locating mesosphere.marathon.core.task.tracker.TaskTracker
for parameter 2 at mesosphere.marathon.core.task.update.impl.TaskStatusUpdateProcessorImpl.<init>(TaskStatusUpdateProcessorImpl.scala:27)
while locating mesosphere.marathon.core.task.update.impl.TaskStatusUpdateProcessorImpl
at mesosphere.marathon.core.CoreGuiceModule.configure(CoreGuiceModule.scala:147)
while locating mesosphere.marathon.core.task.update.TaskStatusUpdateProcessor annotated with @com.google.inject.name.Named(value=ThrottlingT
askStatusUpdateProcessor)
Caused by: java.lang.NoSuchMethodError: play.api.libs.json.JsLookup$.$bslash$extension(Lplay/api/libs/json/JsLookupResult;Ljava/lang/String;)L
play/api/libs/json/JsLookupResult;
at mesosphere.marathon.example.plugin.auth.ExampleAuthenticator.initialize(ExampleAuthenticator.scala:48)
at mesosphere.marathon.core.plugin.impl.PluginManagerImpl.mesosphere$marathon$core$plugin$impl$PluginManagerImpl$$configure$1(PluginMa
nagerImpl.scala:39)
However, the compiled plugin jar indeed contains the method:
When I try to run marathon 1.3.1 with this plugin, it always gave the error of not being able to find the method of
play.api.libs.json.JsLookup
.However, the compiled plugin jar indeed contains the method:
I have tried many versions of play-json from 2.4.1 to 2.5.8. It won't work.
Any ideas?