You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yugant H Shah (JIRA)" <ji...@apache.org> on 2017/12/16 19:47:00 UTC

[jira] [Comment Edited] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot

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

Yugant H Shah edited comment on MCOMPILER-318 at 12/16/17 7:46 PM:
-------------------------------------------------------------------

Attached is the log of mvn clean install.

Now getting error :
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project services: Fatal error compiling: java.lang.NoSuchFieldError: pid -> [Help 1]


was (Author: yushah):
Attached is the log of mvn clean install

> 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-cleanup.zip, JigsawTest.zip, a.txt
>
>
> 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)