This is a sample application generated by the Payara Starter.
To run the application locally, follow these steps:
-
Open a terminal and navigate to the project's root directory.
-
Make sure you have the appropriate Java version installed. We have tested with Java SE 8, Java SE 11, Java SE 17, and Java SE 21.
-
Execute the following command:
./mvn clean package payara-micro:dev
- Once the runtime starts, you can access the project at http://localhost:8080/
To deploy the application to Payara Cloud follow these steps:
Open a terminal and navigate to the project's root directory. Execute the following Maven command to build the application and deploy to the Payara Cloud:
./mvn clean package payara-cloud:dev