摘要: 安装Maven后每次启动出现警告信息:Eclipse is running in a JRE, but a JDK is requiredSome Maven plugins may not work when importing projects or updating source folders.分两步解决问题:1. 检查Eclipse正在使用的JRE‘Window’ -> ‘Preferences’ -> ‘Java’ -> ‘Installed JREs’ 确定正在使用JDK而非JRE.如果没有JDK, 则先新增一个Standard VM.2. 配置Eclipse. 阅读全文
posted @ 2012-12-18 15:34 jerome.rong 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Eclipse 3.7 发布好一段时间,m2e(clipse) 插件稳定版一直没有发布,之前一直在用3.6版本的Eclipse没有发现版本不兼容的问题,今天下载了3.7版本后发现居然不能在Install New SoftWare的时候安装不了,郁闷了好一阵,折腾了半天,终于搞出来,与君分享下。一、插件地址 1、先安装gef插件 地址:http://download.eclipse.org/tools/gef/updates/interim/ 选择3.7版本下载,maven插件安装的时候会依赖依赖这个插件,没有的会有错误,信息如下:Java代码 Cannotcompletetheinstallb 阅读全文
posted @ 2012-12-18 15:24 jerome.rong 阅读(2333) 评论(0) 推荐(1) 编辑
摘要: 今天在Eclipse上安装maven插件时遇到了如下的错误:Cannot complete the install because one or more required items could not be found. Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712) Missing requirement: Maven Int.. 阅读全文
posted @ 2012-12-18 14:32 jerome.rong 阅读(13211) 评论(0) 推荐(0) 编辑
摘要: 经常在eclipse中导入web项目时,出现转不了项目类型的问题,导入后就 是一个java项目,有过很多次经历,今天也有同事遇到类似问题,就把这个解决方法记下来吧,免得以后再到处去搜索。解决步骤:1、进入项目目录,可看到.project文件,打开。2、找到<natures>...</natures>代码段。3、在第2步的代码段中加入如下标签内容并保存:<nature>org.eclipse.wst.common.project.facet.core.nature</nature><nature>org.eclipse.wst.comm 阅读全文
posted @ 2012-12-18 10:07 jerome.rong 阅读(41728) 评论(4) 推荐(0) 编辑