Prerequisite - Java 11
Ebean 13+ requires Java 11. Please upgrade as soon as you can.
jakarta and javax persistence
Ebean 14.x/15.x use jakarta.persistence.
To use javax.persistence use Ebean version 14.x-javax.
Example projects
You can explore example Java projects for Maven, Gradle or example Kotlin projects using Maven or Gradle.
For other example projects like PostGIS etc goto /docs/examples.
 
Install IDE Plugin
Ebean uses bytecode enhancement to provide dirty checking and lazy loading.
We using tooling via IDEA, Eclipse, Maven and Gradle plugins to perform this enhancement.
Install the Plugin for IntelliJ IDEA or Eclipse IDE.