#build error
1 messages · Page 1 of 1 (latest)
<@&1004656351647117403> please have a look, thanks.
check that u got no red error, if not u need to activate the switches to get the big stacktraces
Can you scroll up a little bit? And you should update to Spring Boot 3.3.
Your database configuration is wrong.
oh
can u show the code that does the connection ? ( or the configuration )
and what db are u using ?
How did you configure it? In code/property file/yaml? Can you share that.
just a min
DataSource for Scores
spring.datasource.scores.url=jdbc:mysql://127.0.0.1:3306/scores
spring.datasource.scores.username=root
spring.datasource.scores.password=ec21b1011
spring.datasource.scores.driver-class-name=com.mysql.cj.jdbc.Driver
DataSource for Questions
spring.datasource.questions.url=jdbc:mysql://127.0.0.1:3306/quiz2
spring.datasource.questions.username=root
spring.datasource.questions.password=ec21b1011
spring.datasource.questions.driver-class-name=com.mysql.cj.jdbc.Driver
JPA properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
i stored it in application.properties
actually i am using a local db
mysql for this
this is the config.java file
I uploaded your attachments as Gist.