Re: Error trying to setup the h2 database run.

28 views
Skip to first unread message
Message has been deleted

Jochen Schalanda

unread,
Jun 23, 2021, 2:22:59 AM6/23/21
to dropwizard-user
Hi Abhishek,

the migration was successful (see INFO messages at the bottom of your screenshot).

The stack trace is being shown because you're running your application with Java 8, which the Jackson Blackbird module (see https://github.com/FasterXML/jackson-modules-base/blob/jackson-modules-base-2.12.3/blackbird/README.md) doesn't support properly.

Best regards,
Jochen

Am 22.06.2021 um 21:08 schrieb Abhishek Chakraborty <abhishekch...@gmail.com>:

command - 
  •   java -jar target/dropwizard-example-$DW_VERSION.jar db migrate example.yml
error/ stack trace - attached. 

Please advise.

Message has been deleted

Jochen Schalanda

unread,
Jun 23, 2021, 4:04:29 PM6/23/21
to dropwizard-user
Hi Abhishek,

Is there a way to make it run on a different port than 8081? Where is this configured?

assuming you're talking about the admin connector, you can change the listening port in the respective connector configuration:
Cheers,
Jochen
Reply all
Reply to author
Forward
0 new messages