Source code doesn't seem to line up with the compiled classes in ECLIPSE

I am trying to write a Tomcat servlet to parse an incoming message, however when I parse the message to get the parts out of it I get a a parse error that doesn't really tell me a lot.
I have downloaded the source code for the Java Mail API 1.3.2 and attached it to the jar file in Eclipse.
However when I debug the code and step through it I get two problems. 1) I get a warning that I can't see the local variables (not really a great problem). 2) The lines in the source code do not line up with where the stack says I am.
I have checked the dates on the various classes and the source of the API and they seem to line up.
I did try to recompile the classes just as an experiment but I am runing JDK_1.4.2_06 and the source seems to be set up for 1.5 and I have some missing classes. I can't switch to 1.5 because there are some other servlets running on this server that won't work on 1.5.
Can anyone give me a clue how I can at least get the the correct line number.
Thanks
Brynn

Has anyone any ideas on this please?

Similar Messages

Maybe you are looking for