I noticed there are several issues allready on RestServices giving errors in 7.0.2 but they all are registered as answered/fixed. I just installed Mendix 7.0.2 and started an empty project with RestServices and CommunityCommons and I still get compile errors:
Buildfile: C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\build_core.xml
compile:
[javac] Compiling 72 source files to C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\run\bin
[javac] C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\actions\LoadService.java:34: error: cannot find symbol
[javac] RestServiceHandler.loadConfig(def, true, context);
[javac] ^
[javac] symbol: variable context
[javac] location: class LoadService
[javac] C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\actions\RebuildServiceIndex.java:37: error: cannot find symbol
[javac] DataService.getServiceByDefinition(dataServiceDefinition).getChangeLogManager().rebuildChangeLog(context);
[javac] ^
[javac] symbol: variable context
[javac] location: class RebuildServiceIndex
[javac] Note: C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\util\JCIFS_NTLMScheme.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
BUILD FAILED
C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\build_core.xml:25: Compile failed; see the compiler error output for details.
Total time: 1 second