Reference to Date is ambiguous, both class java.sql.Date in java.sql and class java.util.Date in java.util match
March 9th, 2009
Applies to:
Description:
Error while trying to import java.sql and java.util.
Cause:
Importing java.util.* is not a recommended practice.
Try importing java.sql.Date or java.util.Date and explicitly refer to the package of either of them whenever using it.