MyEclipse、Eclipse使用配置及部分问题
来源:互联网 发布:天使茶馆 知乎 编辑:程序博客网 时间:2024/05/02 03:48
MyEclipse、Eclipse使用配置及部分问题
简单总结一下myeclipse首次使用的配置,eclipse类似。总结的不是很全面,如有新的看法,欢迎下方留言。
最优设置
1、首先要激活,激活后查看 myeclipse-subscription information是否成功。myeclipse、eclipse程序及激活工具下载:点我
2、设置字符编码
window -> Preferences -> general -> Workspace -> Text file encoding选择Other,将新建工程属性编码改变为UTF-8。
window -> Preferences -> general -> Content Types选择Text树,点开,选择Java Source File。在下面的Default encoding输入框中输入UTF-8,按下Update按钮,则设置Java文件编码为UTF-8。
3、字体大小 背景颜色设置
window -> Preferences -> general -> appearance -> colors and fonts -> basic 最后fonts一项,设置,字体大小为12
window -> Preferences -> general -> editors -> text Editors ->background colors 去掉对勾,设为护眼绿。修改 R: 204 G: 232 B: 207 或者 色调:85;饱和度:123;亮度:205即可
4、设置自动提示
Windows→Preferences→Java→Editor→Content Assist;修改Auto Activation triggers for java的值为:.abcdefghijklmnopqrstuvwxyz(,
5、设置java源码--也可以不设 用的时候添加
windows--preferences--Java--installed jres --选中jre6--点击右边的edit--选中jre6/lib/rt.jar
点击右边的 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件,选择添加即可
6、添加jre、tomcat
在搜索框搜索installed JREs 、Tomcat。添加相关文件到myeclipse上。
7、设置创建JSP页面默认编码设为UTF-8:
Window -> Preferences -> MyEclipse -> Files and Editors -> JSP,将"Encoding"选为"ISO10646/Unicode(UTF-8)
8、关闭自动更新:
- Eclipse:首先进入Windows –> Perferences–> Install/Update -> Automatic Updates,不要勾选"Automatically find new updates and notify me"。
- Myeclipse:
Windows –> Perferences–> MyEclipse... -> Maven4MyEclipse,不要勾选"Download repository index updates on startup" 。
常见问题
1、从外部导入工程到myeclipse8.5报错:Background Indexer Crash Recovery java.lang
- Help > MyEclipse Configuration Center > Dashboard tab
- 在Add-ons下取消勾选:"MyEclipse IE Javascript Debugger (Windows Only)"
- 重启 在右下方的挂起面板(Pending Changes)选择:Apply 1 change 稍等···
2、关于JPEGImageEncoder的问题
修改Windows-Preferences-Java-Compiler-Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过了,是eclipse的设置问题。
3、org.apache.jasper.JasperException: Unable to compile class for JSP
【Window】->【Preferences】->【Java】->【Compiler】->【JDK Compliance level】->1.4调高到1.6编译版本
将项目和tomcat下的web->web->web-info->lib中的jsp-api.jar和servlet-api.jar删除,重启服务器,重新运行
- MyEclipse、Eclipse使用配置及部分问题
- Java eclipse Myeclipse tomcat安装及配置
- eclipse+myeclipse安装及环境配置
- Eclipse+MyEclipse安装及环境配置
- Eclipse+MyEclipse安装及环境配置
- Eclipse使用及配置
- MyEclipse使用技巧及问题
- Eclipse-MyEclipse-Tomcat配置的问题
- Myeclipse学习总结(7)——Eclipse插件之Maven配置及问题解析
- Eclipse或MyEclipse使用及快捷键
- ㈡Eclipse/MyEclipse使用Maven配置SpringMVC
- MyEclipse和Eclipse在使用中的问题
- MyEclipse 常用配置及使用技巧
- tomcat配置及如何结合myeclipse使用
- Jdk, myeclipse, eclipse, tomcat 的安装及环境配置java
- Eclipse使用问题及解决办法
- Eclipse 及 MyEclipse下载
- eclipse部分插件的安装及配置说明
- Cordova页面解析页面中script标签内容失败,Refused to execute inline script because it violates the following
- UI获取业务角色
- Linux下Mysql
- NoClassDefFoundError和ClassNotFoundException区别
- 七,一些字符串的处理加*号,去掉首尾多余输入的0和多余的小数点,设置属性文字
- MyEclipse、Eclipse使用配置及部分问题
- Android Studio工具Logcat
- 敏捷开发知识体系整体框架
- javascript的self和this使用小结
- Errors while building APK. You can find the errors in the 'Messages' view
- MySQL文件目录格式及存放位置
- 关于ORACLE的case when 嵌套语句
- Jasper+ireport动态报表学习(二)使用数据库作为数据源进行报表绘制
- 如何书写css 注释