随笔分类 - Eclipse
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
摘要:在Eclipse中Maven install一个项目失败,提示: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK 解决方案: Window-->Prefer
阅读全文
maven依赖关系中Scope的作用
摘要:maven依赖关系中Scope的作用 Dependency Scope 在POM 4中,<dependency>中还引入了<scope>,它主要管理依赖的部署。目前<scope>可以使用5个值: * compile,缺省值,适用于所有阶段,会随着项目一起发布。 * provided,类似compil
阅读全文
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved
摘要:CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resol
阅读全文
org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir异常解决方法
摘要:myeclipse用svn提交的时候报错: Attempted to lock an already-locked dir svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emreso
阅读全文
eclipse部署web项目至本地的tomcat但在webapps中找不到
摘要:在eclipse中新建Dynamic Web Project,配置好本地的tomcat并写好代码后选择Run on Server,但运行后发现在tomcat的安装目录下的webapps并没有出现所建立的工程名字。 而默认部署到工作空间下的.metadata\.plugins\org.eclipse.
阅读全文
build path功能详解
摘要:在项目上右键》Build path》Config build path “web project”中,一般把"src"设置为source folder,把WEB-INF/classes设置为output folder;(以上为web project) 1、Source设置"source folder
阅读全文
MANIFEST.MF的用途(转载)
摘要:可以用的上的有: 可以用的上的有: 1. Main-Class 指定程序的入口,这样可以直接用java -jar xxx.jar来运行程序。 2. Class-Path 指定jar包的依赖关系,class loader会依据这个路径来搜索class。 我平时用mf文件一般说来都是让jar成为可以直接
阅读全文
SVN功能详解
摘要:SVN功能详解 SVN功能详解 SVN功能详解 TortoiseSVN是windows下其中一个非常优秀的SVN客户端工具。通过使用它,我们可以可视化的管理我们的版本库。不过由于它只是一个客户端,所以它不能对版本库进行权限管理。 TortoiseSVN不是一个独立的窗口程序,而是集成在windows
阅读全文
打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different one“
摘要:原因:出现这种情况一般是workspace的配置文件中出现了.lock文件(workspace/.metadata/.lock),锁定了workspace。把.lock文件删除即可。如果该文件不能删除,可能是因为javaw.exe进程未结束,结束该进程及eclipse.exe进程即可删除。正常情况下...
阅读全文
Project facet Java version 1.8 is not supported.
摘要:Eclipse中添加项目到Servers中时提示“Project facet Java version 1.8 is not supported.”解决方案:方法一:选中项目,右键roperties》选择 Project Facets,右击选择 Java , Change Version 即可方法二...
阅读全文
Project facet Java 1.8 is not supported by target runtime Apache Tomcat v7.0.
摘要:找到项目下的“.settings”打开“org.eclipse.wst.common.project.facet.core.xml”文件删除掉“”
阅读全文
Target runtime Apache Tomcat v6.0 is not defined.错误解决方法
摘要:从截图中可以看到:工程里没有文件错误,也没有语法错误解决方法:在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,与其他正常的项目中的文件作比较,发现多了红框中的内容,删除该内容,重启Eclipse就正常了
阅读全文
FindBugs插件的安装与使用
摘要:转载:http://www.cnblogs.com/kayfans/archive/2012/06/18/2554022.html1 什么是FindBugsFindBugs 是一个静态分析工具,它检查类或者 JAR 文件,将字节码与一组缺陷模式进行对比以发现可能的问题。有了静态分析工具,就可以在不实...
阅读全文
Eclips安装SVN插件
摘要:1.eclipse -> Help ->Install New Software->add 2.弹出窗的"Name"和"URL"中输入如下内容,点击OK Name: Subclipse 1.6.x (Eclipse 3.2+) URL: http://subclipse.tigris.org/upd
阅读全文
Target runtime Apache Tomcat v6.0 is not defined.
摘要:解决办法:在工作台目录下找到自己操作的项目的文件夹/.settings/org.eclipse.wst.common.project.facet.core.xml将删除,保存即可解决。
阅读全文
Eclipse SVN修改用户名和密码
摘要:问题描述: Eclipse的SVN插件Subclipse做得很好,在svn操作方面提供了很强大丰富的功能。但到目前为止,该插件对svn用户的概念极为淡薄,不但不能方便地切换用户,而且一旦用户的帐号、密码保存之后,就无法再变更了。解决思路: 既然界面上不能进行修改,那就只有删除subclipse记录的...
阅读全文
Eclipse重命名项目名后如何彻底修改工程名
摘要:背景:在Eclipse中当我们修改了一个Web项目名称后,在再次运行该项目,发现使用新的名称无法正常的浏览,而用旧的名称去可以解决方案:1:修改该项目目录下:.project文件 PAW-VRVEIS-JJ-2.0-XIN 2.选中项目--->> 右键--->> P...
阅读全文