openxava / documentation / IntelliJ IDEA with OpenXava

If you're using an OpenXava version older than 7.0 look at the old instructions
OpenXava is Maven based so works nicely with IntelliJ.

Creating a new OpenXava project

Create a new Maven project with IntelliJ, choosing org.openxava:openxava-archetype as archetype:

Note as we choose Maven Central as repository.

Package and run your project

Before run your project you have to do a mvn package on it. Then look for the class yourapp.java (it is the name of your application) inside org.example.yourapp.run package in src/main/java, and run it.


You can also see on Lesson 1 of getting started using IntelliJ.