Dear community

I would like to ask help. I have marmotta 3.1. When I had Marmotta 3.0 I
had no problems found.
When I run this code:

ClientConfiguration configuration = new ClientConfiguration("
http://localhost:8080/marmotta/";);
ImportClient importClient = new ImportClient(configuration);

I get this error:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.http.client.methods.HttpGet.releaseConnection()V
at
org.apache.marmotta.client.clients.ImportClient.getSupportedTypes(ImportClient.java:104)
at
org.apache.marmotta.client.clients.ImportClient.<init>(ImportClient.java:65)
at sled.agent.util.MarmottaClient.main(MarmottaClient.java:52)

My dependences are:

 <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
      <version>4.2.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpcore</artifactId>
      <version>4.2.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient-cache</artifactId>
      <version>4.2.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpmime</artifactId>
      <version>4.2.5</version>
    </dependency>
...
   <dependency>
     <groupId>org.apache.marmotta</groupId>
     <artifactId>marmotta-client-java</artifactId>
     <version>3.1.0-incubating-SNAPSHOT</version>
     <type>jar</type>
   </dependency>

Can you help me please? is very important.
thanks

Diego Benna

Reply via email to