Eclipse Plugin Central

Tomcat For Eclipse - Source not found for StandardContext.start()

Anonymous - Feb 19, 2005 - 02:38 AM
Post subject: Source not found for StandardContext.start()
Hi,
I'm using Eclipse 3.0 and sysdeo plugin version 3 and Tomcat 5.0.28. Everything was working perfect till yesterday morning... but i updated one project from my CVS and it started giving error

Source not found for StandardContext.start() line: 4151

and it goes to debug perspective

Help.....!!!!

Mani Bhooshan
mbhooshan@yahoo.com
Anonymous - Feb 23, 2005 - 05:02 AM
Post subject:
Hey, I've got the exact same problem! Have you found any solution?

strand
Anonymous - Feb 23, 2005 - 05:15 AM
Post subject:
Found the solution!

It seems to be some problem with the Eclipse debugger interacting with Tomcat.
First try and shut down Tomcat, then go to your debug perspective, click on the "Breakpoints" tab, right click and say "Remove all", now close all your editors AND your projeccts and exit Eclipse.

Now start Eclipse and add -clean to your command line arguments.

If it doesn't, the only known workaround for this is to create a new workspace.

Strand
Anonymous - Mar 25, 2005 - 05:08 AM
Post subject:
Thanks for posting this solution, I have just run into the same problem and it was really helpful!

Gergo
Anonymous - Apr 17, 2005 - 08:30 PM
Post subject:
I had the same problem, and it was solved by this solution. Thanks!

Yoshihiro Kameda
Anonymous - Apr 26, 2005 - 11:36 AM
Post subject:
Spent hours with this problem - this resolved it within minutes! Thanks!

Urs
Anonymous - May 11, 2005 - 03:36 AM
Post subject:
Thanks.... so simple - but I would never have thought of it.
Friederike
Anonymous - May 11, 2005 - 08:14 AM
Post subject:
You saved my day! Thx so much!
Anonymous - May 12, 2005 - 08:49 PM
Post subject:
Oh yes! Very Happy
Thank you.

geoCorpse
Anonymous - May 17, 2005 - 03:13 AM
Post subject:
Thanks Mr. Strand
I was like this for last 2hrs:roll:
now i am like this Embarassed
Saritha
Anonymous - May 17, 2005 - 04:05 AM
Post subject:
U save my time on this matter too! Thx!
Anonymous - May 17, 2005 - 01:27 PM
Post subject:
Thank you as well,
wonderful described solution Wink

Another solution would be to activate the the checkbox "Do not start java in debug mode", but working with it without being able to debug the project really really su..s Razz


Greetings
Anonymous - May 18, 2005 - 10:11 AM
Post subject:
I am the only one? Sorry, but this does not work for me Sad(((
Anonymous - May 26, 2005 - 05:04 AM
Post subject:
Thank you very very much. I encounter the dirty bugs. It spent my several hours . I resovled it by using your solution
Anonymous - Jun 07, 2005 - 04:26 AM
Post subject:
Anonymous wrote:
I am the only one? Sorry, but this does not work for me Sad(((


Not alone anymore Sad
Anonymous - Jun 07, 2005 - 12:50 PM
Post subject:
Sorry, but I disagree with the solution (maybe my problem is not the same) Confused

In my case, I had the error when clicking in the console over a line like:

Code:

java.lang.NullPointerException
   at com.telefonica.ar.presentacion.actions.UsuarioBuscarAction.doExecute(UsuarioBuscarAction.java:55)


I solved this by checking the right project in Window / Preferences / Tomcat / Source Path.

Best regards,
Jose M Beas
Anonymous - Jun 20, 2005 - 09:59 PM
Post subject:
thanks alot
it waste me a whole day and then ,I found your solution here Smile ,it works great !
Anonymous - Jun 23, 2005 - 01:57 AM
Post subject:
Thanks - that sorted my problem out!
Anonymous - Jul 02, 2005 - 01:30 PM
Post subject:
Thanks for the solution !!!
Anonymous - Jul 13, 2005 - 12:33 PM
Post subject:
BuenĂ­simo!! Gracias.
Anonymous - Jul 15, 2005 - 10:54 PM
Post subject:
Anonymous wrote:
Anonymous wrote:
I am the only one? Sorry, but this does not work for me Sad(((


Not alone anymore Sad

I still have the same problem
Anonymous - Jul 19, 2005 - 02:31 AM
Post subject:
this one also worked on mac os 10.4, thx very much. Smile
Anonymous - Aug 03, 2005 - 01:27 AM
Post subject:
Thanks that help me too. I dont know about adding -clean in command line.where should i do that

Chandu
Anonymous - Sep 14, 2005 - 03:51 AM
Post subject:
Thanks a lot.
Anonymous - Sep 21, 2005 - 09:21 AM
Post subject:
I also couldnt do it ... doesnt seem to work for me
Anonymous - Oct 08, 2005 - 05:10 AM
Post subject:
I have the same prolem
Thank you very much
Anonymous - Oct 17, 2005 - 04:50 AM
Post subject:
Anonymous wrote:
I have the same prolem
Thank you very much
There is another thing you can try. Remove the "Default" folder from the list of folders that contain the source files - it solved my problem.
Anonymous - Nov 01, 2005 - 06:47 AM
Post subject: the solution is very successful!!
Anonymous wrote:
Found the solution!

It seems to be some problem with the Eclipse debugger interacting with Tomcat.
First try and shut down Tomcat, then go to your debug perspective, click on the "Breakpoints" tab, right click and say "Remove all", now close all your editors AND your projeccts and exit Eclipse.

Now start Eclipse and add -clean to your command line arguments.

If it doesn't, the only known workaround for this is to create a new workspace.

Strand



Thank you for the solution...

viel spassss...(have fun ) Smile
Anonymous - Nov 07, 2005 - 03:14 AM
Post subject:
success!!! Thank you
Anonymous - Nov 10, 2005 - 04:53 AM
Post subject:
thanks very very much
Anonymous - Nov 14, 2005 - 05:28 AM
Post subject:
Worked for mte ... thanks bro !
Anonymous - Nov 17, 2005 - 08:46 AM
Post subject:
Thank you!!!
Anonymous - Nov 26, 2005 - 07:06 AM
Post subject:
thanks i had also the same problem but could rectify it .. shija
Anonymous - Dec 05, 2005 - 09:57 PM
Post subject:
Thank you.I encountered the same problem,and I had unitalled the Myeclipse but it did not work now it is ok.
Anonymous - Dec 14, 2005 - 06:32 AM
Post subject:
Thank's Strand I resolved my problem with you solution.
Thank you very much
Anonymous - Dec 19, 2005 - 02:44 PM
Post subject: thx!
i just fall in love with you Laughing ! You solved my problem, thx a lot!!!!!!
Anonymous - Dec 21, 2005 - 12:56 PM
Post subject: Worked for me.
Yes, thank you for posting the solution....a rogue breakpoint had me broken. Smile Rolling Eyes
Anonymous - Feb 25, 2006 - 09:25 AM
Post subject:
Thanks for your help!
Andyliu
Anonymous - Mar 01, 2006 - 04:56 PM
Post subject:
Thanks very much worked from. I removed all the break points and restarted eclipse.
Anonymous - Mar 10, 2006 - 10:47 AM
Post subject:
Great! Thanks so much
Anonymous - Apr 25, 2006 - 11:10 PM
Post subject:
thanks
Anonymous - Apr 28, 2006 - 03:01 PM
Post subject:
Windows->Perferences->Tomcat->SourcePath, choice Project. Restart tomcat.
Anonymous - May 11, 2006 - 05:50 PM
Post subject:
Brilliant! It worked for me. Thanks heaps!

D-Moussa
Anonymous - May 17, 2006 - 03:32 AM
Post subject: Thanks a lot!
Thank you very much! I have solved this pro because of your help.What a fantastic forum!
Anonymous - May 17, 2006 - 11:01 AM
Post subject: Breakpoint do not highlight. Debug shows source not found
I am using debug mode with JBoss. It debugs but says source not found. Moreover, when I was putting break point, the same light did not highlight. Please help me asap.

I could not see options like
Windows -->prospective -->JBoss IDE.. and now automatically source code.

This was solution provided in the past. But please help me.
Anonymous - May 17, 2006 - 11:02 AM
Post subject: RE: Breakpoint do not highlight. Debug shows source not foun
I am using debug mode with JBoss. It debugs but says source not found. Moreover, when I was putting break point, the same line did not highlight. Please help me asap.

I could not see options like
Windows -->preferences -->JBoss IDE.. and now automatically source code.

This was solution provided in the past. But please help me.
Anonymous - May 31, 2006 - 05:09 AM
Post subject:
Perfect solution. Thank you Strand.
fabian2 - Aug 30, 2006 - 03:37 AM
Post subject:
I had the same problem, but the solution above did not work for me.

The solution for me was to adjust the tomcat source path,
Window -> Preferences ... -> Tomcat -> Source Path

Somehow the "Automatically compute source path" option was broken.
If I choose the source projects manually, it works.
2chumpy - Sep 01, 2006 - 11:14 AM
Post subject: just delete your run config
I was getting this problem for a while too, and closing all that stuff didn't work. I eventually just deleted my run config and created a new one and all was well - ie click on the little down arrow next to the play button, go to "Run...", find the "Apache 5.5" thing in the left pane, delete it, and create a new one by right clicking on your project and say "Start on server". Worked for me.
mssuresh - Feb 08, 2007 - 12:28 AM
Post subject:
You can try this.. go to windows-->preferences-->tomcat-->source path and enable to the option for the debugger to seach your source code. It woks for me..
EnRadeSurEclipse - Dec 04, 2007 - 07:44 PM
Post subject: Did not work for me
I still have the bloody error message. "source not found"
despite having run the "organise imports" function that have restored the link to the lib file.
And I don't use Tomcat.
Any idea?
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits