Pom File show Unable to migrate org.apache.xmlbeans: xmlbeans: jar: 2.6.0

By adding poi-ooxml dependency my pom file shows me an error

Failed to upload org.apache.xmlbeans: xmlbeans: jar: 2.6.0 from https://repo.maven.apache.org/maven2 was cached in local repository, permission will not be re-downloaded until update interval expires center item or will not be forced to update. Original error: Could not transfer artifact org.apache.xmlbeans: xmlbeans: jar: 2.6.0 from / to central ( https://repo.maven.apache.org/maven2 ): repo.maven.apache.org

      <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi-ooxml</artifactId>
        <version>3.12</version>
    </dependency>

      

Please suggest.

+3


source to share


1 answer


Get the answer First remove the dependency for the local .m2 repository and follow these steps Go to project-> Maven-> update project-> Check ForceUpdate and release snapshots



+2


source







All Articles