user3215733
user3215733

Reputation:

Play not compiling the project

I created my play project successfully, but when i use play run its showing exception

[info] Loading project definition from H:\MyPlay\project
H:\MyPlay\build.sbt:8: error: ')' expected but eof found.
cache
   ^
[error] Error parsing expression.  Ensure that there are no blank lines within a
setting.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] Not a valid command: run
[error] run
[error]    ^

Help me please, thanks in advance

Upvotes: 0

Views: 848

Answers (1)

Ashish Ratan
Ashish Ratan

Reputation: 2870

Probably, You are using any whitespace or new line in your build.sbt file

libraryDependencies ++= Seq(
 jdbc,
 anorm,
  cache


 )

change it with

libraryDependencies ++= Seq(
 jdbc,
 anorm,
  cache  
  )     

this should solve your problem

Upvotes: 2

Related Questions