Ask a question related to maven.

I have introduced a local jar package into my maven project, as shown in figure

clipboard.png

jarslf4jslf4j:

clipboard.png

is there a way to sort the slf4j referenced in my jar package? exclusions should not work here.

Mar.31,2021

Hello, reply to the invitation to answer the question.
1. Have you tried exclustions? Really? Here are two references
remove the slf4j of zookeeper
maven dependency leads to package repeated loading and conflicts

2, maven method to remove repeated reports-use plugin

<groupId>org.apache.maven.plugins</groupId>

    <artifactId>maven-war-plugin</artifactId>

    <version>2.0.2</version>

    <configuration>

          <warSourceExcludes>WEB-INF/lib/javassist-3.11.0.GA.jar</warSourceExcludes>

   </configuration>

or you can replace groupId,. I hope it helps you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea1ce8-4795b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea1ce8-4795b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?