Can't find a source file at "main. Powered by FUDForum. Page generated in 0. Sign up to our Newsletter A fresh new issue delivered monthly. Eclipse Community Forums. Forum Search:. No source file named main. Tue, 07 February Denis Davydov Messages: 8 Registered: January If I have any breakpoints set up anywhere else even in main. Nothing helps. The program runs from a folder other than one it is compiled in, if that matters. And it does indeed work there, no errors from dgb when I add breakpoints.
So I can conclude that it must have something to do with settings in Eclipse. Or maybe a bug? Could you please advise where to look at and what to check? Another thing is when I open a main. Thank you in advance for your help. Re: No source file named main. Hagen Messages: 90 Registered: April It does matter. Well, that is the case for both NetBeans and Eclipse. So, which settings do I need to check in order to make Eclipse work as expected?
In my example, this is because the corresponding source code for AbstractTypeHierarchyTraversingFilter does not exist in local workspace. Please read this blog about what exactly should be defined in pom.
Google with keyword as below:. Go to the corresponding download page for your spring framework version:. You could find your Spring version in pom.
Create a series of nested folders whose hierarchy exactly match the package declaration in java file. In my example, the folder structure should look like below:. Then make a zip file based on this folder. Skip to Content. Active Oldest Votes.
The most important thing to remember is: Debug information doesn't contain the source itself, but only the path where to find it. People often don't know this. Chad 1, 1 1 gold badge 11 11 silver badges 28 28 bronze badges.
Roman Nikitchenko Roman Nikitchenko Good question, this answer is 12 years ago :- - but I think principle is the same - local client folders should match debug information that is used. In case of the answer I really was using this but here I cannot check now. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.
0コメント