cd /home/hongyun/下载/unicentaoposee; JAVA_HOME=/home/hongyun/下载/jdk-13.0.2 /home/hongyun/netbeans-11.3/netbeans/java/maven/bin/mvn install
Scanning for projects...
Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org: Name or service not known
Failure to transfer uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from http://jcenter.bintray.com was cached in the local repository, resolution will not be reattempted until the update interval of jcenter has elapsed or updates are forced. Original error: Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Failure to transfer uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from http://central.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central-maven-repo has elapsed or updates are forced. Original error: Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org: Name or service not known
Downloading: http://central.maven.org/maven2/com/github/kittinunf/fuel/fuel/maven-metadata.xml
Downloading: http://jcenter.bintray.com/com/github/kittinunf/fuel/fuel/maven-metadata.xml
Could not transfer metadata com.github.kittinunf.result:result/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/com/github/kittinunf/result/result/maven-metadata.xml , ReasonPhrase:Forbidden.
Could not transfer metadata com.github.kittinunf.result:result/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org
BUILD FAILURE
Total time: 4.736 s
Finished at: 2020-03-11T04:25:47+08:00
Final Memory: 12M/47M
Failed to execute goal on project unicentaopos: Could not resolve dependencies for project com.unicenta:unicentaopos:jar:4.5.4: Failed to collect dependencies at io.posapps:posapps-client:jar:exe:1.4.5 -> com.github.kittinunf.fuel:fuel:jar:LATEST: Failed to read artifact descriptor for com.github.kittinunf.fuel:fuel:jar:LATEST: Failed to resolve version for com.github.kittinunf.fuel:fuel:jar:LATEST: Could not find metadata com.github.kittinunf.fuel:fuel/maven-metadata.xml in local (/home/hongyun/.m2/repository) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
I run into the same issue that you posted. I was able to make it compile by modifying the pom of io.posapps.posapps-client, to be more specific the repository section
Based on your post you are running a unix/linux environment so I'll not be able to provide folders location since I'm running a Windows environment, but basically the steps should be the same
First locate posapps.client folder inside of your local maven repository, in my case:
I have tried to compile Unicenta 4.6 from source using Maven. The validation becomes succesful, however, the build is failing with the error message as follows:
Any help to resolve this issue will be highly appreciated.
Madan
///////////////////////////////////////////////////////////
18362.836]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Dad>cd maven/unicentaopos
C:\Users\Dad\maven\unicentaopos>mvn validate [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.unicenta:unicentaopos >---------------------- [INFO] Building unicentaopos 4.6 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows [INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux [INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/ [INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing [INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates [INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com [INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.249 s [INFO] Finished at: 2020-06-03T20:32:06+01:00 [INFO] ------------------------------------------------------------------------
C:\Users\Dad\maven\unicentaopos>mvn compile [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.unicenta:unicentaopos >---------------------- [INFO] Building unicentaopos 4.6 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The metadata C:\Users\Dad.m2\repository\uk\co\pos_apps\openbravo\1.0-SNAPSHOT\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The metadata C:\Users\Dad.m2\repository\uk\co\pos_apps\openbravo\1.0-SNAPSHOT\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\fuel\fuel\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\fuel\fuel\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The POM for com.github.kittinunf.fuel:fuel:jar:LATEST is missing, no dependency information available [WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\result\result\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\result\result\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265) [WARNING] The POM for com.github.kittinunf.result:result:jar:LATEST is missing, no dependency information available [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows [INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux [INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/ [INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing [INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates [INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com [INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales [INFO] [INFO] --- kotlin-maven-plugin:1.1.4:compile (compile) @ unicentaopos --- [INFO] Kotlin version 1.1.4 (JRE 11.0.7+8-LTS) [INFO] Compiling Kotlin sources from [C:\Users\Dad\maven\unicentaopos\src\main\java] [INFO] Module name is unicentaopos [ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)</init></init>
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.027 s [INFO] Finished at: 2020-06-03T20:32:24+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.1.4:compile (compile) on project unicentaopos: Compilation failure [ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036 [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507) [ERROR] at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26) [ERROR] at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148) [ERROR] at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108) [ERROR] at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132) [ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253) [ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240) [ERROR] at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58) [ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93) [ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46) [ERROR] at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92) [ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53) [ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR][Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</init></init>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After I have included
<repository>
<id>spring-repo</id>
<url> https://repo.spring.io/plugins-release/ </url>
</repository>
in my POM and run the compile again. This time, it generates a different types of error. Something about index out of bound error as shown below. No idea what is happening. Any help will be highly appreciated.
C:\Users\Dad\maven\unicentaopos>mvn compile [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.unicenta:unicentaopos >---------------------- [INFO] Building unicentaopos 4.6 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows [INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux [INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/ [INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing [INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus [INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs [INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates [INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com [INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales [INFO] [INFO] --- kotlin-maven-plugin:1.1.4:compile (compile) @ unicentaopos --- [INFO] Kotlin version 1.1.4 (JRE 11.0.7+8-LTS) [INFO] Compiling Kotlin sources from [C:\Users\Dad\maven\unicentaopos\src\main\java] [INFO] Module name is unicentaopos [ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)</init></init>
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.337 s [INFO] Finished at: 2020-06-04T15:07:36+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.1.4:compile (compile) on project unicentaopos: Compilation failure [ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036 [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646) [ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507) [ERROR] at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37) [ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26) [ERROR] at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148) [ERROR] at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108) [ERROR] at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132) [ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253) [ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240) [ERROR] at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114) [ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205) [ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58) [ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93) [ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46) [ERROR] at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92) [ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53) [ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218) [ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR][Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</init></init>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I tried to built unicenta (on linux mint from source to resolve the unicode printing problem. from my seasrches i found this link
https://sourceforge.net/p/unicentaopos/discussion/1126900/thread/96a1ae80/#568d
and i tried to compile using this link
https://sourceforge.net/p/unicentaopos/discussion/1126900/thread/2d4dac62/#a227
however i keep getting build failure
cd /home/hongyun/下载/unicentaoposee; JAVA_HOME=/home/hongyun/下载/jdk-13.0.2 /home/hongyun/netbeans-11.3/netbeans/java/maven/bin/mvn install
Scanning for projects...
Building unicentaopos 4.5.4
Downloading: http://jcenter.bintray.com/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://central.maven.org/maven2/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml
Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org: Name or service not known
Failure to transfer uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from http://jcenter.bintray.com was cached in the local repository, resolution will not be reattempted until the update interval of jcenter has elapsed or updates are forced. Original error: Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/uk/co/pos_apps/openbravo/1.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Failure to transfer uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from http://central.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central-maven-repo has elapsed or updates are forced. Original error: Could not transfer metadata uk.co.pos_apps:openbravo:1.0-SNAPSHOT/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org: Name or service not known
Downloading: http://central.maven.org/maven2/com/github/kittinunf/fuel/fuel/maven-metadata.xml
Downloading: http://jcenter.bintray.com/com/github/kittinunf/fuel/fuel/maven-metadata.xml
Could not transfer metadata com.github.kittinunf.fuel:fuel/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/com/github/kittinunf/fuel/fuel/maven-metadata.xml , ReasonPhrase:Forbidden.
Could not transfer metadata com.github.kittinunf.fuel:fuel/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org
Downloading: http://jcenter.bintray.com/com/github/kittinunf/result/result/maven-metadata.xml
Downloading: http://central.maven.org/maven2/com/github/kittinunf/result/result/maven-metadata.xml
Could not transfer metadata com.github.kittinunf.result:result/maven-metadata.xml from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/com/github/kittinunf/result/result/maven-metadata.xml , ReasonPhrase:Forbidden.
Could not transfer metadata com.github.kittinunf.result:result/maven-metadata.xml from/to central-maven-repo (http://central.maven.org/maven2): central.maven.org
BUILD FAILURE
Total time: 4.736 s
Finished at: 2020-03-11T04:25:47+08:00
Final Memory: 12M/47M
Failed to execute goal on project unicentaopos: Could not resolve dependencies for project com.unicenta:unicentaopos:jar:4.5.4: Failed to collect dependencies at io.posapps:posapps-client:jar:exe:1.4.5 -> com.github.kittinunf.fuel:fuel:jar:LATEST: Failed to read artifact descriptor for com.github.kittinunf.fuel:fuel:jar:LATEST: Failed to resolve version for com.github.kittinunf.fuel:fuel:jar:LATEST: Could not find metadata com.github.kittinunf.fuel:fuel/maven-metadata.xml in local (/home/hongyun/.m2/repository) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Can nayone advise?
Hi Alvis Pak,
I run into the same issue that you posted. I was able to make it compile by modifying the pom of io.posapps.posapps-client, to be more specific the repository section
Based on your post you are running a unix/linux environment so I'll not be able to provide folders location since I'm running a Windows environment, but basically the steps should be the same
First locate posapps.client folder inside of your local maven repository, in my case:
C:\Users\<userfolder>\.m2\repository\io\posapps\posapps-client\<version>
Then open with a text editor the posapps-client-<version>.pom and scroll down to the bottom of the file
Locate the repositories section and replace it with this (changed http by https and replaced maven repository url):
Then re-run the mvn install command, hopefully that will do the trick.
Hope this helps you and others running into the same issue
Last edit: Agustin Miguel Collado 2020-05-24
Hi Agustin Miguel Collado,
Ran into similar issues during build of 4.6, your proposed change of the repositories did the trick and solved all errors.
Thanks for sharing this solution!
THNX Agustin Miguel Collado,
Hi,
I have tried to compile Unicenta 4.6 from source using Maven. The validation becomes succesful, however, the build is failing with the error message as follows:
Any help to resolve this issue will be highly appreciated.
Madan
///////////////////////////////////////////////////////////
18362.836]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Dad>cd maven/unicentaopos
C:\Users\Dad\maven\unicentaopos>mvn validate
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.unicenta:unicentaopos >----------------------
[INFO] Building unicentaopos 4.6
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows
[INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux
[INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/
[INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing
[INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates
[INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com
[INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.249 s
[INFO] Finished at: 2020-06-03T20:32:06+01:00
[INFO] ------------------------------------------------------------------------
C:\Users\Dad\maven\unicentaopos>mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.unicenta:unicentaopos >----------------------
[INFO] Building unicentaopos 4.6
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The metadata C:\Users\Dad.m2\repository\uk\co\pos_apps\openbravo\1.0-SNAPSHOT\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The metadata C:\Users\Dad.m2\repository\uk\co\pos_apps\openbravo\1.0-SNAPSHOT\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\fuel\fuel\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\fuel\fuel\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The POM for com.github.kittinunf.fuel:fuel:jar:LATEST is missing, no dependency information available
[WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\result\result\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The metadata C:\Users\Dad.m2\repository\com\github\kittinunf\result\result\maven-metadata-central-maven-repo.xml is invalid: entity reference name can not contain character =' (position: START_TAG seen ....uk/main?ParticipantID=nmum6rqpq5q6gkm3933n3nf9s76onu6r&FailedURI=... @1:265)
[WARNING] The POM for com.github.kittinunf.result:result:jar:LATEST is missing, no dependency information available
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows
[INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux
[INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/
[INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing
[INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates
[INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com
[INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales
[INFO]
[INFO] --- kotlin-maven-plugin:1.1.4:compile (compile) @ unicentaopos ---
[INFO] Kotlin version 1.1.4 (JRE 11.0.7+8-LTS)
[INFO] Compiling Kotlin sources from [C:\Users\Dad\maven\unicentaopos\src\main\java]
[INFO] Module name is unicentaopos
[ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)</init></init>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.027 s
[INFO] Finished at: 2020-06-03T20:32:24+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.1.4:compile (compile) on project unicentaopos: Compilation failure
[ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
[ERROR] at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
[ERROR] at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
[ERROR] at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
[ERROR] at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
[ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
[ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
[ERROR] at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
[ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
[ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
[ERROR] at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
[ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
[ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</init></init>
Dear All,
After I have included
<repository>
<id>spring-repo</id>
<url> https://repo.spring.io/plugins-release/ </url>
</repository>
in my POM and run the compile again. This time, it generates a different types of error. Something about index out of bound error as shown below. No idea what is happening. Any help will be highly appreciated.
Thank you
Madan
/////////////////////////////////////////////////////
C:\Users\Dad\maven\unicentaopos>mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.unicenta:unicentaopos >----------------------
[INFO] Building unicentaopos 4.6
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ unicentaopos ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Windows
[INFO] Copying 8 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Linux
[INFO] Copying 3 resources to C:\Users\Dad\maven\unicentaopos/target/lib/Mac_OS_X
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/
[INFO] Copying 32 resources to C:\Users\Dad\maven\unicentaopos/target/licensing
[INFO] Copying 271 resources to C:\Users\Dad\maven\unicentaopos/target/Bonus
[INFO] Copying 4 resources to C:\Users\Dad\maven\unicentaopos/target/Configs
[INFO] Copying 5 resources to C:\Users\Dad\maven\unicentaopos/target/Templates
[INFO] Copying 499 resources to C:\Users\Dad\maven\unicentaopos/target/reports/com
[INFO] Copying 69 resources to C:\Users\Dad\maven\unicentaopos/target/locales
[INFO]
[INFO] --- kotlin-maven-plugin:1.1.4:compile (compile) @ unicentaopos ---
[INFO] Kotlin version 1.1.4 (JRE 11.0.7+8-LTS)
[INFO] Compiling Kotlin sources from [C:\Users\Dad\maven\unicentaopos\src\main\java]
[INFO] Module name is unicentaopos
[ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)</init></init>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.337 s
[INFO] Finished at: 2020-06-04T15:07:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.1.4:compile (compile) on project unicentaopos: Compilation failure
[ERROR] java.lang.ArrayIndexOutOfBoundsException: Index 11036 out of bounds for length 11036
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:2464)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2525)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.readModule(ClassReader.java:761)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:646)
[ERROR] at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:507)
[ERROR] at org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:67)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:45)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:26)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
[ERROR] at org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:26)
[ERROR] at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
[ERROR] at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
[ERROR] at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
[ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:253)
[ERROR] at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:240)
[ERROR] at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1240)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:180)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:97)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:207)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:114)
[ERROR] at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:382)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:281)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createEnvironmentWithScriptingSupport(K2JVMCompiler.kt:271)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:205)
[ERROR] at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:58)
[ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:93)
[ERROR] at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:46)
[ERROR] at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:92)
[ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execCompiler(KotlinCompileMojoBase.java:235)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:227)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:53)
[ERROR] at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:218)
[ERROR] at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:212)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</init></init>