diff --git a/api/pom.xml b/api/pom.xml
index abfa2c59e02..ba547dfa47a 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -35,6 +35,11 @@
com.google.code.gson
gson
+
+ javax.servlet
+ servlet-api
+ ${cs.servlet.version}
+
org.apache.cloudstack
cloud-framework-db
diff --git a/api/src/org/apache/cloudstack/api/ApiServerService.java b/api/src/org/apache/cloudstack/api/ApiServerService.java
index 9c0cfa39d79..69215c51658 100644
--- a/api/src/org/apache/cloudstack/api/ApiServerService.java
+++ b/api/src/org/apache/cloudstack/api/ApiServerService.java
@@ -17,9 +17,6 @@
package org.apache.cloudstack.api;
import com.cloud.exception.CloudAuthenticationException;
-import org.apache.cloudstack.api.ResponseObject;
-import org.apache.cloudstack.api.ServerApiException;
-
import javax.servlet.http.HttpSession;
import java.util.Map;
diff --git a/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java b/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java
index 20fe61f7fbf..b008f00aed1 100644
--- a/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java
+++ b/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java
@@ -37,5 +37,4 @@ public interface APIAuthenticator {
HttpSession session, String remoteAddress, String responseType,
StringBuilder auditTrailSb, final HttpServletResponse resp) throws ServerApiException;
public APIAuthenticationType getAPIType();
-
}