Interlij IDEA runs the ruoyi backend project. Error: Could not find or load main class com.ruoyi.auth.RuoYiAuthApplication

Error: Could not find or load main class com.ruoyi.auth.RuoYiAuthApplication

Running with IDEA, referring to the following issue to delete the .idea directory is useless

(The official document is written to run with Eclipse)

Error: The main class com.ruoyi.auth.RuoYiAuthApplication could not be found or could not be loaded Issue #I48N2X 维伊/RuoYi-Cloud - Gitee.com

# Then I found that my project directory contains  Chinese characters , remove the characters in the directory, delete .idea and edit it again.

# err2 The startup was successful, but the database connection failed.

Environment deployment | RuoYi

Refer to the background deployment file to create the ry-vue database, but the code connection shows ry, just change it to the same 

success:

Guess you like

Origin blog.csdn.net/LlanyW/article/details/132391695