Springboot failed to start: Failed to configure a DataSource:.

failed to start the springboot project. The error is as follows

clipboard.png
checked the online materials and said that it was due to the addition of database-related components but no configuration of database connection and other information. However, when my project runs in idea, everything is normal and the database is configured. After it is packaged into jar through maven, the jar package reports this error, and then running in idea will also report this error
. Have you ever encountered such a problem?. O (please call for help) o, call for help

Sep.25,2021

check to see if your configuration file is included after being packaged into jar

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b319dc-2bda5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b319dc-2bda5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?