Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » main class not found(run junit test and main class all say " main class not found")
main class not found [message #1833898] Tue, 27 October 2020 09:17 Go to next message
sai yang is currently offline sai yangFriend
Messages: 1
Registered: October 2020
Junior Member
This is error image
index.php/fa/39149/0/

This is debug image.
index.php/fa/39151/0/

I find AppClassLoader path unusual.
path[0] = "file:/E:/code/burning-point_trunk_svn/burning-point-web/%22E:/code/burning-point_trunk_svn/burning-point-web/bin"

I guess this is the cause of the error. But don't know how to solve it.

Eclipse version:
index.php/fa/39150/0/

Project Build Config:
index.php/fa/39152/0/

Project Bin :
index.php/fa/39153/0/
  • Attachment: aaa.jpg
    (Size: 352.46KB, Downloaded 312 times)
  • Attachment: cc.jpg
    (Size: 163.52KB, Downloaded 258 times)
  • Attachment: bbb.jpg
    (Size: 528.88KB, Downloaded 260 times)
  • Attachment: dd.jpg
    (Size: 200.11KB, Downloaded 244 times)
  • Attachment: ee.jpg
    (Size: 149.22KB, Downloaded 243 times)
Re: main class not found [message #1834987 is a reply to message #1833898] Mon, 23 November 2020 06:20 Go to previous message
Noopur Gupta is currently offline Noopur GuptaFriend
Messages: 58
Registered: December 2012
Member
Are you able to successfully run the program having the main method as a Java application? This is to identify if the launching issue is only with the JUnit test or a general problem probably due to the path format.
Previous Topic:How do I debug. "No tests found with test runner 'JUnit 5'."
Next Topic:Breakpoint in debugged application doesn't show source file, after upgrade to 2020-03?
Goto Forum:
  


Current Time: Thu Apr 25 21:03:48 GMT 2024

Powered by FUDForum. Page generated in 0.02836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top