When attempting to build a Mule application in Anypoint Studio that uses Anypoint MQ Connector version 4.0.15, the build fails with an error indicating a missing class.
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:4.6.0:process-classes (default-process-classes) on project test_threadid: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:4.6.0:process-classes failed: Type com.mulesoft.mq.restclient.client.mq.domain.AnypointMQMessage not present: Cannot load class 'com.mulesoft.
Anypoint MQ Connector version 4.0.15 was an early release that was not fully integrated or officially supported for use within Anypoint Studio at the time of its initial availability. This version was subsequently deprecated. The build failure occurs because Anypoint Studio's build process cannot correctly resolve or load necessary classes (such as `com.mulesoft.mq.restclient.client.mq.domain.AnypointMQMessage`) from this specific connector version.
Upgrade to a later, officially supported version of the Anypoint MQ Connector (e.g., 4.0.16 or newer) that is fully compatible with Anypoint Studio.
005385625

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.