ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
java.sql.SQLException
at packagedatabase2.GradationTest.stubsGetConnection2(GradationTest.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jtest.internal.stubs.JUnitStubs.callStubMethod(JUnitStubs.java:499)
at jtest.internal.stubs.JUnitStubs.callStubLocal(JUnitStubs.java:360)
at jtest.internal.stubs.JUnitStubs.callStub(JUnitStubs.java:273)
at packagedatabase2.Gradation.getConnection(Gradation.java:10)
at packagedatabase2.GradationTest.testGetConnection2(GradationTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at com.parasoft.xtest.runner.api.java.RemoteTestRunner$1.runProtected(RemoteTestRunner.java:347)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at jtest.IndependentTestSuite$TestRunnerThread.run(IndependentTestSuite.java:256)
编号:string6姓名:string7性别:string8生日:string9
java.sql.SQLException
at packagedatabase2.GradationTest.testMain2(GradationTest.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at com.parasoft.xtest.runner.api.java.RemoteTestRunner$1.runProtected(RemoteTestRunner.java:347)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at jtest.IndependentTestSuite$TestRunnerThread.run(IndependentTestSuite.java:256)
Please use the supported interface: the JVM Tool Interface (JVM TI).
java.sql.SQLException
at packagedatabase2.GradationTest.stubsGetConnection2(GradationTest.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jtest.internal.stubs.JUnitStubs.callStubMethod(JUnitStubs.java:499)
at jtest.internal.stubs.JUnitStubs.callStubLocal(JUnitStubs.java:360)
at jtest.internal.stubs.JUnitStubs.callStub(JUnitStubs.java:273)
at packagedatabase2.Gradation.getConnection(Gradation.java:10)
at packagedatabase2.GradationTest.testGetConnection2(GradationTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at com.parasoft.xtest.runner.api.java.RemoteTestRunner$1.runProtected(RemoteTestRunner.java:347)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at jtest.IndependentTestSuite$TestRunnerThread.run(IndependentTestSuite.java:256)
编号:string6姓名:string7性别:string8生日:string9
java.sql.SQLException
at packagedatabase2.GradationTest.testMain2(GradationTest.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at com.parasoft.xtest.runner.api.java.RemoteTestRunner$1.runProtected(RemoteTestRunner.java:347)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at jtest.IndependentTestSuite$TestRunnerThread.run(IndependentTestSuite.java:256)
解决方案 »
- 求最大值,菜鸟,求教
- 如何指定弹出窗口的位置?(SWT开发)
- 请问如何把JProgressBar放进JTable指定的单元格中并动态显示进度状态,请附上代码,谢谢
- 关于java相对路径的问题,java.swing做的
- 有关多媒体编程的小问题
- 一个数据库操作等待比较长的时间,想弄个等待窗口,不知怎么用多线程实现,麻烦给个例子
- 如何在窗体初始化的时候不设置JdbTable控件中行的焦点!
- jsp文件中包含一个applet,如何把applet的运行结果传给jsp文件使用?
- xyloyout和jcomboxbo的一个很奇怪的问题
- 我在编译java文件时,加入了import javax.serlvet.http.*;提示出错,我用jdk131和jdk140都是这样
- 如何将字符串倒序输出?
- (新手)大家帮我看看我的资源管理器啊,实在是弄不出来了。
Please use the supported interface: the JVM Tool Interface (JVM TI).
java.sql.SQLException
该问题如何解决?
Technote (troubleshooting)
Problem(Abstract)
This technote explains how to resolve a JVMPI error that could occur in IBM® Rational® Purify®, Quantify®, or PureCoverage®.
Symptom
The following error is displayed when running any Java™ application: FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
For information on temporary workarounds contact: [email protected]
Error occurred during initialization of VM
-Xrun library failed to init: PureJVMPI
Purify'd application exited with code 1 (0x1).
Cause
All three of the IBM Rational PurifyPlus tools use the JVMPI to monitor Java code. As of Java 1.6 this interface is no longer available.
Resolving the problem
PurifyPlus does not currently support the 1.6 JVM. Please switch to a supported JVM. The latest list of supported JVM's can be found in the PurifyPlus release notes.
NOTE: Release Notes are found in the Doc folder of the PurifyPlus installation directory.