diff --git a/zxingorg/pom.xml b/zxingorg/pom.xml
index 6f3cf94dc..2ec346668 100644
--- a/zxingorg/pom.xml
+++ b/zxingorg/pom.xml
@@ -33,7 +33,7 @@
javax
javaee-web-api
- 6.0
+ 7.0
provided
diff --git a/zxingorg/src/web/.ebextensions/05-update-tomcat-server.config b/zxingorg/src/web/.ebextensions/05-update-tomcat-server.config
index f08fa35fd..84ddd84de 100644
--- a/zxingorg/src/web/.ebextensions/05-update-tomcat-server.config
+++ b/zxingorg/src/web/.ebextensions/05-update-tomcat-server.config
@@ -1,3 +1,3 @@
container_commands:
replace-config:
- command: cp .ebextensions/server.xml /etc/tomcat7/server.xml
\ No newline at end of file
+ command: cp .ebextensions/server.xml /etc/tomcat8/server.xml
\ No newline at end of file
diff --git a/zxingorg/src/web/.ebextensions/server.xml b/zxingorg/src/web/.ebextensions/server.xml
index 86e555881..f4b8ecded 100644
--- a/zxingorg/src/web/.ebextensions/server.xml
+++ b/zxingorg/src/web/.ebextensions/server.xml
@@ -18,8 +18,6 @@
-
-