line -1, column -1: Dependent class is invalid and needs recompilation: Class Service_applications_v2 : Unexpected token '<EOF>'.
Answered
Since a few weeks, when I save one of the classes in IntelliJ and try to run the test-class it always state that a dependent class needs recompilation. I'm obliged then to compile all classes in Salesforce itself
Please sign in to leave a comment.
Based on what I could check on the internet this error happens when Apex class which depends on another class has been modified but not compiled properly. I assume the rebuild of such classes should help for the case. Related threads:
https://salesforce.stackexchange.com/questions/1662/unexpected-error-occured-compiling-apex-class
https://salesforce.stackexchange.com/questions/53665/how-to-troubleshoot-dependent-class-is-invalid-and-needs-recompilation-excep
Please note that Illuminated Could plugin is not maintained by JetBrains. If there is a specific question to Illuminated Could plugin functionality it would be possibly better to ask the question from the plugin developer.