当我导入anorm时,我使用的是play 2.4.3
导入anorm._导入anorm.SqlParser._
这会在IDE中显示下面的错误消息..。
找不到:对象
但是我的项目将执行(不会抛出任何错误)。
属地
libraryDependencies ++= Seq("com.typesafe.play" %% "anorm" % "2.3.6")编辑器
月食露娜
scala版本
scalaVersion := "2.11.6“
激活剂
1.3.6版
OS
Windows 8
发布于 2015-10-31 17:23:03
你们的进口是不正确的--它们应该是:
import anorm._
import anorm.SqlParser._注意第二个导入的差异。
HTH
https://stackoverflow.com/questions/33139844
复制相似问题