setSimplifiedScriptLine(1); //// TODO Insert code here
// TODO Insert code here
}
}
错误代码:
java.lang.NoClassDefFoundError: com.rational.test.ft.util.FtDebug (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at com.rational.test.ft.util.FtDebug.debug(FtDebug.java:180)
at com.rational.test.ft.sys.LoadNative.load(LoadNative.java:105)
at com.rational.test.ft.sys.GACUtility.<clinit>(GACUtility.java:23)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.rational.test.ft.application.RationalFtMain.performStaticInitialization(RationalFtMain.java:471)
at com.rational.test.ft.application.RationalFtMain.main(RationalFtMain.java:220)
at com.rational.test.ft.application.CommandLineApplication.run(CommandLineApplication.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.rational.test.ft.rational_ft.startFT(rational_ft.java:270)
at com.rational.test.ft.rational_ft.main(rational_ft.java:185)
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\SDP\FunctionalTester\bin\rtxivsys.dll (Invalid access to memory location. )
Attempting to load libftsys.so:
C:\Program Files\IBM\SDP\FunctionalTester\bin\libftsys.so (The specified module could not be found. )
Attempting to load libftsys.jnilib:
C:\Program Files\IBM\SDP\FunctionalTester\bin\libftsys.jnilib (The specified module could not be found. )作者: 张敏-lisa 时间: 2010-3-12 11:21 标题: 回复 2# 的帖子 请看三楼的代码和错误信息作者: dreamever 时间: 2010-3-12 17:06
1、那个 setSimplifiedScriptLine(1);方法我不知道是不是V8.1的方法,反正在v7.0里是没有的,如果这个方法是自己定义的,请检查一下相关的类是否已放到构建路径上;另外 ,我不知道你这段运行代码是不是从别的机器上直接拷过来的,如果是的话,检查一下环境变量是否正确吧。
2、Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\SDP\FunctionalTester\bin\rtxivsys.dll 。没说的,到这个目录下看看是否有rtxivsys.dll这个文件,实在不行考虑重装。
3、运行能出现这个错误,我总感觉在运行前RFT就已经应该报编译错误了。作者: 张敏-lisa 时间: 2010-3-12 17:51 标题: 回复 5# 的帖子 首先非常感谢您的回答。