diff --git a/acyclic-visitor/README.md b/acyclic-visitor/README.md
index 939fe38b97d1..83b618601fb2 100644
--- a/acyclic-visitor/README.md
+++ b/acyclic-visitor/README.md
@@ -33,7 +33,7 @@ The bad:
* Parallel hierarchy of visitors has to be created for all members in visitable class hierarchy.
## Related patterns
-* [Visitor Pattern](../visitor/README.md)
+* [Visitor Pattern](../visitor/)
## Credits
-* [Acyclic Visitor](http://condor.depaul.edu/dmumaugh/OOT/Design-Principles/acv.pdf)
\ No newline at end of file
+* [Acyclic Visitor](http://condor.depaul.edu/dmumaugh/OOT/Design-Principles/acv.pdf)
diff --git a/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInformationClientImpl.java b/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInformationClientImpl.java
index 16849d529386..131fbf8695cd 100644
--- a/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInformationClientImpl.java
+++ b/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInformationClientImpl.java
@@ -22,6 +22,7 @@
*/
package com.iluwatar.aggregator.microservices;
+import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
@@ -49,8 +50,10 @@ public String getProductTitle() {
try (CloseableHttpResponse httpResponse = httpClient.execute(httpGet)) {
response = EntityUtils.toString(httpResponse.getEntity());
}
- } catch (IOException e) {
- LOGGER.error("Exception caught.", e);
+ } catch (ClientProtocolException cpe) {
+ LOGGER.error("ClientProtocolException Occured", cpe);
+ } catch (IOException ioe) {
+ LOGGER.error("IOException Occurred", ioe);
}
return response;
}
diff --git a/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInventoryClientImpl.java b/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInventoryClientImpl.java
index 89f1a25e0580..780dccb78e20 100644
--- a/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInventoryClientImpl.java
+++ b/aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/ProductInventoryClientImpl.java
@@ -22,6 +22,7 @@
*/
package com.iluwatar.aggregator.microservices;
+import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
@@ -49,8 +50,10 @@ public int getProductInventories() {
try (CloseableHttpResponse httpResponse = httpClient.execute(httpGet)) {
response = EntityUtils.toString(httpResponse.getEntity());
}
- } catch (IOException e) {
- LOGGER.error("Exception caught.", e);
+ } catch (ClientProtocolException cpe) {
+ LOGGER.error("ClientProtocolException Occured", cpe);
+ } catch (IOException ioe) {
+ LOGGER.error("IOException Occurred", ioe);
}
return Integer.parseInt(response);
}
diff --git a/pom.xml b/pom.xml
index f1a586eb8b34..539da396b2d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,18 +43,20 @@
2.16.1
19.0
1.10.19
- 4.5.2
+ 4.5.10
2.22
4.0
3.3.0
- 1.7.21
- 1.1.7
+ 1.7.28
+ 1.2.3
1.1.0
1.11.289
1.0.0
2.0.1
2.8.5
3.12.0
+ 2.3.0
+ 1.3.1
abstract-factory
@@ -298,6 +300,16 @@
mongo-java-driver
${mongo-java-driver.version}
+
+ javax.xml.bind
+ jaxb-api
+ ${jaxb-api.version}
+
+
+ javax.annotation
+ javax.annotation-api
+ ${annotation-api.version}
+
diff --git a/repository/pom.xml b/repository/pom.xml
index 48bca0cf2ba8..2ccdc9da7ba5 100644
--- a/repository/pom.xml
+++ b/repository/pom.xml
@@ -63,5 +63,13 @@
com.google.guava
guava
+
+ javax.xml.bind
+ jaxb-api
+
+
+ javax.annotation
+ javax.annotation-api
+