maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
Date Fri, 15 Dec 2017 11:20:00 GMT

    [ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292369#comment-16292369
] 

Robert Scholte commented on MCOMPILER-318:
------------------------------------------

It seems to be a lombok issue, running it with an additional {{-e}} I get
{noformat}
Caused by: java.lang.NoSuchFieldError: pid
    at lombok.javac.JavacAST.packageDeclaration (JavacAST.java:107)
    at lombok.javac.JavacAST.<init> (JavacAST.java:81)
    at lombok.javac.JavacTransformer.transform (JavacTransformer.java:67)
    at lombok.javac.apt.Processor.process (Processor.java:250)
    at lombok.core.AnnotationProcessor$JavacDescriptor.process (AnnotationProcessor.java:115)
    at lombok.core.AnnotationProcessor.process (AnnotationProcessor.java:165)
    at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.process (AnnotationProcessor.java:58)
    at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:968)
{noformat}

> Groovy files not been compiled when used with java9 spring boot
> ---------------------------------------------------------------
>
>                 Key: MCOMPILER-318
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-318
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.6.2, 3.7.0
>            Reporter: Yugant H Shah
>            Priority: Critical
>         Attachments: JigsawTest.zip
>
>
> Compiling java9+ groovy + maven code base does not compile groovy files.
> Attached is the sample project
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
(default-compile) on project api: Compilation failure: Compilation failure:
> [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, or on patch
path for module
> [ERROR] /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32]
cannot find symbol
> [ERROR] symbol:   class GroovyService
> [ERROR] location: package com.allstate.jigsaw
> [ERROR] -> [Help 1]
> [ERROR] 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message