詹金斯升级后不工作2.3

时间:2015-02-26 09:21:14

标签: java jenkins playframework playframework-2.2 playframework-2.3

我最近升级到2.3,当我配置Jenkins时,我必须使用play 2.2.x这样设置它以便它起作用。

play.Project.playJavaSettings sbt.Keys.fork in Test := false parallelExecution in Test := false

在游戏2.3中我使用以下配置

lazy val root = (project in file(".")).enablePlugins(PlayJava).settings(
parallelExecution in Test := false,
fork in Test := false)

parallelExecution in Test := false

sbt.Keys.fork in Test := false

我尝试了很多变化,但我无法让它工作,测试在本地运行良好,但不是jenkins异常总是

>     [warn] play -  Error stopping plugin java.lang.NullPointerException: null     at
> play.libs.ws.ning.NingWSPlugin.onStop(NingWSPlugin.java:31)
> ~[play-java-ws_2.10-2.3.8.jar:2.3.8]  at
> play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:108)
> [play_2.10-2.3.8.jar:2.3.8]   at
> play.api.Play$$anonfun$stop$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$2.apply(Play.scala:107)
> [play_2.10-2.3.8.jar:2.3.8]   at
> scala.collection.immutable.List.foreach(List.scala:318)
> [scala-library.jar:0.13.7]    at
> play.api.Play$$anonfun$stop$1$$anonfun$apply$1.apply$mcV$sp(Play.scala:107)
> [play_2.10-2.3.8.jar:2.3.8] [warn] play -  Error stopping plugin
> play.api.Configuration$$anon$1: Configuration error[Missing
> configuration [db.default.driver]]    at
> play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:94)
> ~[play_2.10-2.3.8.jar:2.3.8]  at
> play.api.Configuration.reportError(Configuration.scala:743)
> ~[play_2.10-2.3.8.jar:2.3.8]  at
> play.api.db.BoneCPApi.play$api$db$BoneCPApi$$error(DB.scala:271)
> ~[play-jdbc_2.10-2.3.8.jar:2.3.8]     at
> play.api.db.BoneCPApi$$anonfun$3.apply(DB.scala:298)
> ~[play-jdbc_2.10-2.3.8.jar:2.3.8]     at
> play.api.db.BoneCPApi$$anonfun$3.apply(DB.scala:298)
> ~[play-jdbc_2.10-2.3.8.jar:2.3.8]

请帮忙。

0 个答案:

没有答案