{"id":23542,"date":"2025-04-19T08:01:38","date_gmt":"2025-04-19T00:01:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/23542.html"},"modified":"2025-04-19T08:01:38","modified_gmt":"2025-04-19T00:01:38","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%90%af%e5%8a%a8jar%e5%8c%85%e7%9a%84%e6%97%b6%e5%80%99%e6%8a%a5no-main-manifest-attribute%e5%bc%82%e5%b8%b8%e5%bf%ab%e6%8d%b7%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/23542.html","title":{"rendered":"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3)"},"content":{"rendered":"<p><span style=\"color:#ff9900\">\u6240\u4ee5,\u54e5\u4eec,\u53c8\u51fa\u73b0\u95ee\u9898\u54af.\u6ca1\u4e8b,\u6211\u4e5f\u51fa\u73b0\u4e86,\u54c8\u54c8\u54c8\u54c8\u54c8,csdn\u611f\u89c9\u592a\u9ebb\u70e6\u4e86,\u6240\u4ee5\u641e\u4e86\u4e00\u7bc7\u8fd9\u4e2a. \u6ca1\u5f97\u4e8b,\u5f80\u4e0b\u770b,\u5305\u89e3\u51b3\u7684.<\/span><\/p>\n<\/p>\n<p><span style=\"color:#4da8ee\">\u5e0c\u671b\u53ef\u4ee5\u5e2e\u52a9\u5230\u5404\u4f4d&#xff0c;\u611f\u8c22\u9605\u89c8&#xff01;<\/span><\/p>\n<p><span style=\"color:#4da8ee\">\u5c0f\u624b\u70b9\u4e2a\u8d5e&#xff0c;\u4f5c\u8005\u4f1a\u4e50\u70c2\u54c8\u54c8\u54c8\u54c8\u54c8\u54c8&#x1f606;&#x1f606;&#x1f606;&#x1f606;<\/span><\/p>\n<\/p>\n<h2>\u95ee\u9898\u63cf\u8ff0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"123\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419000137-6802e7e103a9f.png\" width=\"1200\" \/><\/h2>\n<p>\u542f\u52a8 jar \u5305\u7684\u65f6\u5019\u62a5\u9519no main manifest attribute\u201c\u5f02\u5e38<\/p>\n<p>\u8fd9\u6761\u9519\u8bef\u4fe1\u606f\u8868\u660e\u5728\u5c1d\u8bd5\u8fd0\u884cjava_gobang-0.0.1-SNAPSHOT.jar\u65f6\u9047\u5230\u4e86\u95ee\u9898&#xff0c;\u6ca1\u6709\u627e\u5230\u4e3b\u6e05\u5355\u5c5e\u6027\u3002\u5728Java\u4e2d&#xff0c;\u5f53\u8bd5\u56fe\u8fd0\u884c\u4e00\u4e2aJAR\u6587\u4ef6\u65f6&#xff0c;\u5b83\u9700\u8981\u5305\u542b\u4e00\u4e9b\u5fc5\u8981\u7684\u4e3b\u6e05\u5355\u5c5e\u6027&#xff0c;\u5c24\u5176\u662fMain-Class\u5c5e\u6027&#xff0c;\u8be5\u5c5e\u6027\u6307\u5b9a\u4e86JAR\u6587\u4ef6\u7684\u4e3b\u7c7b\u3002<\/p>\n<h4><span style=\"color:#7b7f82\">\u4e3b\u6e05\u5355\u5c5e\u6027\u7684\u7528\u9014<\/span><\/h4>\n<ul>\n<li><span style=\"color:#7b7f82\">Main-Class: \u6307\u5b9aJAR\u6587\u4ef6\u7684\u4e3b\u7c7b&#xff0c;\u5373\u7a0b\u5e8f\u7684\u5165\u53e3\u70b9\u3002<\/span><\/li>\n<li><span style=\"color:#7b7f82\">\u5176\u4ed6\u5e38\u7528\u5c5e\u6027\u8fd8\u5305\u62ecClass-Path&#xff08;\u6307\u5b9a\u7c7b\u8def\u5f84&#xff09;\u3001Manifest-Version&#xff08;\u6307\u5b9a\u6e05\u5355\u7248\u672c&#xff09;\u7b49\u3002<\/span><\/li>\n<\/ul>\n<h2>\u89e3\u51b3\u65b9\u6cd5<\/h2>\n<h3>1. \u751f\u6210\u5305\u542b\u4e3b\u7c7b\u7684\u6e05\u5355\u6587\u4ef6:<\/h3>\n<ul>\n<li>\n<p>\u73b0\u5728\u4e00\u822c\u4f7f\u7528Maven\u6216Gradle\u6784\u5efa\u9879\u76ee&#xff0c;\u53ef\u4ee5\u5728\u6784\u5efa\u914d\u7f6e\u4e2d\u6dfb\u52a0\u6e05\u5355\u6587\u4ef6\u7684\u914d\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u4e8eMaven&#xff0c;<span style=\"color:#fe2c24\">1.\u8981\u5728pom.xml\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e&#xff1a;(\u8981\u914d\u7f6e\u8fd9\u4e2a\u63d2\u4ef6)<\/span><\/p>\n<\/li>\n<li> 1&lt;build&gt;<br \/>\n2    &lt;plugins&gt;<br \/>\n3        &lt;plugin&gt;<br \/>\n4            &lt;groupId&gt;org.apache.maven.plugins&lt;\/groupId&gt;<br \/>\n5            &lt;artifactId&gt;maven-jar-plugin&lt;\/artifactId&gt;<br \/>\n6            &lt;version&gt;3.2.0&lt;\/version&gt;<br \/>\n7            &lt;configuration&gt;<br \/>\n8                &lt;archive&gt;<br \/>\n9                    &lt;manifest&gt;<br \/>\n10                        &lt;mainClass&gt;com.example.MainClass&lt;\/mainClass&gt;<br \/>\n11                    &lt;\/manifest&gt;<br \/>\n12                &lt;\/archive&gt;<br \/>\n13            &lt;\/configuration&gt;<br \/>\n14        &lt;\/plugin&gt;<br \/>\n15    &lt;\/plugins&gt;<br \/>\n16&lt;\/build&gt; <\/p>\n<p><span style=\"color:#956fe7\">\u8fd9\u91cc&#xff0c;&lt;mainClass&gt;\u6807\u7b7e\u5e94\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u7c7b\u5168\u9650\u5b9a\u540d\u3002\u7c7b\u4f3c\u5982\u4e0b:<\/span><\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"623\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419000137-6802e7e129358.png\" width=\"1088\" \/><\/p>\n<p><span style=\"color:#fe2c24\">(\u6ce8\u610f: \u8fd9\u91cc\u7684skip \u8981\u8bbe\u7f6e\u4e3a false\u00a0 \u6211\u5f53\u65f6\u95ee\u9898\u5c31\u51fa\u5728\u8fd9)<\/span><\/p>\n<p><span style=\"color:#ed7976\">&lt;skip&gt;true&lt;\/skip&gt;\u6807\u7b7e\u3002\u8fd9\u4f1a\u5bfc\u81f4Maven\u6784\u5efa\u8fc7\u7a0b\u4e2d\u8df3\u8fc7spring-boot-maven-plugin\u7684\u9ed8\u8ba4\u751f\u547d\u5468\u671f&#xff0c;\u8fd9\u610f\u5473\u7740\u4e0d\u4f1a\u81ea\u52a8\u521b\u5efa\u5305\u542bMain-Class\u5c5e\u6027\u7684\u53ef\u6267\u884cJAR\u6587\u4ef6\u3002\u6240\u6709\u8981\u4e48\u79fb\u9664,\u8981\u4e48\u8bbefalse<\/span><\/p>\n<ul>\n<li>\n<p>\u5bf9\u4e8eGradle&#xff0c;\u53ef\u4ee5\u5728build.gradle\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p> 1jar {<br \/>\n2    manifest {<br \/>\n3        attributes &#039;Main-Class&#039;: &#039;com.example.MainClass&#039;<br \/>\n4    }<br \/>\n5} <\/p>\n<p>\u540c\u6837\u5730&#xff0c;com.example.MainClass\u5e94\u66ff\u6362\u4e3a\u4f60\u7684\u4e3b\u7c7b\u5168\u9650\u5b9a\u540d\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>2. \u68c0\u67e5JAR\u6587\u4ef6\u7684\u6e05\u5355\u6587\u4ef6:<\/h3>\n<ul>\n<li>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00java_gobang-0.0.1-SNAPSHOT.jar\u6587\u4ef6\u4e2d\u7684META-INF\/MANIFEST.MF\u6587\u4ef6&#xff0c;\u68c0\u67e5\u662f\u5426\u6709Main-Class\u5c5e\u6027\u3002<\/li>\n<li>\u5982\u679c\u627e\u4e0d\u5230\u8be5\u6587\u4ef6\u6216\u5c5e\u6027\u7f3a\u5931&#xff0c;\u5c31\u521b\u5efa\u6216\u4fee\u6539\u8fd9\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p>\u624b\u52a8\u6dfb\u52a0\u6e05\u5355\u6587\u4ef6:\u521b\u5efa\u7684MANIFEST.MF\u6587\u4ef6\u5185\u5bb9\u5e94\u8be5\u50cf\u8fd9\u6837&#xff1a;<\/p>\n<p>\u5982\u679c\u4e0d\u4f7f\u7528\u6784\u5efa\u5de5\u5177&#xff0c;\u53ef\u4ee5\u624b\u52a8\u521b\u5efa\u4e00\u4e2aMANIFEST.MF\u6587\u4ef6&#xff0c;\u5e76\u5c06\u5176\u653e\u7f6e\u5728META-INF\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>1Main-Class: com.example.MainClass<br \/>\n2Manifest-Version: 1.0 <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u5728Java\u4e2d\uff0c\u5f53\u8bd5\u56fe\u8fd0\u884c\u4e00\u4e2aJAR\u6587\u4ef6\u65f6\uff0c\u5b83\u9700\u8981\u5305\u542b\u4e00\u4e9b\u5fc5\u8981\u7684\u4e3b\u6e05\u5355\u5c5e\u6027\uff0c\u5c24\u5176\u662f\u3002\u73b0\u5728\u4e00\u822c\u4f7f\u7528Maven\u6216Gradle\u6784\u5efa\u9879\u76ee\uff0c\u53ef\u4ee5\u5728\u6784\u5efa\u914d\u7f6e\u4e2d\u6dfb\u52a0\u6e05\u5355\u6587\u4ef6\u7684\u914d\u7f6e\u3002\u5c5e\u6027\u7684\u53ef\u6267\u884cJAR\u6587\u4ef6\u3002\u6807\u7b7e\u5e94\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u7c7b\u5168\u9650\u5b9a\u540d\u3002: \u6307\u5b9aJAR\u6587\u4ef6\u7684\u4e3b\u7c7b\uff0c\u5373\u7a0b\u5e8f\u7684\u5165\u53e3\u70b9\u3002\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e\uff1a(\u8981\u914d\u7f6e\u8fd9\u4e2a\u63d2\u4ef6)\u5c5e\u6027\uff0c\u8be5\u5c5e\u6027\u6307\u5b9a\u4e86JAR\u6587\u4ef6\u7684\u4e3b\u7c7b\u3002_no main manifest attribute, in demo-0.0.1-snapshot.jar<\/p>\n","protected":false},"author":2,"featured_media":23540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[166,99,123,43,125,44],"topic":[],"class_list":["post-23542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-jar","tag-java","tag-123","tag-43","tag-125","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/23542.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u5728Java\u4e2d\uff0c\u5f53\u8bd5\u56fe\u8fd0\u884c\u4e00\u4e2aJAR\u6587\u4ef6\u65f6\uff0c\u5b83\u9700\u8981\u5305\u542b\u4e00\u4e9b\u5fc5\u8981\u7684\u4e3b\u6e05\u5355\u5c5e\u6027\uff0c\u5c24\u5176\u662f\u3002\u73b0\u5728\u4e00\u822c\u4f7f\u7528Maven\u6216Gradle\u6784\u5efa\u9879\u76ee\uff0c\u53ef\u4ee5\u5728\u6784\u5efa\u914d\u7f6e\u4e2d\u6dfb\u52a0\u6e05\u5355\u6587\u4ef6\u7684\u914d\u7f6e\u3002\u5c5e\u6027\u7684\u53ef\u6267\u884cJAR\u6587\u4ef6\u3002\u6807\u7b7e\u5e94\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u7c7b\u5168\u9650\u5b9a\u540d\u3002: \u6307\u5b9aJAR\u6587\u4ef6\u7684\u4e3b\u7c7b\uff0c\u5373\u7a0b\u5e8f\u7684\u5165\u53e3\u70b9\u3002\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e\uff1a(\u8981\u914d\u7f6e\u8fd9\u4e2a\u63d2\u4ef6)\u5c5e\u6027\uff0c\u8be5\u5c5e\u6027\u6307\u5b9a\u4e86JAR\u6587\u4ef6\u7684\u4e3b\u7c7b\u3002_no main manifest attribute, in demo-0.0.1-snapshot.jar\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/23542.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T00:01:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419000137-6802e7e103a9f.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/23542.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/23542.html\",\"name\":\"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T00:01:38+00:00\",\"dateModified\":\"2025-04-19T00:01:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/23542.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/23542.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/23542.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/23542.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.8k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u5728Java\u4e2d\uff0c\u5f53\u8bd5\u56fe\u8fd0\u884c\u4e00\u4e2aJAR\u6587\u4ef6\u65f6\uff0c\u5b83\u9700\u8981\u5305\u542b\u4e00\u4e9b\u5fc5\u8981\u7684\u4e3b\u6e05\u5355\u5c5e\u6027\uff0c\u5c24\u5176\u662f\u3002\u73b0\u5728\u4e00\u822c\u4f7f\u7528Maven\u6216Gradle\u6784\u5efa\u9879\u76ee\uff0c\u53ef\u4ee5\u5728\u6784\u5efa\u914d\u7f6e\u4e2d\u6dfb\u52a0\u6e05\u5355\u6587\u4ef6\u7684\u914d\u7f6e\u3002\u5c5e\u6027\u7684\u53ef\u6267\u884cJAR\u6587\u4ef6\u3002\u6807\u7b7e\u5e94\u66ff\u6362\u4e3a\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u7c7b\u5168\u9650\u5b9a\u540d\u3002: \u6307\u5b9aJAR\u6587\u4ef6\u7684\u4e3b\u7c7b\uff0c\u5373\u7a0b\u5e8f\u7684\u5165\u53e3\u70b9\u3002\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e\uff1a(\u8981\u914d\u7f6e\u8fd9\u4e2a\u63d2\u4ef6)\u5c5e\u6027\uff0c\u8be5\u5c5e\u6027\u6307\u5b9a\u4e86JAR\u6587\u4ef6\u7684\u4e3b\u7c7b\u3002_no main manifest attribute, in demo-0.0.1-snapshot.jar","og_url":"https:\/\/www.wsisp.com\/helps\/23542.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T00:01:38+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419000137-6802e7e103a9f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/23542.html","url":"https:\/\/www.wsisp.com\/helps\/23542.html","name":"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T00:01:38+00:00","dateModified":"2025-04-19T00:01:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/23542.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/23542.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/23542.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u542f\u52a8jar\u5305\u7684\u65f6\u5019\u62a5\u201dno main manifest attribute\u201c\u5f02\u5e38(\u5feb\u6377\u89e3\u51b3)"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/23542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=23542"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/23542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/23540"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=23542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=23542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=23542"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=23542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}