1.问题 Description Resource Path Location Type Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix. eduweb line 1 Maven Configuration Problem 2.解决 右键项目,[Maven]-->[Update…
Eclipse报错 due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方案 Eclipse 编译时报错: Access restriction:The type NEW is not accessible due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方法如下: 1.进入Project -…
最近离职来了一家新公司,之前的公司的开发IDE用的是IntelliJIDEA和SpringSourceToolSuit,自己在家里用的也是MyEclipse,所以使用eclipse的经验还是不足.结果在我配置好了jdk之后,双击eclipse,会出现报错Version 1.6.0_45 of the JVM is not suitable for this product. Version:1.7 or greater is required. 这个错误,说的是JVM要求的jdk的版本是1.7,…
最近在eclipse中,使用svn导入svn上的一个maven项目,但是导入后类的包并没有以源码包的方式显示,而是以普通文件包的方式显示出来,在对类进行F3等操作时就报错:“the resource is not on the build path of a java project”. 这种情况的原因是在该工程的构建路径中找不到该类. 解决方法: 1. 找到Java Build Path下面的src下的文件remove掉(如果src包没有正常显示),然后再Add Folder重新加上去,此时会…
最近把Eclipse的maven插件从m2eclipse更新到m2e后出了一些莫名其妙的的问题.今天又出了一个,就是Eclipse新建的Maven Web project在tomcat里启动后报错,具体报错信息如下: 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test1' did not find a ma…
Shell代码 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test1' did not find a matching property. 对于这个问题,网上很多人给出的原因和解决方案如下: 写道 出现SetPropertiesRule警告的原因是因为Tomcat在server.xml的Context节…
场景:在项目开发时,一个工程引用另一个工程中的文件,出现报错“XX cannot be resolved to a type”,但是在实际通过跟踪“F3”能够找到相应的文件,最终用方法4解决. 引言: eclipse新导入的项目经常可以看到“XX cannot be resolved to a type”的报错信息.本文将做以简单总结. 正文: 1 jdk不匹配(或不存在 ) 项目指定的jdk为“jdk1.6.0_18”,而当前eclipse使用的是“jdk1.6.0_22”.需要在BuildP…
好久都没有写博了,还记得自己准备考研,结果你会发现——你永远不知道,你将会走上哪个路. 长远的目标是好的,但有些时候身不由己也迫不得已!做好自己的当下就是好的. 不论搞什么,总会遇到各种各样的问题,以下便是今天遇到的: XX cannot be resolved to a type 搞JIRA插件开发的时候,由于重启了一下ECLIPSE,导致出现了N多的红X,出现了以上的问题. 以下是我在网上搜到的:我采用了第三种方法,解决: 引言 eclipse新导入的项目经常可以看到“XX cann…
用eclipse启动genymotion时有时候会报 The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'E:\setups\android\android-2.1_r01-windows\tools\adb.exe' and can be executed.…
Eclipse中tomcat部署工程启动后报错: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.W…
Eclipse中tomcat部署工程启动后报错: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.W…