Skip to Content
1
Nov 08, 2018 at 11:15 AM

Cannot build MTA application with java module

210 Views

Hi expert,

I tried to build an MTA project using mta_archive_builder.jar. My mta.yaml file contains of a java module. The java module can be built but the mtar file canot be generated. Can you help to tell where I can file the log for this ?

My command:

java -jar ../../mta_archive_builder.jar --build-target CF --mtar test.mtar build

and the result:

SAP Multitarget Application Archive Builder 1.1.8 Module "service": invoking maven Module "service": command output > [INFO] Scanning for projects... > [INFO] > [INFO] -----------------< com.company.portalservice:service >------------------ > [INFO] Building com.company.portalservice:service 0.0.1-SNAPSHOT > [INFO] --------------------------------[ jar ]--------------------------------- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ service --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 0 resource > [INFO] Copying 0 resource > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ service --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ service --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 0 resource > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ service --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ service --- > [INFO] > [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ service --- > [INFO] > [INFO] --- spring-boot-maven-plugin:1.5.2.RELEASE:repackage (default) @ service --- > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 8.970 s > [INFO] Finished at: 2018-11-08T17:30:53+08:00 >

[INFO] ------------------------------------------------------------------------ ERROR: An unexpected error has occurred; please tell us about it in our Community page: " https://answers.sap.com/tags/73554900100700001351"