FrankCy commented on issue #2582:
URL: 
https://github.com/apache/logging-log4j2/issues/2582#issuecomment-2119548631

   > @FrankCy, could you share with us a _minimal_1 `pom.xml` and a Java file 
containing a `main()` method that we can run to reproduce the problem, please?
   > 
   > 1 _Minimal_ as in including a dependency if and only it is related with 
the problem; no other dependencies, plugins, properties, etc. that are 
irrelevant with the problem.
   
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0";
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
       <parent>
           <artifactId>frank-check-middleware</artifactId>
           <groupId>org.example</groupId>
           <version>1.0-SNAPSHOT</version>
           <relativePath>../../pom.xml</relativePath>
       </parent>
       <modelVersion>4.0.0</modelVersion>
   
       <artifactId>rocketmq-producer-and-consumer</artifactId>
   
   
       <properties>
           <maven.compiler.source>8</maven.compiler.source>
           <maven.compiler.target>8</maven.compiler.target>
           <netty-version>4.1.38.Final</netty-version>
       </properties>
   
       <dependencies>
           <dependency>
               <groupId>org.apache.rocketmq</groupId>
               <artifactId>rocketmq-spring-boot-starter</artifactId>
           </dependency>
   
           <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
           <dependency>
               <groupId>com.google.guava</groupId>
               <artifactId>guava</artifactId>
           </dependency>
           <!-- https://mvnrepository.com/artifact/dnsjava/dnsjava -->
           <dependency>
               <groupId>dnsjava</groupId>
               <artifactId>dnsjava</artifactId>
               <version>2.1.1</version>
           </dependency>
           
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-data-redis</artifactId>
               <version>2.2.13.RELEASE</version>
               <exclusions>
                   <exclusion>
                       <groupId>ch.qos.logback</groupId>
                       <artifactId>logback-classic</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.commons</groupId>
               <artifactId>commons-pool2</artifactId>
           </dependency>
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-web</artifactId>
           </dependency>
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-test</artifactId>
           </dependency>
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-log4j2</artifactId>
           </dependency>
   
           <!-- apollo -->
           <dependency>
               <groupId>com.ctrip.framework.apollo</groupId>
               <artifactId>apollo-client</artifactId>
               <version>1.4.1</version>
           </dependency>
   
           <dependency>
               <groupId>org.projectlombok</groupId>
               <artifactId>lombok</artifactId>
           </dependency>
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-actuator</artifactId>
           </dependency>
       </dependencies>
   
       <build>
           <plugins>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <version>${maven-compiler-plugin.version}</version>
                   <configuration>
                       <source>${maven-compiler-source.version}</source>
                       <target>${maven-compiler-target.version}</target>
                   </configuration>
               </plugin>
               <plugin>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-maven-plugin</artifactId>
                   <executions>
                       <execution>
                           <goals>
                               <goal>repackage</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
           </plugins>
       </build>
   
   </project>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to