Never mind. Still had a .jar file of Aspose PDF in my tomcat lib, after removing that it worked fine. Continue reading...