hakandilek / play2-crud

Simple CRUD & DAO implementation for play2
Other
142 stars 52 forks source link

CachedDAO problem #9

Closed pedronveloso closed 10 years ago

pedronveloso commented 11 years ago

Hi,

I'm trying to run the sample, and I'm running into this compile-time error:

! @6eaa0p04e - Internal server error, for (GET) [/] ->

sbt.PlayExceptions$CompilationException: Compilation error[error: package play.utils.cache does not exist] at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15$$anonfun$apply$16.apply(PlayReloader.scala:349) ~[na:na] at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15$$anonfun$apply$16.apply(PlayReloader.scala:349) ~[na:na] at scala.Option.map(Option.scala:133) ~[scala-library.jar:na] at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15.apply(PlayReloader.scala:349) ~[na:na] at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15.apply(PlayReloader.scala:346) ~[na:na] at scala.Option.map(Option.scala:133) ~[scala-library.jar:na]

hakandilek commented 11 years ago

Hi Pedro,

sample project does not have a direct reference to play.utils.cache. Can you give detailed information about your development environment? Java, Play versions, etc...

pedronveloso commented 11 years ago

@hakandilek I eventually just commented that out to solve the problem. Still I would like to help in any way I can, so here it is: Play version 2.1.1 (although when I tested this it was probably on 2.1.0) I code Play in Java, and use IntelliJ IDEA IDE to do it.

hakandilek commented 11 years ago

@pedronveloso which line is that? maybe I should fix that sample.

hakandilek commented 11 years ago

@pedronveloso could you please try it with the latest version? play.utils.cache is merged into play2-crud now.