简体   繁体   中英

Eclipse STS 4 Error: Could not find or load main class

I got following error on my latest version of Eclipse STS 4.

Could not find or load main class com.infoflow.report.ReportApplication

here is my STS Version:

Spring Tool Suite 4
Version: 4.5.1.RELEASE

Build Id: 202001211336

My Spring Version

2.0.6.RELEASE

I have tried following actions but seem no luck yet:

  1. Re-Import the Project
  2. Maven Clean / Project Clean
  3. Change the JRE to JDK
  4. List item

Any help regarding this would be very appreciated.

Please, check issues:

STS issue 406

STS issue 407

Apparently the problem solved in nightly build

http://dist.springsource.com/snapshot/STS4/nightly-distributions.html

I have the same problem and testing the solution proposed in issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM