org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.flywaydb:flyway-maven-plugin:4.0.3:info (default-cli) on project ers: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:postgresql://server-db:5432/devdb) for user 'user': FATAL: password authentication failed for user "user"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by timmson
, 1 year ago
Failed to execute goal org.flywaydb:flyway-maven-plugin:4.0.3:info (default-cli) on project ers: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:postgresql://server-db:5432/devdb) for user 'user': FATAL: password authentication failed for user "user"
via GitHub by jieryn
, 1 year ago
Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.8:update-file-header (default-cli) on project dao: could not execute goal UpdateFileHeaderMojo for reason : null
via GitHub by rultor
, 1 year ago
Failed to execute goal com.github.github:site-maven-plugin:0.12:site (default-cli) on project maxur-base: The parameters 'message' for goal com.github.github:site-maven-plugin:0.12:site are missing or invalid
via Google Groups by Chris, 8 months ago
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) on project cas-overlay: Could not exec java
via GitHub by mattnelson
, 1 year ago
Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:display-plugin-updates (default-cli) on project test-project: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:display-plugin-updates failed.
via GitHub by kameshsampath
, 6 months ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.2.30:resource (default) on project config-server: Execution default of goal io.fabric8:fabric8-maven-plugin:3.2.30:resource failed: Cannot extract generator: java.lang.NumberFormatException: For input string: "${PORT:8888}"
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.flywaydb:flyway-maven-plugin:4.0.3:info (default-cli) on project ers: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource (jdbc:postgresql://server-db:5432/devdb) for user 'user': FATAL: password authentication failed for user "user"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:427)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:203)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:159)
at org.postgresql.Driver.makeConnection(Driver.java:416)
at org.postgresql.Driver.connect(Driver.java:283)
at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:409)
at org.flywaydb.core.internal.util.jdbc.DriverDataSource.getConnection(DriverDataSource.java:370)
at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
at org.flywaydb.core.Flyway.execute(Flyway.java:1326)
at org.flywaydb.core.Flyway.info(Flyway.java:1040)
at org.flywaydb.maven.InfoMojo.doExecute(InfoMojo.java:31)
at org.flywaydb.maven.AbstractFlywayMojo.execute(AbstractFlywayMojo.java:539)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:189)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

74 times, 1 month ago
6 times, 7 months ago
10 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.