蓝白 created MNG-6461:
-----------------------

             Summary: lombok + assembly + jar 打包冲突
                 Key: MNG-6461
                 URL: https://issues.apache.org/jira/browse/MNG-6461
             Project: Maven
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 3.5.4
         Environment: win10, jdk8,maven 3.5.4
            Reporter: 蓝白
         Attachments: aa.log

项目依赖:

 spring boot 2.0.4

lombok  1.16.22

使用了maven-assembly +  maven-jar-plugin后打包失败。

因为有一个类既有有参构造函数并且增加了@NoArgsConstructor注解,导致maven编译失败。

报错信息如下:

Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: 
Compilation failure 
/C:/Users/fengz/Desktop/project/demo-web/src/main/java/com/demo/web/page/PagingInfo.java
 :[24,1]已在类com.demo.web.page.PagingInfo中定义了构造器PagingInfo()



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to