Atitit.故障排除系列---NoClassDefFoundError NoClassDefFoundError ClassNotFoundException
Atitit.故障排除系列---NoClassDefFoundError NoClassDefFoundError ClassNotFoundException
1. java.lang.ClassNotFoundException找不到类异常。当应用试图根据字符串形式的类名构造类,而在遍历CLASSPAH之后找不到对应名称的class文件时,抛出该异常。1
3. 把eclipse这个class 添加磊个sysoout ,,,叫哪重新编译给挂....三,,走ok兰...2
1. java.lang.ClassNotFoundException找不到类异常。当应用试图根据字符串形式的类名构造类,而在遍历CLASSPAH之后找不到对应名称的class文件时,抛出该异常。
还有个NoClassDefFoundError,,是classload 新不上class加载..
2. 查看class是存在的...
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://www.cnblogs.com/attilax/
3. 把eclipse这个class 添加磊个sysoout ,,,叫哪重新编译给挂....三,,走ok兰...
原因::myeclipse的bug (本地调试) , eclipse或web server的bug ( 远程调试)
情形:::
偶尔出现.java和.class不一致的情况..
解决:::
4. 
尽可能使用较为支持完整热部署的web server,,推荐glassfish,resin。。 Tomcat,jboss只支持很少情况下的热部署
新的添加一行out print,, 已便使eclipse重新编译class..通常就ok了...90%可以这个方法解决
可以使用bcompare查看跟踪class的更新版本信息,手动同步版本
要是是远程调试,,中断在连接通常也可以好...如果不行,重启web server。。
要是还不行,,只有重启ide了。。。
5. 类库冲突
比如jar包里面有一个class。。而class目录有一个同名的class。。都调用了attilax。Clousre 。。但是jar包里面没有这个clousre
而启动加载的是jar里面的那个类。导致classload不能查找到子路径下面的class。。。。
解决方法::删除jar包里面的同名启动class。。使用class目录下面的class文件启动。这样就可以了。。
Atitit.故障排除系列---NoClassDefFoundError NoClassDefFoundError ClassNotFoundException的更多相关文章
- Atitit.故障排除系列---NoClassDefFoundError  NoClassDefFoundError
		
Atitit.故障排除系列---NoClassDefFoundError NoClassDefFoundError java.lang.ClassNotFoundException找不到类异常.当应 ...
 - Atitit.故障排除系列---php 程序网站数据库错误排除流程
		
Atitit.故障排除系列---php 程序网站数据库错误排除流程 Php页面报告的错误不能定位到myusql的db配置上...字说是db conn err Mysql 接入错误...大概查看哈能不能 ...
 - Atitit.故障排除系列-----apache 不能启动的排除
		
Atitit.故障排除系列-----apache 不能启动的排除 能直接使用cli启动httpd ,,详细打印出信息.. C:\Users\ASIMO>"C:\wamp\apach ...
 - Atitit.故障排除系列---php 
计划网站数据库错误排除过程
		
Atitit.故障排除系列---php 计划网站数据库错误排除过程 Php页面报告的错误不能定位到myusql的db配置上...字说是db conn err Mysql 接入错误...大概查看哈能不能 ...
 - atitit.故障排除------有时会错误com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset by peer: soc
		
atitit.故障排除------有时会错误com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset by peer: soc ...
 - atitit.故障排除--- 当前命令发生了严重错误。应放弃任何可能产生的结果sql server 2008
		
atitit.故障排除--- 当前命令发生了严重错误.应放弃任何可能产生的结果sql server 2008 1. 现象 1 2. 原因:::sql server的bug 或者限制,查询的时候儿使用资 ...
 - JVMTI 中间JNI系列功能,线程安全和故障排除技巧
		
JVMTI 中间JNI系列功能,线程安全和故障排除技巧 jni functions 在使用 JVMTI 的过程中,有一大系列的函数是在 JVMTI 的文档中 没有提及的,但在实际使用却是很实用的. 这 ...
 - 【转】NoClassDefFoundError和ClassNotFoundException
		
调试Hadoop源码时,一运行就报这个错误,后来发现是maven配置时,scope配置的问题, MAVEN Scope使用 相关链接:http://acooly.iteye.com/blog/178 ...
 - atitit.MyEclipse10 中增加svn插件故障排除
		
atitit.MyEclipse10 中增加svn插件故障排除 删除\configuration \org.eclipse.update 不行... 二. 在configuration下的config ...
 
随机推荐
- location和history
			
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
 - OM-销售订单行【订购项目】配置参数文件控制
			
ONT_RESTRICT_CUST_ITEMS OM:限制行层收货地址的客户项目 ONT_USE_MVIEW_FOR_ITEMS_LOV OM:为项目值列表使用物化视图(遵守项目可订购性规则)
 - 定时任务框架-quartz
			
依赖 <!-- 定时任务jar --> <dependency> <groupId>org.quartz-scheduler</groupId> < ...
 - Go -- php 中的pack("H*", $string) 转换成go
			
pack("H*", $string) 转化成这样: //16进制字符串转[]byte func HexToByte(hex string) []byte { length := ...
 - propertychange方法
			
1.html文件 <td> <input id="clientPhone" type="text" name="clientPhon ...
 - ArcGIS Server10.1之服务新特性(WMTS1.0.0) 【转】
			
http://blog.csdn.net/esrichinacd/article/details/7825587 ArcGIS Server10.1正式支持OGC的WMTS1.0.0版本标准,那么如何 ...
 - Appium处理滑动方法是swipe
			
滑动API:Swipe(int start x,int start y,int end x,int y,duration) 解释: int start x-开始滑动的x坐标:int start y - ...
 - [HTML5] Add an SVG Image to a Webpage and Get a Reference to the Internal Elements in JavaScript
			
We want to show an SVG avatar of the patio11bot, so we'll do that in three ways: Using an img tag - ...
 - [Functional Programming ADT] Adapt Redux Actions/Reducers for Use with the State ADT
			
By using the State ADT to define how our application state transitions over time, we clear up the ne ...
 - [ES6] 09. Destructuring Assignment -- 2
			
Read More: http://es6.ruanyifeng.com/#docs/destructuring Array “模式匹配”,只要等号两边的模式相同,左边的变量就会被赋予对应的值: Ex ...