Compilation of java actions failed

0
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 https://docs.gradle.org/8.4/userguide/incremental_build.html#disable-state-tracking in the Gradle documentation.   > java.io.IOException: Cannot snapshot C:\\Mendix Training\LearnNow 10-0-0-main\javasource\administration\proxies\Account.java: 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 https://help.gradle.org. BUILD FAILED in 4s
asked
1 answers
1

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.

answered