Cannot make a runnable .jar, classes "missing", thought I fixed _jar.xml
I cannot make a runnable .jar, the classes are missing, while in fact they are very much not. I found out that this can be caused by a bug in Intellij, some code might be missing in the _jar.xml.
So I added:
<element id="directory" name="META-INF">
<element id="file-copy" path="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" />
</element>
It didn't do didely squat.
So maybe MANIFEST.MF was not in the right place, now its in Main.resources.META-INF (its in src), but still no functional jar is produced.
My MANIFEST.MF reads;
Manifest-Version: 1.0
Main-Class: net.klingt.example.ProcessingExample
Maybe its something in the manifest file?
Please sign in to leave a comment.
Please attach a sample project to reproduce this problem.