Blackdread / sql-to-jdl

Tool to translate SQL databases to JDL format of jHipster (Created due to existing databases to be generated with jHipster and build angular-java web)
MIT License
179 stars 81 forks source link

Failed to bind properties under 'application' #206

Open arbach opened 10 months ago

arbach commented 10 months ago

I am unable to run the code. Error below.

java -version openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment Homebrew (build 17.0.9+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.9+0, mixed mode, sharing)

mvn -version Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /Users/michaela/Downloads/apache-maven-3.9.5 Java version: 21.0.1, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "14.1", arch: "aarch64", family: "mac"

Error:

Failed to bind properties under 'application' to org.blackdread.sqltojava.config.ApplicationProperties:

Reason: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'application' to org.blackdread.sqltojava.config.ApplicationProperties

Action:

Update your application's configuration

You can get pass this error if fixing the properties to match, but you get into other error after.

I can send a PR fix for these, but need to confirm I am looking at latest, and this used to work before I keep going with fixes. I did few other build and code fixes, to get it this far.

Blackdread commented 10 months ago

hi, you can submit PR, I will review In theory the build is green so if it fails locally it is due to something else