checkstyleMain: unable to find file

plugins

(Thomas Nordman) #1

Hi,
I have an issue where checkstyle can’t find the style file although it’s where it should be, verified both using Windows explorer and eclipse Navigator. Could it be an folder access probem? I started eclipse in admin mode just to test if that would make any difference (it didn’t).

Error:
Execution failed for task ‘:checkstyleMain’.
> Unable to create Root Module: config {D:\wrk_Java\Projects\isab2\config\checkstyle\checkstyle.xml}

–stacktrace gives this root failure:
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: config/checkstyle/source_header_regex.txt

Any ideas?

Thanks,
Thomas