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

This is debug image.

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:

Project Build Config:

Project Bin :
  • Attachment: aaa.jpg
    (Size: 352.46KB, Downloaded 158 times)
  • Attachment: cc.jpg
    (Size: 163.52KB, Downloaded 143 times)
  • Attachment: bbb.jpg
    (Size: 528.88KB, Downloaded 141 times)
  • Attachment: dd.jpg
    (Size: 200.11KB, Downloaded 136 times)
  • Attachment: ee.jpg
    (Size: 149.22KB, Downloaded 142 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
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: Tue Jan 18 02:27:46 GMT 2022

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

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

Back to the top