Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mulesoft Transform Message Error: "There are some error in the current classpath"

Tags:

mule

New to working with MuleSoft, and I am getting an error "There are some error in the current classpath" when adding in a Transform Message into the Message Flow. I have just finished setting up Anypoint Studio, so this might be a configuration step I have missed somewhere.

DW Script Error Payload (default)

like image 971
Andy Galpin Avatar asked Dec 16 '15 18:12

Andy Galpin


2 Answers

I also faced the same issue and i follow below mentioned steps, Go to the project Right Click > Mule > Update Project Dependencies

Note:- Before performing above steps make sure, you are connected with internet.

Hope it will work for you.

like image 166
Anksss Avatar answered Oct 11 '22 11:10

Anksss


I had the same issue this morning and after a lot of playing around have finally managed to get it working. What did the trick in the end was to go to Project -> Properties -> Java Build Path, click on the Mule Server 3.7.2 EE entry, hit Edit, reselect the same version of the server runtime, click Finish, click Ok. This in itself didn't seem to make any difference, but then I restarted Anypoint Studio and everything was now working correctly.

I have done some digging, and found the following difference in the projects .classpath file:

before:

<classpathentry kind="con" path="MULE_RUNTIME"/>

after:

<classpathentry kind="con" path="MULE_RUNTIME/org.mule.tooling.server.3.7.2.ee"/>

Hopefully this works for you too.

like image 42
Brad Cooper Avatar answered Oct 11 '22 13:10

Brad Cooper