The getValue() call is generating the error “Cannot find Symbol”. I did see in the release notes that this method has changed, but I can’t figure out what it changed to.
This change is mentioned in breaking changes of 7.0 release notes:
Interface HasValue now has type parameter V - type of the corresponding value of UI component. Old code that uses untyped UI components, for instance TextField or LookupField might be broken.
You just need to specify type of value for your LookupField: