首页 > 编程语言> > jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class Test not found
jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class Test not found
作者:互联网
python脚本中有调用java class文件Test.class
打包好的python程序,执行exe后报错: jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class Test not found
C:\Users\Administrator>D:\test\my_test.exe
Traceback (most recent call last):
File "my_test.py", line 57, in <module>
File "site-packages\jpype\_jclass.py", line 73, in JClass
jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class Test not found
[5876] Failed to execute script my_test 解决: 1.将打包后压缩包不要放到C盘,放到其他盘,然后解压 2.使用管理员方式运行
Traceback (most recent call last):
File "my_test.py", line 57, in <module>
File "site-packages\jpype\_jclass.py", line 73, in JClass
jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class Test not found
[5876] Failed to execute script my_test 解决: 1.将打包后压缩包不要放到C盘,放到其他盘,然后解压 2.使用管理员方式运行
标签:lang,java,jexception,test,Test,jpype,Class 来源: https://www.cnblogs.com/happy-xiaoxiao/p/10449335.html