Search code examples
mulemule-studioanypoint-studio

Anypoint Studio : Warning - There were problems disposing the mule classloader


Issue:

I am using Anypoint Studio Version: 6.6.5 Build Id: 202005271503, working on Mule 3.8.4. I work on Mavenized projects, and always see this warning message in Error console "There were problems disposing the mule classloader".

Read multiple blogs in stackoverflow and help.mulesoft, but none of the blogs explain how to actually fix this warning in Anypoint Studio. This doesn't cause any application issues but would like to really understand what's causing this issue.

Exception stack trace:

java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.LogFactory$6 from class org.apache.commons.logging.LogFactory
    at org.apache.commons.logging.LogFactory.getSystemProperty(LogFactory.java:1442)

Solution Updated

Adding below dependency in project POM resolved the issue.

<dependency>
    <groupId>commons-logging</groupId>
    <artifactId>commons-logging</artifactId>
    <version>1.1.1</version>
</dependency>

Solution

  • Adding below dependency in project POM resolved the issue.

    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.1</version>
    </dependency>