8.3中的问题Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform 解决之后,执行还是会有报错:Unsupported major.minor version 51.0 jdk7编译的class文件放到基于jdk6运行在tomcat之中,就会报这个错. 解决起来也很方便:打开exclipse中项目上的属性—java compiler–选择一个合适的版本后重新编译即可. 具体步骤 解决:项目------>右键------>…
如果在执行脚本的时候出现以下错误: Getting the VisionProxy.dll: Can not find dependent libraries... 把Sikuli X 的libs目录添加到系统环境变量path下: path: ;C:\Program Files (x86)\Sikuli X\libs[我是安装在c盘,所以是这个目录] 编写测试代码 将sikuli-script.jar包添加到eclipse中. *参照http://www.cnblogs.com/fnng/p/4…
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,…
Springboot将accessToke写入Redisk 缓存,springboot集成Redis出现报错 No qualifying bean of type 'org.springframework.data.redis.connection.RedisConnectionFactory' 原因:我们在pom.xml中引入了spring-boot-starter-data-redis却没有引入redis.client 解决方式:增加redis client依赖即可 <dependency>…
用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的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…
报错截图如下 1.eclipse 添加 jre Window -> Preferences -> Java -> Installed JREs If you can’t find any JDK on the list -> click ‘Add’ -> ‘Standard VM’ -> set all paths and click ‘Finish’. After that – check this JDK on the list of installed JREs…
场景:在项目开发时,一个工程引用另一个工程中的文件,出现报错“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…
最近在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重新加上去,此时会…