![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 51
liaoyuanhuo66
这个作者很懒,什么都没留下…
展开
-
java java.lang.NoClassDefFoundError 的解决办法
以简单而经典的 “HelloWorld.java” 为例不含包层次的HelloWorld.java public class HelloWorld{public static void main(String[] args){System.out.println("Hello World!");}} 保存在E:\java\转载 2014-05-06 17:00:55 · 416 阅读 · 0 评论 -
编码 GBK 的不可映射字符
这是因为:由于JDK是国际版的,在编译的时候,如果我们没有用-encoding参数指定我们的JAVA源程序的编码格式,则javac.exe首先获得我们操作系统默认采用的编码格式,也即在编译java程序时,若我们不指定源程序文件的编码格式,JDK首先获得操作系统的file.encoding参数(它保存的就是操作系统默认的编码格式,如WIN2k,它的值为GBK),然后JDK就把我们的java源程序从f转载 2014-05-07 18:11:50 · 618 阅读 · 0 评论 -
解决# A fatal error has been detected by the Java Runtime Environment:
## A fatal error has been detected by the Java Runtime Environment:## Internal Error (classFileParser.cpp:3075), pid=15512, tid=20040# Error: ShouldNotReachHere()## JRE version: 6.0_16-b01转载 2014-05-09 14:38:33 · 2725 阅读 · 1 评论 -
java,awt,中文方框,中文乱码
用java开发一个带有托盘图标的程序,其它模块的中文显示都是正常的,比如:就只有托盘中点击小图标时弹出的菜单中的中文是方框(中文方块),如下:按照一般的经验,以为是字体没设置好,就用以下代码设置字体:Font f = new Font("u5faeu8f6fu96c5u9ed1", Font.PLAIN, 11);//宋体UIMana转载 2014-09-15 11:30:23 · 1364 阅读 · 1 评论 -
HTTP method GET is not supported by this URL
访问时,一直报错:type: Status reportmessage: HTTP method GET is not supported by this URLdescription: The specified HTTP method is not allowed for the requested resource (HTTPmethod GET is not转载 2014-10-23 15:05:27 · 603 阅读 · 0 评论 -
Premature end of file
java、dom解析xml时出现Premature end of file 错误,原因是xml文件后没有点 往文件里面加一个节点就好了<?xml version="1.0" encoding="utf-8"?>转载 2014-10-23 15:49:19 · 8479 阅读 · 0 评论