eclipse - How to Resolve 'not found: object anorm' for play 2.4.3 -


i'm using play 2.4.3, when import anorm like

import anorm._ import anorm.sqlparser._

this brings error message below in ide...

not found: object anorm

but project execute (without throwing error).

dependencies

librarydependencies ++= seq("com.typesafe.play" %% "anorm" % "2.3.6") 

editor

eclipse luna

scala version

scalaversion := "2.11.6"

activator

version 1.3.6

os

windows 8

your imports incorrect - should be:

import anorm._ import anorm.sqlparser._ 

note difference on second import.

hth


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -