Jhipster - Error starting jhipster mysql project

I try to run jhipster and run the following error when starting an application that is configured to use mysql as a backend:

The database connection pool configuration is incorrect! The application does not start. Check Spring profile, current profiles: [dev]

I have a database created and mysql is up and running in the correct ports

From troubleshooting in my IDE, it seems that the datasource properties are zero when trying to configure Liquibase.

My application is dev.yml

Server: port: 8080

spring: profiles: dev

datasource:
    dataSourceClassName: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    url: jdbc:mysql://localhost:3306/test
    databaseName:test
    serverName:localhost
    username: admin
    password:  xxxxx
    cachePrepStmts: true
    prepStmtCacheSize: 250
    prepStmtCacheSqlLimit: 2048
    useServerPrepStmts: true

jpa:
    database-platform: org.hibernate.dialect.MySQLInnoDBDialect
    database: MYSQL
    openInView: false
    show_sql: true

Any thoughts on what I should try to get past this erorr?

+4
source share
2 answers

, URL- AND databaseName.

- > databaseName , ?

.

0

Eclipse, , . , - src/main/resources src/test/resources .

, .

0

All Articles