scala - java.lang.ClassNotFoundException: play.core.server.NettyServer when more play libraries are added to build.sbt -


I am new to Scala, SBT and Play, so please take it as a noob quest. I'm making an example to play an application for competition, and started with a responsive-stock app as a template. To expand on my functionality, I need to add security, JDBC connections and more.

This template is the original build.sbt file given in -

  scalaVersion: = "2.11.1" Library Deprecations ++ = Seek (YES, // Place Web Service Module "Comm. TipePack.com" %% "Perfect-Actor"% "2.3.4", "Comm. TipePacka" %% "Akka -slf4j"% "2.3.4", "org.webjars"% "Bootstrap "%" 2.3.1 "," org.webjars "%" float "%" 0.8.0 "," com.typesafe.akka "%%" Akk-testkit "%" 2.3.4 "%" exam ") < / Code> 

On this I added "com.typesafe.play"% "anorm_2.11"% "2.4.0 -M1", just after the slf4j dependency in the list and the application no Calculus and able to run

Now if I "com.typesafe.play"% "filter-helpers_2.11"% "2.4.0-M1" or "com.typesafe.play"% "play-jdbc_2.11"% "2.4.0-M1", with the Drama app message the catalyst fails to compile in the web UI "(echo: run) java.lang.ClassNotFoundException: play.core.server.NettyServer".

Native Server C Girl is definitely in class then what is the problem?

I am using JDK 8. The unsuccessful configuration is

  scalaVersion: = "2.11.1" LibraryDePresence ++ = Seek (ws, / / ​​Play's Web service module "com.typesafe.akka"% "Ok- Actor "%" 2.3.4 "," ComTypeKacque "%%" Akke Slough 4J "%" 2.3.4 "," Organization Webagers "%" Bootstrap "%" 2.3.1 "," org.webjars " % "Float"% "0.8.0", "com.typesafe.akka" %% "akka-testkit"% "2.3.4"% "test", "com.typesafe.play"% "anorm_2.11"% "2.4.0-M1", "com.typesafe.play"% "Filter-helpers_2.11"% "2.4.0-M1", "Com.typesafe.play"% "play-jdbc_2.11"% " 2.4.0-M1 ")  

log

  with reapplying settings ... to the current project Set in Reactive-Stocks (Build File: / D: / Miura / Reactive-Stock / In) ... Restore Settings ... Current Project is Reactiv-Stocks (Build File: / D: / Miura / Reactive -stocks /) settings re-apply ... Set up existing project in responsive-stock (current file: / d: / Miura / responsive-stock /) ... re-implementing settings ... current project Set up for reactive e-stock (in build file: / D: / Miura / responsive-stock /) Working ... Cancel: sbt.TaskCancellationStrategy$Null$@571cf19b, Check cycle: false play. Core.server.NettyServer (echo: run) Java.lang.ClassNotFoundException: complete the play.core.server.NettyServer run.  

As it has been answered, this problem is done by including the Play Library versions Was due to Stock template is for 2.3.3 but the library I was trying to add is for 2.4.

/ Html>

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -