cancel
Showing results for 
Search instead for 
Did you mean: 

Facing error while creating build for Sap comm 2205

sap_ayan
Explorer
0 Kudos

Hi All,

We are currently facing the blow error while creating build for Sap comm 2205 with "ant clean all" command.

Kindly let me know if anyone else has faced the same error and what will be the resolution for this

[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

[groovyc] General error during conversion: class groovy.transform.AnnotationCollectorMode cannot be cast to class groovy.transform.AnnotationCollectorMode (groovy.transform.AnnotationCollectorMode is in unnamed module of loader groovy.lang.GroovyClassLoader @40233fe3; groovy.transform.AnnotationCollectorMode is in unnamed module of loader org.apache.tools.ant.AntClassLoader @28157173)

[groovyc]

[groovyc] java.lang.ClassCastException: class groovy.transform.AnnotationCollectorMode cannot be cast to class groovy.transform.AnnotationCollectorMode (groovy.transform.AnnotationCollectorMode is in unnamed module of loader groovy.lang.GroovyClassLoader @40233fe3; groovy.transform.AnnotationCollectorMode is in unnamed module of loader org.apache.tools.ant.AntClassLoader @28157173)

[groovyc] at org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.lambda$findCollectedAnnotations$1(ASTTransformationCollectorCodeVisitor.java:187)

[groovyc] at java.base/java.util.Optional.map(Optional.java:260)

[groovyc] at org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.findCollectedAnnotations(ASTTransformationCollectorCodeVisitor.java:187)

[groovyc] at org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationCollectorCodeVisitor.java:93)

[groovyc] at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:49)

[groovyc] at org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCodeVisitor.java:77)

[groovyc] at org.codehaus.groovy.transform.ASTTransformationVisitor.lambda$addPhaseOperations$1(ASTTransformationVisitor.java:206)

[groovyc] at org.codehaus.groovy.control.CompilationUnit$IPrimaryClassNodeOperation.doPhaseOperation(CompilationUnit.java:942)

[groovyc] at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:671)

[groovyc] at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:635)

[groovyc] at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:610)

[groovyc] at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:311)

[groovyc] at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:240)

[groovyc] at org.codehaus.groovy.ant.Groovyc.runCompiler(Groovyc.java:1312)

[groovyc] at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:1362)

[groovyc] at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:886)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at net.sf.antcontrib.logic.OutOfDate.execute(OutOfDate.java:457)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)

[groovyc] at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)

[groovyc] at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)

[groovyc] at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at java.base/java.util.Vector.forEach(Vector.java:1365)

[groovyc] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)

[groovyc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)

[groovyc] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

[groovyc] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[groovyc] at java.base/java.lang.reflect.Method.invoke(Method.java:568)

[groovyc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)

[groovyc] at org.apache.tools.ant.Task.perform(Task.java:350)

[groovyc] at org.apache.tools.ant.Target.execute(Target.java:449)

[groovyc] at org.apache.tools.ant.Target.performTasks(Target.java:470)

[groovyc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)

[groovyc] at org.apache.tools.ant.Project.executeTarget(Project.java:1374)

[groovyc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

[groovyc] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)

[groovyc] at org.apache.tools.ant.Main.runBuild(Main.java:818)

[groovyc] at org.apache.tools.ant.Main.startAnt(Main.java:223)

[groovyc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)

[groovyc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

[groovyc]

[groovyc] 1 error

BUILD FAILED

C:\work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\build.xml:13: The following error occurred while executing this line:

C:\Work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\resources\ant\compiling.xml:95: The following error occurred while executing this line:

C:\Work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\resources\ant\compiling.xml:153: The following error occurred while executing this line:

C:\work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\resources\ant\util.xml:13: The following error occurred while executing this line:

C:\Work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\resources\ant\compiling.xml:160: The following error occurred while executing this line:

C:\Work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\platform\resources\ant\compiling.xml:360: The following error occurred while executing this line:

C:\Work\AusWebsite\LycamobileCode2205\lyca-digital-platform\core-customize\hybris\bin\modules\platform\groovynature\buildcallbacks.xml:33: Compilation Failed

Accepted Solutions (0)

Answers (2)

Answers (2)

gaurav11
Participant

Hi Ayan,

Please re-check you your system environment is set with correct JAVA version.

imransheikh
Explorer
0 Kudos

Hi Ayan,

Add the below property in local.properties file and try to build again.

build.parallel=true

sap_ayan
Explorer
0 Kudos

Hi Imran, Thanks for the response.

I made the changes with "build.parallel=true" but still getting the same error

Thanks,

Ayan