Skip to main content



      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 05:17 Go to next message
Eclipse UserFriend
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 402 times)
  • Attachment: cc.jpg
    (Size: 163.52KB, Downloaded 321 times)
  • Attachment: bbb.jpg
    (Size: 528.88KB, Downloaded 330 times)
  • Attachment: dd.jpg
    (Size: 200.11KB, Downloaded 330 times)
  • Attachment: ee.jpg
    (Size: 149.22KB, Downloaded 315 times)
Re: main class not found [message #1834987 is a reply to message #1833898] Mon, 23 November 2020 01:20 Go to previous message
Eclipse UserFriend
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: Sun Sep 14 19:46:52 EDT 2025

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

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

Back to the top