摘要: eclipse如何修改dynamic web module version 一、修改工程属性: 右键eclipse的工程,选择属性,再选择Project Facets里面中选择Dynamic Web Module ,将3.0修改为2.5,可能会提示如下信息:Cannot change version 阅读全文
posted @ 2012-07-30 15:44 zhenxu.liu 阅读(1120) 评论(1) 推荐(0) 编辑
摘要: Error: 1.Version 1.4 of the JVM is not suitable for this project.Version 1.5 or greater is required. 2.Required Java version: 1.4.1. Available: 1.3.1. 阅读全文
posted @ 2012-07-30 10:36 zhenxu.liu 阅读(593) 评论(0) 推荐(0) 编辑
摘要: Failed to create the Java Virtual Machine的本质是JVM内存分配不足。 启动eclipse的时候,JVM会自动分配内存,常见的包括Java堆,新生代和永久代的内存,这些内存分配均配置在eclipse.ini中,随着Eclipse的启动传入这些参数,通过这些参数 阅读全文
posted @ 2012-07-30 10:35 zhenxu.liu 阅读(214) 评论(0) 推荐(0) 编辑
摘要: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1ORA-12705: Cannot access NLS data files or invalid environment specified MyEc 阅读全文
posted @ 2012-07-30 10:33 zhenxu.liu 阅读(3328) 评论(0) 推荐(0) 编辑
摘要: Eclipse / Myeclipse中SQL语句字符大小写转换 编写SQL语句,比较好的编码习惯是将关键字和函数等语义元素用大写字母,而表名、字段名等非语义的元素使用小写字母方式。如下: SELECT id, content FROM t_baidu WHERE id = <XXX> AND co 阅读全文
posted @ 2012-07-30 10:32 zhenxu.liu 阅读(1184) 评论(0) 推荐(0) 编辑
摘要: Question: Access restriction: the type * is not accessible due to restriction on required library *.jar Access restriction:The method * is not accessi 阅读全文
posted @ 2012-07-30 10:31 zhenxu.liu 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Error: 1、Some projects cannot be imported because they already exist in the workspace 2、Some projects were hidden because they exist in the workspace 阅读全文
posted @ 2012-07-30 10:25 zhenxu.liu 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: Error: Myeclipse中的Java EE5.0项目中不能使用JSTL标签 Accuse: 创建JavaEE5.0项目时默认把jstl包添加到MyEclipse的jar库中,不在程序的lib文件夹下,也并没有添加到构建路径中。 Action: 在目录“C:\Program Files\Gen 阅读全文
posted @ 2012-07-30 10:22 zhenxu.liu 阅读(461) 评论(0) 推荐(0) 编辑
摘要: Error: myeclipse不能编译java文件,myeclipse不能生成class文件,运行报noclassDefFoundError Exception Description: 周六在家调试Java Web项目,运行时候报can not find class 异常,可是所有的java类我 阅读全文
posted @ 2012-07-30 09:53 zhenxu.liu 阅读(4466) 评论(0) 推荐(0) 编辑
摘要: Description: 做软件开发的,没有不从别人那里copy项目学习的,但是有的时候copy过来的项目却出现乱码,如何解决? 一般我们都知道修改这个项目的编码方式或者这个文件的编码方式,最常见的就是由中文格式的GBK或者GB2312转换到UTF-8编码方式。这个大家都应该 会的。但是现在一个更为 阅读全文
posted @ 2012-07-30 09:49 zhenxu.liu 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 一、Windows环境: 在用eclipse debug 时忽然碰到一个错误“cannot connect to VM” ,异常信息如下:FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ER 阅读全文
posted @ 2012-07-30 09:43 zhenxu.liu 阅读(951) 评论(0) 推荐(0) 编辑
摘要: Myeclipse 默认情况下 JSP 文件会被以视图方式显示,这种方式虽然页面效果直观,但效率低,打开速度慢,浪费资源。可以将视图模式设置为文字模式,方法如下: Myeclipse->preferences->General->editors->Files Associations(位置根据具体e 阅读全文
posted @ 2012-07-30 09:42 zhenxu.liu 阅读(691) 评论(0) 推荐(0) 编辑