windows->preference->General->editor->Text file encoding ->EUC-JP
设置Eclipse3.1.1的所有工程的字符集阅读全文>
发表于 @ 2006年03月27日 16:56:00|评论(loading...)|编辑|收藏
Eclipse工程以前使用jdk1.4,现在使用jdk5.需要修改哪些地方呢?
1,window->preference->Java->Install Jres->指定jdk的安装目录。
2,window->preference->java->compiler->JDK Compliance->Complier compliance level ->指定为5.0.
3,window->preference->tomcat->JVM Setting->JRE修改成第一步安装JRE。
4,工程右健-〉properties->Build Path->目标制定/webname/classes
阅读全文>
发表于 @ 2006年03月27日 14:59:00|评论(loading...)|编辑|收藏
Eclipse的Debuge工具十分精致,但是有时候莫名其妙地程序跟踪过程没有绿色的焦点了,很不方便。
解决的办法是:
Eclipse ->window -> Preference -> tomcat - > sourcePath -> 去掉Auto Compute Source Path 的选择,选中
底下的具体项目。Ok,焦点又出现了。
阅读全文>
发表于 @ 2006年03月23日 19:39:00|评论(loading...)|编辑|收藏
Eclipse+Hibernate开发时遇到的一个异常net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: cn.sintal.model.BBusinessman。好一顿查找阅读全文>
发表于 @ 2005年11月04日 13:48:00|评论(loading...)|编辑|收藏