简体   繁体   中英

Play framework 2.6 Java unable to compile on new Mac

So My old mac died and I bought a new one which I setup using migration utility and a time machine backup.

I use IntelliJ and have quite a number of Play 2 projects which no longer compile either in IntelliJ or command line using sbt compile.

I am getting mainly errors in xxxx.scala.html templates

eg

index. scala.html:10:2: not found: value head

referring to

@head(title = title)

Please anyone who can help get my projects compiling again as I am falling so far behind.

因此,基本上我必须丢弃所有intelij项目,并从现有资源开始重新构建它们为新项目,然后让sbt重新运行,然后它们就正确了

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM