java - HttpTransport & Plus cannot be resolved to a type when using google plus api -


i have created maven project in using google plus api data google plus.this project working correctly on laptop. project on github. when import project github computer following errors:

httptransport cannot resolved type plus cannot resolved type 

these libraries getting error:

import com.google.api.client.http.httptransport; import com.google.api.client.json.jsonfactory; import com.google.api.client.util.datetime; import com.google.api.services.plus.plus; import com.google.api.services.plus.plusrequestinitializer; import com.google.api.services.plus.model.activity; import com.google.api.services.plus.model.activity.plusobject.attachments; import com.google.api.services.plus.model.activity.plusobject.attachments.thumbnails; 

this maven file:

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelversion>4.0.0</modelversion>   <groupid>maven-demo</groupid>   <artifactid>maven-demo</artifactid>   <version>0.0.1-snapshot</version>    <dependencies>     <dependency>          <groupid>com.google.apis</groupid>          <artifactid>google-api-services-plus</artifactid>          <version>v1-rev510-1.22.0</version>         </dependency>      <dependency>      <groupid>com.github.axet</groupid>      <artifactid>vget</artifactid>      <version>1.2.4</version>     </dependency>      <dependency>         <groupid>org.apache.commons</groupid>          <artifactid>commons-lang3</artifactid>          <version>3.1</version>         </dependency>      </dependencies>     <properties>         <maven.compiler.source>1.8</maven.compiler.source>         <maven.compiler.target>1.8</maven.compiler.target>     </properties> </project> 

i have tried cleaning project, config build path, adding google plus api again in maven, restarting eclipse.but doesnt resolve problem should do?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -