Lets say I have an implementation class already defined and now to be able to support SOLID principles, now I need to expose an interface for the implementation class so that we can perform the dependency injection. My existing class…
Sort members in the Java class in Spring STS
In the post Generating Getters/Setters in Spring STS we have seen how to generate the Setters and Getters for private fields in the class. But the code looks cluttered and not sorted in a proper order. So, if you want…
Generating Getters/Setters in Spring STS
If you create a class with private fields and you now needs to assign values from outside the class, you can achieve the same with two methods: 1. Create a parameterized constructor and asking the properties to the private fields.…
NoClassDefFoundError: org/apache/http/config/Lookup
Sometimes, you may see this error when you deploy your mule application in Mule Runtime and you might be wondering what could be the reason for the error. java.lang.NoClassDefFoundError: org/apache/http/config/Lookup at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) The reason is because…
The request was aborted; could not create SSL/TLS secure channel
This is one more issue if .NET client applications are trying to hit https endpoint in your Mule 3.8 application, they may get the following error: The request was aborted; could not create SSL/TLS secure channel The fix for this issue is…