function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abilash kumarAbilash kumar 

Dependent class is invalid and needs recompilation: Class

I am getting this error while deploying Ant migration tool. I compile all classes and triggers. . Still the error is not gone. Let me know how to fix this error.
bk sbk s
Eg: Class 1 refers Class 2 , Class 2 has changed for some reason . You will get this error . Remove the reference of Class 2 in Class 1 and compile Class 2 . Re-refer Class 1 again . It will work