
java解决错误
16个夏天
默默地。。。
展开
-
editor dose not contain a main type
右击这个class所在包的上一级目录(src)--build path--use as source folder,这样就解决问题了。重新打开class,再run一下,ok了。原创 2015-07-10 10:09:00 · 571 阅读 · 0 评论 -
org.testng.TestNGException: Cannot find class in classpath
project---->clean原创 2015-07-10 10:26:23 · 2825 阅读 · 0 评论 -
JVMPI, an experimental interface, is no longer supported.
一个测试的朋友安装eclipse后,打不开,jdk配置没有问题,cmd--输入命令Java后出现错误JVMPI, an experimental interface, is no longer supported. 找到原因:由于她电脑上安装了QTP软件,导致虚拟机不能运行,在环境变量中找到并删除'_JAVA_OPTIONS'项配置,就OK了。原创 2015-10-20 18:06:09 · 534 阅读 · 0 评论