Compilation of java actions failed

FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':compile'.> Cannot access input property 'stableSources' of task ':compile'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to in the Gradle documentation.   > Cannot snapshot C:\\Mendix Training\LearnNow 10-0-0-main\javasource\administration\proxies\ not a regular file * Try: > Run with --stacktrace option to get the stack trace. > Run with --debug option to get more log output. > Run with --scan to get full insights. > Get more help at BUILD FAILED in 4s
1 answers

Hi, @Chris de Gelder, thank for your advice!


I got the issue resolved by myself.


I found that my local path for my app is inside c, and all files of my app were synced all the time when they just were created, this OneDrive sync action would lock the files in time meanwhile Mendix Studio Pro could not access them for read/write, finally got error when tried to run my app.


I moved my app folder outside OneDrive, and no such issue any more.