zno2

随笔分类 -  Eclipse

1 2 下一页

Installed JREs & Compiler
摘要:已安装 1.7 和 1.8 (默认是1.8) Option Description Installed JREs The current listing of installed JREs, allowing you to select the one to act as the workspace 阅读全文

posted @ 2023-08-25 16:29 zno2 阅读(41) 评论(0) 推荐(0) 编辑

eclipse container encoding (console 乱码问题也可以如此解决)
摘要:项目编码总是 GBK ,继承自 container ,如何修改这个值呢 Window - Preferences - General - Workspace 阅读全文

posted @ 2023-06-01 16:51 zno2 阅读(16) 评论(0) 推荐(0) 编辑

select Dependency
摘要:pom.xml -> Dependencies -> Add.. -> Select Dependency 只要是workspace 中有的都可以过滤出来 scope 也是可选的,可以提高一些效率,避免手动敲打依赖 阅读全文

posted @ 2023-06-01 16:43 zno2 阅读(4) 评论(0) 推荐(0) 编辑

如何将自己习惯的配置带进新的 workspace
摘要:workspace1\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.workbench.prefs workspace2\.metadata\.plugins\org.eclipse.core.runtime 阅读全文

posted @ 2023-06-01 16:37 zno2 阅读(5) 评论(0) 推荐(0) 编辑

快速创建一个 Servlet 项目(2)
摘要:1. 新建一个 webapp 参考 http://www.cnblogs.com/zno2/p/5909019.html 2.调整jdk版本 修改 pom.xml 文件,将jdk 调整为适当的版本,比如 1.7 上面这个错误需要执行一下 maven - update project 3. 升级web 阅读全文

posted @ 2016-10-09 16:21 zno2 阅读(412) 评论(0) 推荐(0) 编辑

org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
摘要:顺藤摸瓜,查看Eclipse 使用的 maven版本 (Window - Preferences - Maven - Installations) 发现用的是内置版本3.3.9 查看官网 http://maven.apache.org/download.cgi 发现这个版本最低要求JDK 1.7 继 阅读全文

posted @ 2016-09-22 19:24 zno2 阅读(17834) 评论(0) 推荐(0) 编辑

Eclipse sysout 和 fore 不起作用
摘要:Content Assist ↑ 这是主角,可以快速生成语句。 sysout 快捷键之后生成了 System.out.println(); fore 快捷键之后生成了 for(String arg : args){}; 最近发现自己习惯使用的 Ctrl+/ 不好用了 原因是什么呢? 调查发现 Wor 阅读全文

posted @ 2016-09-21 14:47 zno2 阅读(468) 评论(0) 推荐(0) 编辑

STS启动失败:Failed to load the JNI shared library
摘要:版本位不一致 jdk 版本 ↓ eclipse 版本(%STS_HOME%/STS.ini) 阅读全文

posted @ 2016-09-20 17:13 zno2 阅读(1414) 评论(0) 推荐(0) 编辑

STS 闪退
摘要:以上是 hs_err_pid8560.log 文件的部分内容。 修改为java se 7 和 sts-3.7.0.RELEASE 后恢复正常。 阅读全文

posted @ 2016-08-05 18:11 zno2 阅读(561) 评论(1) 推荐(0) 编辑

Debug 时,执行语句
摘要:Display View The Display View displays the result of evaluating an expression in the context of the current stack frame. You can evaluate and display 阅读全文

posted @ 2016-08-05 18:10 zno2 阅读(260) 评论(0) 推荐(0) 编辑

eclipse 市场
摘要:http://marketplace.eclipse.org/ 如何找工具官网? 举例:UMLet 进入官网以后,下载插件,然后离线安装。 阅读全文

posted @ 2016-08-05 18:10 zno2 阅读(210) 评论(0) 推荐(0) 编辑

tomcat 无法clean 的bug
摘要:如果你打开类似这种的文件夹了,那恭喜你,你无法正常clean E:\e\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 请关闭文件夹后重试。 阅读全文

posted @ 2016-08-05 18:08 zno2 阅读(447) 评论(0) 推荐(0) 编辑

Open Type vs Open resource
摘要:Open Type 可查询所有java 类型,包括.java .class Open Resource 只能打开 .java 等 ,不能打开 .class 相同点 都可以使用 ? * 通配符 阅读全文

posted @ 2016-08-05 18:08 zno2 阅读(321) 评论(0) 推荐(0) 编辑

Cannot change version of project facet Dynamic Web Module to 2.4.
摘要:解决办法,找到项目目录,将.settings target .classpath .project 删除 重新引入项目 原因是 web.xml 文件里<web-app 里的与.settings 文件夹里的配置文件不一致。 以下为匹配的: vs 阅读全文

posted @ 2016-08-05 18:08 zno2 阅读(114) 评论(0) 推荐(0) 编辑

eclipse 修改字体
摘要:General - Appearance - Colors and Font 下 Basic - Text Font (影响xml、properties 等文本) Java - Java Editor Text Font (影响 Java Editor) 显示更多字体 - 选择具体字体 - 右键(显 阅读全文

posted @ 2016-08-05 18:08 zno2 阅读(105) 评论(0) 推荐(0) 编辑

org.eclipse.wst.common.project.facet.core.xml
摘要:Ctrl+Shift+R *core.xml 修改Dynamic Web module 由3.1 切至2.几 阅读全文

posted @ 2016-08-05 18:08 zno2 阅读(363) 评论(0) 推荐(0) 编辑

eclipse 导出可执行jar文件
摘要:step1: step2: step3: 结果: E:\executable\META-INF\MANIFEST.MF 测试: 注意问题,必须是.class文件(自行编译),否则导出jar失败。 阅读全文

posted @ 2016-08-05 18:07 zno2 阅读(130) 评论(0) 推荐(0) 编辑

m2e 插件
摘要:官网 http://www.eclipse.org/m2e/ 在线安装地址 http://download.eclipse.org/technology/m2e/releases 插件简介 Launching Maven builds from within Eclipse Dependency m 阅读全文

posted @ 2016-08-05 18:07 zno2 阅读(529) 评论(0) 推荐(0) 编辑

Type Hierarchy
摘要:Window - Preferences - General - Keys Name: Open Type Hierarchy Description: Open a type hierarchy on the selected element Binding: F4 When: In Window 阅读全文

posted @ 2016-08-05 18:07 zno2 阅读(209) 评论(0) 推荐(0) 编辑

JAVA&JS debug
摘要:JAVA Chrome Sources 如果当前代码所在文件页面为一界面 → →| ↓↑ ↓↑ 阅读全文

posted @ 2016-08-05 18:07 zno2 阅读(133) 评论(0) 推荐(0) 编辑

1 2 下一页

导航