Eclipse Error: Could not find or load main class opencv

Eclipse Error: Could not find or load main class opencv

我每次尝试 运行 jar 文件时都会收到这些错误 我按照这里提出的大多数问题都没有用 :(

每次导出 jar 文件时,我都会收到这些警告

enter image description here

这是我的 MANIFEST.MF

Manifest-Version: 1.0
Class-Path: .
Main-Class: gui_rec.Main

有什么建议吗?

尝试在您的 MANIFEST.MF 类 中指定包含在小程序或应用程序清单文件中的 the Class-Path header 字段。 Class-Path header 采用以下形式:

   Class-Path: jar1-name jar2-name directory-name/jar3-name

有关详细信息,请转到 link