maven pom ERROR “Cannot find 'mainfest' in class org.apache.maven.archiver.MavenArchiveConfiguratio”

Copyright notice: reproduced please indicate the source. https://blog.csdn.net/u010720408/article/details/91048696

eclipse edit pom file errors:

Cannot find 'mainfest' in class org.apache.maven.archiver.MavenArchiveConfiguration

Solutions to try:

First: maven-jar-plugin version reduced from 3.2 to 2.6 version, not

Re: Try low version of spring-boot-starter-parent, not

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.5.10.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

Finally: it is found to manifest a word they maven-jar-plugin spelling wrong, wrong written mainfest, correct enough

Later also found a similar situation manifestEntries, classpathPrefix are misspelled, hey! Then all Can not find 'xxx' in class model, so it typically is most likely misspelled word, or drain configuration properties need to be configured

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/u010720408/article/details/91048696