Configuring IntelliJ IDEA for PlayFramework 2.0 Beta

DZone 's Guide to

Configuring IntelliJ IDEA for PlayFramework 2.0 Beta

· ·
Free Resource

So this is what you'll have to do to get a play 2.0 beta JAVA app running.

Create a new project using play new sampleTest

Play 2.0 Beta PlayFramework folder structure

in this example, it would be

and I have play 2.0 beta installed in


In IDEA, create a new project and select "Create Java Project from
existing sources"
Create a new Play 2.0 Project
and click next until the window disappears.

next, open up the module settings and configure it like here

Configure the Module of your Playframework 2.0 Application Source folders:

then add a new library
Configure the PlayFramework dependency
with the following paths



For the module

then add another dependency (single entry library)
(you might have to compile your play app first using play compile)
and configure it like in this screenshot
Configure the local generated classses as dependencies
- $APP/target/scala-2.9.1/classes
- $APP/target/scala-2.9.1/classes-managed
voila, you can now develop with play 2.0 in your favorite IDEa ;)

I hope this helps some of you!
p.s.: on the Play Framework Mailing list, Francisco Canedo mentioned to instead of manually configuring IDEA you should integrate with the IDEA SBT Plugin. See this thread for further information.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}