Symptom
- BAS build MTAR target fails
- Terminal output like, example:
user: case-cap-html5-main $ mbt build -t gen --mtar mta.tar
...........
............[2025-11-26 01:54:46] INFO executing the "cp -r ./db/data ./gen/srv/srv/data/" command...
[2025-11-26 01:54:46] INFO executing the "cp -r ./db.sqlite ./gen/srv" command...
cp: cannot stat './db.sqlite': No such file or directory
[2025-11-26 01:54:46] ERROR the "before-all"" build failed: could not execute the "cp -r ./db.sqlite ./gen/srv" command: exit status 1
make: *** [Makefile_20251126015442.mta:28: pre_build] Error 1
[2025-11-26 01:54:46] ERROR could not build the MTA project: could not execute the "make -f Makefile_20251126015442.mta p=cf mtar=mta.tar strict=true mode= t=\"gen\"" command: exit status 2
Error: could not build the MTA project: could not execute the "make -f Makefile_20251126015442.mta p=cf mtar=mta.tar strict=true mode= t=\"gen\"" command: exit status 2
Read more...
Environment
SAP Business Application Studio
Product
Keywords
mbt build, mbt, sqlite, ERROR could not build the MTA project , KBA , CA-BAS-BLD , Build Application - SAP Business Application Studio , CA-BAS-BLD-HTML5 , HTML5 module build , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview