Fixed some camel-cxf unit tests error with JDK8