intelliJ IDEA jar 中没有主清单属性

用 intelliJ IDEA 打 jar 包的时候碰到了这个问题,在 stack overflow 上碰到了。把路径从

src/main/java/META_INF/

改成

src/main/resources/META_INF/

即可。

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s