First of all, I would like to share with you a tutorial on artificial intelligence of Giant cow giant cow, which I found by accident. The course is not only zero basis, easy to understand, but also very funny humor, and from time to time there are connotation jokes, like reading a novel, haha ~ I am learning, I think it is too great, so to share with you! Click here to jump to the tutorial
Failed to load main-class manifest Attribute from… , this is due to the program is not set up to run the entry program.
Right-click on your JAR file, select Open mode — Winrar — to open the Meta-INF folder, and double-click on the MANIFEst.MF file inside. When you open it, you will see that there is only manifest-Version: 1.0 and no main-class: XXX configuration.
The solution —
Reopen your Eclipse, select the project that requires Export, right-click Export, and select Java –JAR File
After selecting the items you want to export, click Next – Next and go to the following page:
Notice the Main class :(you definitely don’t have any text), click Browse, select your Main function, and then finish.
Browse the artificial intelligence tutorial
Read More:
- When jar file is running: Failed to load Main-Class manifest attribute from ……Solution
- Idea error: unable to find or load the main class
- Java error: unable to find or load the main class
- Could not find or load main class
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- Error: Could not find or load main class ***
- The shell runs the class file and imports the jar package that the class depends on
- Error: could not find or load main class
- The Java command could not find or load the main class
- [Memo] HTML5 Manifest file Application Cache Error event: Manifest fetch failed (-1) error
- Tomcat9 Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
- Error running Eclipse: failed to load the JNI shared library
- Error: importerror: DLL load failed: the page file is too small to complete the operation.
- Error response from daemon: manifest for *** not found: manifest unknown: manifest unknown
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- An error is reported when the less file is introduced into main.js
- Spring boot running appears java.lang.IllegalStateException : Failed to load ApplicationContext
- Zip to decompress the jar package, like the add file in the jar package