Eclipse Debugging Error: ClassNotFoundException

本文介绍了一种常见的Eclipse调试过程中出现的ClassNotFoundException问题及其解决方案。通过取消Breakpoints设置中特定选项的勾选,可以避免调试时异常的立即触发,从而让开发者能够顺利进行程序调试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

用eclipse的时候,遇到一个问题,每次debug的时候,都会第一个弹出这个exception

把ClassNotFoundException:caught and uncaught前面的勾去掉就OK了。

reference:

I just hit a really annoying (sort of) bug in Eclipse. I could not debug any of my projects because they immediately stopped with a call stack like the following:

terrain.TerrainApp at localhost:49827  
    Thread [main] (Suspended (exception ClassNotFoundException))  
        ClassLoader.findBootstrapClass(String) line: not available [native method]  
        Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: not available  
        Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available  
        Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available  
        Launcher$AppClassLoader.loadClass(String, boolean) line: not available  
        Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available  
        Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not availableI found people with similar issues on various message boards, but no solutions.


解决的办法是:
在 Window -->show view --> Breakpoints 里面
ClassNotFoundException:caught and uncaught前面的勾去掉就OK了

之后 debug模式 正常运行 运行 停止在断点处..

转载自:http://tonyan416.iteye.com/blog/1192634

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值