开发者

IntelliJ IDEA doesn't load Lift libraries from a SBT project

I've created a blank project via sbt using the most basic guide, specifically:

> cd xyz
> sbt # here we create a new project w/ Scala 2.8.1
> *lift is org.lifty lifty 1.6.1
> lift create project-blank

however when I open the pr开发者_高级运维oject in IntelliJ, it doesn't correctly recognize .jars downloaded via sbt. All imports are red

IntelliJ IDEA doesn't load Lift libraries from a SBT project

and when I go to project settings (Ctrl + Alt + Shift + S) in Libraries section, they are all greyed out.

IntelliJ IDEA doesn't load Lift libraries from a SBT project

Apart from that, the project sources are correctly recognized as Scala project with a Web facet

IntelliJ IDEA doesn't load Lift libraries from a SBT project

Did I forget to configure something? I've already tried to create a project via maven using this guide, but I'd very much prefer to use SBT instead of maven.


Use sbt-idea to create the IntelliJ project structure. Re-run this each time you change the project structure or the library dependencies in your SBT build definition.

Instructions: SBT 0.10.x 0.11.x, SBT 0.7.x

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜