upload multipart value
<p>I am writing a code in which i am uploading multipart value with file, my code lines are below:</p>

<pre><code>    final InputStream gpxInputStream = new ByteArrayInputStream(
                        RecordedRouteGPXFormatter.create(recordedGeoPoints).getBytes());
                final HttpClient httpClient = new DefaultHttpClient();

                final HttpPost request = new HttpPost(UPLOADSCRIPT_URL);

                // create the multipart request and add the parts to it

                final MultipartEntity requestEntity = new MultipartEntity();

                InputStreamBody isb = new InputStreamBody(gpxInputStream, "uploadedFile");

                requestEntity.addPart("uploadedFile",isb);
</code></pre>

<p>But at the line <strong>"requestEntity.addPart("uploadedFile",isb);"</strong> i am getting <strong><em>The type org.apache.james.mime4j.message.AbstractBody cannot be resolved. It is indirectly referenced from required .class files</em></strong> syntax error. please help me whats wrong with this.</p>
