Troubleshoot: Feature enablement logs resource sync error

When enabling a feature, a out of sync message is displayed

 

Problem

When enabling a feature in your WebSphere Commerce environment, an error is logged. An example of the error:
C:\WCTOOL~1\components\component-services\xml\enablecomponent-services.xml:157:
An error was encountered while loading deployment descriptors:
Resource is out of sync with the file system:
/WC/META-INF/ibmconfig/cells/defaultCell/applications/defaultApp/
deployments/defaultApp/deployment.xml.

 

Solution

This error requires the workspace to be refreshed. Refresh the workspace and attempt the feature enablement again.