For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 3 voices, and was last updated 20 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
NEKI TechnologiesMemberHi…
I usually use the debug perspective with no errors, but now an error begin to appear. When i put a breakpoint in a simple class and run my web application this perspective show me a message: ” There is no source file attached to the class file xxx.class “, but i’m sure that this source file exists. It begins to happen without a reason.*** It only happens on a specific project, in other one it works well…
Thanks all.
June 21, 2005 at 9:19 am #231438
Riyad KallaMemberneki,
Try shutting down your app server, remove your deployment close the project and restart MyEclipse, now open the project back up, Rebuild the project, and recreate the deployment then try running it again. Did that work?June 21, 2005 at 9:50 am #231449
NEKI TechnologiesMemberHi Riyad…
I did what you said, but it didn’t fix my problem…I tried to remove my source folder, built the project, add it again and built it again but it doesn’t work too…do you have any idea??June 21, 2005 at 10:03 am #231455
Riyad KallaMember.I tried to remove my source folder,
neki, I pray you mistyped this… I didn’t ask you to remove your Source folder.
What is the structure of your project, please note the folders that are your source, output and webroot folders. Also wrap your directory outline in a code blocks (using the code button below) so it retains it’s indentation.
June 21, 2005 at 10:26 am #231459
NEKI TechnologiesMemberRiyad…
Excuse me my bad English, i said i tried to remove also my source folder, but it doesn’t work too.
We have a EAR project, 4 WEBProjects and 3 EJBProjects, with this EAR i make the deployment, inside this i have the others projects. In only one of this projects the debug perspective doens’t work.
My structure is: for each Web Project i have my webroot with a META-INF, WEB-INF(with the configurations file) and other folders(JSP, CSS…) and a folser called SRC(where my source code is).
In my Java Build Path/Source, i put this folder as Solder Folder…That is it…
Its the same configuration for all Projects, but in this one doens’t work…____________________
Marcelo Leite
NekiJune 21, 2005 at 11:01 am #231464
Scott AndersonParticipantNeki,
Could it be that the same class file is being packaged into more than one of the projects in your EAR? If that’s the case, having multiple class files that can load under exactly the same name can confuse the Eclipse Java source lookup facility. For that particular class, does the source exist in one of your projects? More than one?
In the debugger, when the source isn’t found can you tell the debugger where the source file is and have it function properly after that?
June 21, 2005 at 12:27 pm #231474
NEKI TechnologiesMemberHi…
No, doesn’t exists more than one class with the same name…
And, in debugger mode i can’t tell it where the source file is…
Do you have another idea??
It’s so strange!!___________________
Marcelo Leite
NekiJune 22, 2005 at 7:14 am #231495
NEKI TechnologiesMemberHi…
My problem persists, can someone help me???June 22, 2005 at 7:59 am #231498
Riyad KallaMemberNeki,
Can you try shutting down your app server, removeing the deployment and then removing all the modules from your EAR and readding them?If that doesn’t work, I would suggest creating a new Web Project, then drag and drop (COPY) all of the files from the broken WEb Project into the new one, then remove the broken web project as a module from your ear and add the new one as a module, then redeploy the EAR… did it work?
-
AuthorPosts