Below is the Class:
And during an ANT build, showing the below error:
[javac] C:\workspace\XXX\xxx\xxx\xxx\xxx\xxx\xxx\xxx\CustomDateMapper.java:13: cannot find symbol
[javac] symbol : class ISO8601DateFormat
[javac] location: package org.codehaus.jackson.map.util
[javac] setDateFormat(new org.codehaus.jackson.map.util.ISO8601DateFormat());
[javac] C:\workspace\xxx\xxx\xxx\xxx\xxx\xxx\xxx\xxx\CustomDateMapper.java:6: cannot find symbol
[javac] symbol : class ISO8601DateFormat
[javac] location: package org.codehaus.jackson.map.util
[javac] import org.codehaus.jackson.map.util.ISO8601DateFormat;
It is showing both places including import.Instead if i modify my code pointing log4j's class as shown below, build is happening:
setDateFormat(new org.apache.log4j.helpers.ISO8601DateFormat());