I am getting this error when I try to save my class
Error: Compile Error: This apex class is referenced elsewhere in salesforce.com. Remove the usage and try again. at line 0 column 0
Any idea what this means or how to clear it?
I was writing code using force IDE and for some reason it was not saving the changes I was making to the class. I tried copying the code from the IDE and paste it to class from the browser and I got this error.
I tried closing the IDE and tried using the browser and still got the error.
Thanks
Attribution to: Prady
Possible Suggestion/Solution #1
Found a workaround
Remove the reference to the class from the Vf pages. Save the Vf page.
Save the class and it saves now. go back to the Vf pages and add reference back to the class. Things should be normal again till you hit the same error again.
Not sure if its a bug or something i did wrong.
Attribution to: Prady
Possible Suggestion/Solution #2
You were most likely changing the class name or the name of something that was needed(referenced) in that VF page therefore, breaking the functionality of this class for the VF page.
Attribution to: PepeFloyd
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1422