Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

ECLIPSE -- no display of line's number in the exception's stacktrace !!!!!

Thread view: 
Sebastien - 31 Mar 2005 15:56 GMT
hi,

when i try to run my application : i have an exception !!
it is not the exception the problem but in the exception's stacktrace,
the numbers of line are not display for my own sources : "Unknown Source"
and i don't understand, it is not a .jar :

java.lang.ClassNotFoundException: myTest.protocol.mapping.MessageMappingConfigHelper
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at myTest.utils.InstanciationHelper.loadClass(Unknown Source)
    at myTest.utils.InstanciationHelper.newInstance(Unknown Source)
    at myTest.config.ConfigManager.preload(Unknown Source)
    at myTest.ControlBoard.<init>(Unknown Source)
    at myTest.MainClass.start(Unknown Source)
    at myTest.MainClass.main(Unknown Source)

can you help me please ??
Thank you
Sébastien
Roland - 31 Mar 2005 16:12 GMT
> hi,
>
[quoted text clipped - 20 lines]
> Thank you
> Sébastien

In Eclipse 3.0.1, open Window -> Preferences -> Java -> Compiler ->
Compliance and Classfiles, and check the checkboxes in the 'Classfile
Generation' section.

These settings can be set per project, so also verify the same settings
in the project properties (menu Project -> Properties -> Java Compiler
-> Compliance and Classfiles).
Signature

Regards,

Roland de Ruiter
  ___      ___
 /__/ w_/ /__/
/  \ /_/ /  \

Kevin McMurtrie - 01 Apr 2005 09:23 GMT
> hi,
>
[quoted text clipped - 21 lines]
> Thank you
> Sébastien

It looks like compilation with debug symbols is turned off.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.