Ebean Integration in Intellij

Hello There,

 

I am Trying to integrate Ebean in an Play Framework 2.5.x Project with Intellij since two days. I followed exactly the steps from the Play Framework site for ebean. Unfortenatly no matter what i do i always get an error as followed:

[info] Loading project definition from C:\Users\Dexter66\Desktop\Uebungsprojekte_Play\10.3.18_play_example\templating\project
[debug] [naha]
[debug] [naha] Initial source changes:
[debug] [naha] removed:Set()
[debug] [naha] added: Set()
[debug] [naha] modified: Set()
[debug] [naha] Invalidated products: Set()
[debug] [naha] External API changes: API Changes: Set()
[debug] [naha] Modified binary dependencies: Set()
[debug] [naha] Initial directly invalidated sources: Set()
[debug] [naha]
[debug] [naha] Sources indirectly invalidated by:
[debug] [naha] product: Set()
[debug] [naha] binary dep: Set()
[debug] [naha] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
[debug] Forcing garbage collection...
[debug] Load.loadUnit: plugins took 7816.835559 ms
[debug] Load.loadUnit: defsScala took 0.002821 ms
[debug] [Loading] Scanning directory C:\Users\Dexter66\Desktop\Uebungsprojekte_Play\10.3.18_play_example\templating
[debug] Load.loadUnit: mkEval took 0.306777 ms
[debug] Type error in expression
[debug] at sbt.compiler.Eval.checkError(Eval.scala:384)
[debug] at sbt.compiler.Eval.compileAndLoad(Eval.scala:183)
[debug] at sbt.compiler.Eval.evalCommon(Eval.scala:152)
[debug] at sbt.compiler.Eval.evalDefinitions(Eval.scala:122)
[debug] at sbt.EvaluateConfigurations$.evaluateDefinitions(EvaluateConfigurations.scala:271)
[debug] at sbt.EvaluateConfigurations$.evaluateSbtFile(EvaluateConfigurations.scala:109)
[debug] at sbt.Load$.sbt$Load$$loadSettingsFile$1(Load.scala:775)
[debug] at sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:781)
[debug] at sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:780)
[debug] at scala.collection.MapLike$class.getOrElse(MapLike.scala:128)
[debug] at scala.collection.AbstractMap.getOrElse(Map.scala:58)
[debug] at sbt.Load$.sbt$Load$$memoLoadSettingsFile$1(Load.scala:780)
[debug] at sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:788)
[debug] at sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:788)
[debug] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[debug] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[debug] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[debug] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
[debug] at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
[debug] at scala.collection.AbstractTraversable.map(Traversable.scala:105)
[debug] at sbt.Load$.loadFiles$1(Load.scala:788)
[debug] at sbt.Load$.discoverProjects(Load.scala:799)
[debug] at sbt.Load$.discover$1(Load.scala:585)
[debug] at sbt.Load$.sbt$Load$$loadTransitive(Load.scala:633)
[debug] at sbt.Load$$anonfun$loadUnit$1.sbt$Load$$anonfun$$loadProjects$1(Load.scala:482)
[debug] at sbt.Load$$anonfun$loadUnit$1$$anonfun$40.apply(Load.scala:485)
[debug] at sbt.Load$$anonfun$loadUnit$1$$anonfun$40.apply(Load.scala:485)
[debug] at sbt.Load$.timed(Load.scala:1025)
[debug] at sbt.Load$$anonfun$loadUnit$1.apply(Load.scala:485)
[debug] at sbt.Load$$anonfun$loadUnit$1.apply(Load.scala:459)
[debug] at sbt.Load$.timed(Load.scala:1025)
[debug] at sbt.Load$.loadUnit(Load.scala:459)
[debug] at sbt.Load$$anonfun$25$$anonfun$apply$14.apply(Load.scala:311)
[debug] at sbt.Load$$anonfun$25$$anonfun$apply$14.apply(Load.scala:310)
[debug] at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
[debug] at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
[debug] at sbt.BuildLoader.apply(BuildLoader.scala:140)
[debug] at sbt.Load$.loadAll(Load.scala:365)
[debug] at sbt.Load$.loadURI(Load.scala:320)
[debug] at sbt.Load$.load(Load.scala:316)
[debug] at sbt.Load$.load(Load.scala:305)
[debug] at sbt.Load$$anonfun$4.apply(Load.scala:146)
[debug] at sbt.Load$$anonfun$4.apply(Load.scala:146)
[debug] at sbt.Load$.timed(Load.scala:1025)
[debug] at sbt.Load$.apply(Load.scala:146)
[debug] at sbt.Load$.defaultLoad(Load.scala:39)
[debug] at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:496)
[debug] at sbt.BuiltinCommands$.doLoadProject(Main.scala:496)
[debug] at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:488)
[debug] at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:488)
[debug] at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
[debug] at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
[debug] at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
[debug] at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
[debug] at sbt.Command$.process(Command.scala:93)
[debug] at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
[debug] at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
[debug] at sbt.State$$anon$1.process(State.scala:184)
[debug] at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
[debug] at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
[debug] at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
[debug] at sbt.MainLoop$.next(MainLoop.scala:96)
[debug] at sbt.MainLoop$.run(MainLoop.scala:89)
[debug] at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
[debug] at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
[debug] at sbt.Using.apply(Using.scala:24)
[debug] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
[debug] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
[debug] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
[debug] at sbt.MainLoop$.runLogged(MainLoop.scala:22)
[debug] at sbt.StandardMain$.runManaged(Main.scala:57)
[debug] at sbt.xMain.run(Main.scala:29)
[debug] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[debug] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[debug] at xsbt.boot.Launch$.run(Launch.scala:109)
[debug] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[debug] at xsbt.boot.Launch$.launch(Launch.scala:117)
[debug] at xsbt.boot.Launch$.apply(Launch.scala:18)
[debug] at xsbt.boot.Boot$.runImpl(Boot.scala:41)
[debug] at xsbt.boot.Boot$.main(Boot.scala:17)
[debug] at xsbt.boot.Boot.main(Boot.scala)
sbt.compiler.EvalException: Type error in expression
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
[debug] > load-failed

 

 

0

Do you also get this error when using sbt only from the command line? If so, you are more likely to get help from StackOverflow

1

Thank you tried Stack Overflow problem solved :-)

0

请先登录再写评论。