Hi,
I am trying to the the MultipartEntityBuilder class in one of my project which actually posts the data on server through http. My project is based on the maven and its saying MultipartEntityBuilder class not found.
What is the MultipartEntityBuilder maven dependency for getting this class in my project?
Thanks
Hi,
This class is present in httpmime of org.apache.httpcomponents library from Apache.You have to include this dependency in your project.
If you are not able to find MultipartEntityBuilder maven dependency then on your project then it means that the dependency is missing in your pom.xml file.
Here is the code for MultipartEntityBuilder maven dependency which you add in your pom.xml file of your project.
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.5.12</version> </dependency>
Thanks
Ads