running the first example of playframework in IntelliJ on a Mac OSX

后端 未结 2 1826
野性不改
野性不改 2021-02-03 12:06

In my new mac OSX 10.8.3, I install scala 2.10.0, play 2.1.0 and IntelliJ12, and create a play project as follows:

#install brew
> ruby -e \"$(curl -fsSL http         


        
2条回答
  •  我在风中等你
    2021-02-03 12:20

    Here's what helped me in the past with the same errors:

    1. Remove any Scala 2.9.2 dependencies
    2. Go to Project Structure -> Global libraries. Create a new one, called, say, scala-bundle. Add scala-compiler.jar, scala-library.jar, scala-reflect.jar for 2.10.
    3. Finally, go to Project Structure -> Modules -> myapp -> Scala and select scala-bundle.

    For module sharing errors, go to Project Structure -> Modules -> -> Paths and change the paths so they're not the same.

提交回复
热议问题