![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
eclipse/myeclipse工具
scalad
github地址:https://github.com/scalad
展开
-
myeclipse错误 Creation of element failed
myeclipse错误 Creation of element failed问题描述:1、新建java文件时,总会报下面的错误网上搜了下,解决方案一:说是删除configuration下的update文件夹,我删了,重启后他又重新建立了相应的文件夹。解决方案二:说删除configuration下除config.ini这个文件不删,其他全部删除,重启后问题依然转载 2015-04-19 20:32:53 · 1253 阅读 · 0 评论 -
myeclipse解决js文件的报错
myeclipse中建立json文件报错web工程下建立了一个项目,需要用到json文件,但是建立了一个1.js,随便写点东西就报错了如图:内容如下:{"person":{"name":"silence","website":"thhp:://localhost:423","email":"123@baidu.com"} }myeclipse将会原创 2015-04-12 16:10:02 · 3419 阅读 · 1 评论 -
同一台电脑上多个myeclipse破解的问题
同一台电脑上安装多个myeclipse破解的问题 因为项目版本的问题,电脑上不得装了个myeclipe10版本的,但是破解之后,原来电脑上的myeclipse2014却显示没有激活,好吧,我又去把myeclipse2014重新激活了一遍,但是到了myeclipse10的确又变成未激活了。在网上溜了一大圈也没有找到决解方案。最后在网上看到了一位网友的方法,大致如下:原创 2015-04-16 00:04:30 · 3239 阅读 · 0 评论 -
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If
在eclipse启动tomcat时遇到超时45秒的问题: Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 网上转载 2015-07-31 13:13:03 · 11221 阅读 · 0 评论 -
The method find(String, Object[]) is ambiguous for the type
异常描述:Multiple markers at this line - The method find(String, Object[]) is ambiguous for the type BaseDaoI - Line breakpoint:UserServiceImpl [line: 81] - combobox(String)问题解析:转载 2015-08-18 17:30:00 · 6051 阅读 · 1 评论 -
Plug-in org.eclipse.jdt.ui was unable to load class
本文转自:http://www.pcming.com/Studio/html/07/n-807.htmlEclipse 在使用的时候忽然报错 out of memery 。重启动后什么都没有了,仅有几个file,edit之类的以及菜单,主窗口什么都没有,二级菜单几乎都是灰色。点windows菜单,首选项打开后进入java则报错。org.eclipse.jdt.ui.Ja转载 2015-10-06 09:25:42 · 14318 阅读 · 0 评论 -
Eclipse Xml编译错误Referenced file contains errors - spring-beans-4.0.xsd
在eclipse中,有时候在xml文件中,特别是于Spring相关的配置文件中,会出现一些不影响程序正常运行的编译错误,如:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd).可通过如下步骤解决这个编译错误:1. Spring的版转载 2015-10-07 14:09:40 · 6241 阅读 · 0 评论 -
Linux 下报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must解决方案
一、报错环境:在Linux mint下,前几天还用得很好的的eclipse,今天开机不知为什么这样。 Eclipse 3.6 在 linux mint 12 可以在终端顺利启动Eclipse,但是鼠标双击,或者用起动器启动就会出现如下的内容: A Java Runtime Environment (JRE) or Java Development Kit (JD转载 2015-10-26 22:00:56 · 4434 阅读 · 0 评论 -
myeclipse设置注释的模板
myeclipse设置注释模板使用myeclipse在开发项目时经常使用注释来标注一个方法的一些信息,为了保证注释的规范且为了提高效率,myeclipse可以自己定义代码的模板在myeclipse窗口下选择Window->Preferences->Java->Code Style->Code Templates,然后选择右边的Comments,我以其中的Methods举例:原创 2015-04-18 15:54:52 · 800 阅读 · 0 评论 -
Address already in use: JVM_Bind错误的解决
1,独立运行的Tomcat没有关闭.自安装的tomcat程序设置开机自动运行,或者在之前运行过,先关闭ecplipse或jbuilder,在任务管理器中找到Tomcat的进程,将其 kill掉,即可.有时候Tomcat非法关闭时,在进程中,仍然存在,仍然占用8080端口.所以只要将其进程杀掉.就可以解决.2,安装了其他的软件占用了Tomcat的端口.用可以查看端口的工具查看一下,或翻译 2014-12-31 08:03:57 · 806 阅读 · 0 评论 -
myeclipse错误: 找不到或无法加载主类
myeclipse中错误: 找不到或无法加载主类 test.test4。 所示的错误,表明需要在myeclipse中添加相应的jar包,但是原来的路径可能已经改变了,你需要手动的修改或者删除,右击你的项目,选择Properties,然后选择Java Build Path,看到带着叉的jar包,就说明这个包文件在指定路径下找不到这个文件。那么可以双击这它,找到库里面对应原创 2015-02-16 23:25:51 · 11845 阅读 · 1 评论 -
myeclipse运行tomcat自动运行debug模式
myeclipse中关闭tomcat时报错二月 26, 2015 4:49:56 下午 org.apache.catalina.startup.Catalina stopServer严重: Could not contact localhost:8005. Tomcat may not be running.二月 26, 2015 4:49:56 下午 org.apache.catal原创 2015-02-26 16:50:49 · 3842 阅读 · 0 评论 -
Java compiler level does not match the version of the installed Java project facet
由于Java编译器的水平不相匹配的版本的问题,经常出现该项目显示一个红色的x*(也可能是相应的jar文件的路径改变引起的),在window->show views->problems查看该问题的具体情况,如下:java compiler level does not match the version of the installed java project facet:决解方法原创 2015-02-28 18:13:24 · 667 阅读 · 0 评论 -
myeclipse设置tomcat所占jvm的内存大小
myeclipse设置tomcat所占jvm的内存大小解决JAVA内存溢出问题: windows-->preference-->MyEclipse-->Servers-->Tomcat-->Tomcatx.x-->JDK在右边的Optional Java VM arguments里加上:-Xms256m -Xmx512m其中-X是jvm的Head分配的参数-Xms为初始Heap原创 2015-02-15 19:03:41 · 1177 阅读 · 0 评论 -
The method getDispatcherType() is undefined for the type HttpServletRequest
web项目访问时就报错,新建的一个jsp文件里面没有任何的内容也报错,错误:The method getDispatcherType() is undefined for the type HttpServletRequest严重: Servlet.service() for servlet [jsp] in context with path [/studentManage] threw原创 2015-02-27 08:00:06 · 4029 阅读 · 0 评论 -
myeclipse打包jar文件
如果我们的计算机中安装了jre运行程序,我们就可以把我们的java程序打包成一个jar直接运行,这里我们介绍一下如何使用myeclipse来打包jar包在myeclipse中建立一个java project,名字为javademo在src建立demo1包,在该包中建立一个test.java程序,该程序输出hello world,然后保存。右击项目名称,选择export选原创 2015-03-07 13:08:10 · 878 阅读 · 0 评论 -
Java打包成jar文件,以及jar文件的运行+将jar文件导出为exe文件(看图说)
首先右键点击所要打包的工程,选择Export选项 选择JAR file,点击Next在要打包的工程前打钩,如上图红色所示;选择导出文件的目的地址,如图蓝色所示,包名随意,没有特定的要求;点击Next点击Browse选择到主类所在的上一个文件夹,别忘了填写File name(随意起名即可),点击OK;点击第四幅图的下转载 2015-03-08 00:24:59 · 772 阅读 · 0 评论