Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application finished with exit code: 1 #917

Open
shabbier0473 opened this issue May 2, 2023 · 1 comment
Open

Application finished with exit code: 1 #917

shabbier0473 opened this issue May 2, 2023 · 1 comment

Comments

@shabbier0473
Copy link

unable run using mvnw spring-boot:run
image

image

@hosuio
Copy link

hosuio commented May 28, 2023

refer sm-shop/src/test/resources/database.properties

if you use mysql
create database salesmanager
and
create a file
sm-shop/src/main/resources/database.properties

db.jdbcUrl=jdbc:mysql://:3306/salesmanager?autoReconnect=true&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8
db.user=????
db.password=?????
db.driverClass=com.mysql.cj.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
db.preferredTestQuery=SELECT 1
hibernate.hbm2ddl.auto=update
db.show.sql=true
db.schema=salesmanager
db.initialPoolSize=4
db.minPoolSize=4
db.maxPoolSize=8

AnkitaGhosh2000 pushed a commit to AnkitaGhosh2000/shopizer that referenced this issue Jan 25, 2024
AnkitaGhosh2000 added a commit to AnkitaGhosh2000/shopizer that referenced this issue Jan 25, 2024
Solved issue Application finished with exit code: 1 shopizer-ecommerce#917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants