Errot trying deploy app with spring-boot, java 17 and postgres

I’m with problem in deploy, could you help ?
ERROR

Instance created. Preparing to start...

Event

2024-04-06 19:34:15.515

2c3d2e6e

Instance is starting. Propagating network configuration...

Event

2024-04-06 19:34:29.293

2c3d2e6e

Network configuration propagated

Event

2024-04-06 19:35:25.410

2c3d2e6e

Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.

Event

2024-04-06 19:35:28.970

2c3d2e6e

Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.

Event

2024-04-06 19:35:32.922

2c3d2e6e

Instance stopped

Hi @claudemirferreira ,

I believe you need to adjust a few things.

In your POM.xml, you need to package your app as jar and not war.

You also need to change <finalName>${artifactId}</finalName> into <finalName>${project.artifactId}</finalName>

You should add java -jar target/spring-blog.jar as a Run command in the Koyeb Service settings.

Then you need to include information related to databases to be able to start this application.

I hope it helps.