eclipse - ClassNotFoundException with URLClassLoader in classes.jar (java.net package) -


on eclipse galileo, got following classnotfoundexception when doing debug as/web application. works fine when doing run as/web application.

i given message "the source attachment not contain source file urlclassloader.class. can change source attachment clicking change attached source below:"

in project window, seems urlclassloader class java.net package, /system/library/frameworks/javavm.framework/versions/1.6.0/classes/classes.jar.

i found jar on machine, else missing? why it's debug issue?

could possible jre system library have on imac 10.6.5 machine outdated? or somehow install/unstall of jar/package caused issue?

this have - jre system library [jvm 1.6.0 (macos x default)] - update fixing issue? how updated?

please help!

com.google.appengine.tools.development.devappservermain @ localhost:57873   thread [main] (suspended (exception classnotfoundexception))    launcher$extclassloader(urlclassloader).findclass(string) line: 207    launcher$extclassloader.findclass(string) line: 229    launcher$extclassloader(classloader).loadclass(string, boolean) line: 307    launcher$appclassloader(classloader).loadclass(string, boolean) line: 296    launcher$appclassloader.loadclass(string, boolean) line: 301    launcher$appclassloader(classloader).loadclass(string) line: 248    instrumentationimpl.loadclassandstartagent(string, string, string) line: 280    instrumentationimpl.loadclassandcallpremain(string, string) line: 338  /system/library/frameworks/javavm.framework/versions/1.6.0/home/bin/java (nov 30, 2010 9:40:41 pm)  

perhaps need install jdk has complete sources? refer apple website download latest jdk, might need apple id.

after change eclipse's java runtime accordingly use new installed jdk:

enter image description here

and re-build project: project -> source -> clean-up


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -