Unexpected exception IllegalArgumentException: requirement failed sourceMapper parameter is no longer supported by createContext

java

(Manoj) #1

When I try to add my own nexus dependencies I am getting this error

I am able to compile the project when the run time I am getting this error

Example:
//resolvers += “Nexus” at “http://tools-nexus.aws.XXXX.local/repository/phenom-integration/

//libraryDependencies += “com.XXXX.integration.transform.domain” % “integration-transform-domain” % “1.0.0-SNAPSHOT”

[error] application -

! @7aj7ngdd7 - Internal server error, for (GET) [/refreshATSFieldsConfig?atsName=bullhorn&atsVersion=1.0&serviceNodeId=getBullHornAccessToken] ->

play.api.UnexpectedException: Unexpected exception[IllegalArgumentException: requirement failed: sourceMapper parameter is no longer supported by createContext; use create method’s devContext parameter instead]
at play.core.server.DevServerStart$$anon$1.reload(DevServerStart.scala:186)
at play.core.server.DevServerStart$$anon$1.get(DevServerStart.scala:124)
at play.core.server.AkkaHttpServer.handleRequest(AkkaHttpServer.scala:202)
at play.core.server.AkkaHttpServer.$anonfun$createServerBinding$1(AkkaHttpServer.scala:117)
at akka.stream.impl.fusing.MapAsyncUnordered$$anon$26.onPush(Ops.scala:1304)
at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:519)
at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:482)

If I give the direct path of that jar in the same nexus it working

FYI : libraryDependencies += “com.XXX.integration.transform.domain” % “integration-transform-domain” % “1.0.0-SNAPSHOT” from “http://tools-nexus.aws.XXXX.local/repository/XXXX-integration-snapshots/com/XXXX/integration/transform/domain/integration-transform-domain/1.0.0-SNAPSHOT/integration-transform-domain-1.0.0-20190119.073702-2.jar

Please help me in this i am using play 2.6.X

Thanks in advance


(Tim Moore) #2

It looks like those are different repository URLs, so my first guess would be that it’s picking up different snapshot versions of the integration-transform-domain JAR.