Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Anypoint Studio Scaffolding Fails with 'An Apikit configuration is mandatory.' When global.xml is in a Subfolder

게시 일자: Sep 18, 2026
상세 설명

When attempting to re-scaffold an API in Anypoint Studio after modifying its RAML specification, you may encounter the following error:

An Apikit configuration is mandatory.

 

This occurs even if an APIkit configuration was previously present and the project was scaffolded successfully.

솔루션

CAUSE

This issue occurs when the APIKit configuration is placed in an xml file which is not stored in the src/main/mule folder, but in a subfolder instead.

This usually happens when configurations are placed in a global.xml configuration file and you save this file in a subfolder like a "commons" folder. The APIkit scaffolding process expects the configuration file to be in the root src/main/mule folder to scaffold and update the APIkit configuration. This is a known limitation in Anypoint Studio.

SOLUTION

To resolve this issue, relocate your global.xml file (the file where you stored the APIKit configuration) to the root `src/main/mule` directory.

1.  Locate global.xml: In your Anypoint Studio project, navigate to the `src/main/mule` folder. If your `global.xml` file is inside a subfolder (e.g., `src/main/mule/common/global.xml`), proceed to the next step.
2.  Move global.xml: Drag and drop or cut and paste the `global.xml` file from its current subfolder directly into the `src/main/mule` folder. Ensure it resides alongside other main configuration files (e.g., `your-api-main.xml`, `your-api-implementation.xml`).
3.  Re-scaffold API: After moving the file, attempt to re-scaffold your API in Anypoint Studio. The scaffolding process should now complete successfully.

Knowledge 기사 번호

005460320

 
로드 중
Salesforce Help | Article