diff --git a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTest.java b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
index 5e96385eec..0404762a7c 100644
--- a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
+++ b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
@@ -138,6 +138,7 @@ public class StompTest extends StompTestSupport {
connection.start();
xstream = new XStream();
xstream.processAnnotations(SamplePojo.class);
+ xstream.allowTypes(new Class[] { SamplePojo.class });
}
@Override
diff --git a/pom.xml b/pom.xml
index 7148f15a54..425d42b2f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,7 +110,7 @@
2.3
2.7.2
1.1.4c
- 1.4.17
+ 1.4.18
4.20
2.12.0
0.6.4