Java – spring application startup error: source cannot be empty

I'm following the spring tutorial and the following error occurred when I tried to start the spring application:

What is the "source cannot be empty" error@ H_ 419_ 6@

I am using the eclipse Maven project for this tutorial project, and I have updated the project I have also cleaned up and rebuilt, but I still encountered this error@ H_ 419_ 6@

Solution

It turns out that I didn't set up the main classes - debug and run configuration correctly in eclipse I will go to org springframework. boot. Spring application is set as the main class The main class should point to my main class

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>