随笔分类 -  Eclipse

摘要:workspace可能有出错的项目,把他从workspace移出 阅读全文
posted @ 2014-11-07 18:20 LeonGo 阅读(154) 评论(0) 推荐(0)
摘要:使用sts时,文件编码都设置成了UTF-8,使用system.out.println输出汉字时,出现乱码。解决方案:run>run configurations>common>encoding修改为gbk就可以了。 阅读全文
posted @ 2014-11-05 08:43 LeonGo 阅读(400) 评论(0) 推荐(0)
摘要:未与 -source 1.6 一起设置引导类路径没有处理程序要使用以下任何注释:javax.persistence.PersistenceContext在eclipse里将jre runtime library设置为1.7 阅读全文
posted @ 2014-10-23 16:31 LeonGo 阅读(3418) 评论(0) 推荐(0)
摘要:运行 mvn clean然后refresh项目 阅读全文
posted @ 2014-10-23 16:22 LeonGo 阅读(327) 评论(0) 推荐(0)
摘要:window->preferences->Server->Runtime Environment->edit->配置正确的安装目录Run->run configurations修改Arguments\ClassPath tab的配置目录为正确目录 阅读全文
posted @ 2014-09-18 18:31 LeonGo 阅读(363) 评论(0) 推荐(0)
摘要:window->web browser->0,1,2,3... 阅读全文
posted @ 2014-09-18 09:08 LeonGo 阅读(278) 评论(0) 推荐(0)
摘要:这是文件系统不同步的问题,是因为在eclipse或mycelipse之外对工程中的resource进行修改引起的(或者是由不同的系统间对文件进行修改引起的);但是,有时没有在eclipse或mycelipse之外进行修改,也会报类似的错误。解决办法:需要手动刷新一下资源管理器。(1)在eclipse... 阅读全文
posted @ 2014-09-17 10:59 LeonGo 阅读(346) 评论(0) 推荐(0)
摘要:1、java智能提示(1). 打开Eclipse,选择打开" Window - Preferences"。(2). 在目录树上选择"Java-Editor-Content Assist",在右侧的"Auto-Activation"找到"Auto Activation triggers for jav... 阅读全文
posted @ 2014-09-04 12:10 LeonGo 阅读(2303) 评论(0) 推荐(0)