java.lang.IllegalArgumentException

Path /c/work/bazel2 is not beneath C:/work/bazel2

Solutions on the web18131

  • Path /c/work/bazel2 is not beneath C:/work/bazel2
  • The main resource set specified [C:\Users\Sneezy\work\apache-tomcat-8.0.32\webapps\sp] is not valid
  • via YouTrack by Unknown author, 1 year ago
    unknown tmp path 'C:\BuildAgent\work\3662dcef7347f66a\webr-dnq\platform\webr\languages\baseTemplate'
  • Stack trace

    • java.lang.IllegalArgumentException: Path /c/work/bazel2 is not beneath C:/work/bazel2 at com.google.devtools.build.lib.vfs.Path.relativeTo(Path.java:726) at com.google.devtools.build.lib.runtime.CommandEnvironment.beforeCommand(CommandEnvironment.java:480) at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:480) at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:327) at com.google.devtools.build.lib.runtime.BlazeRuntime.batchMain(BlazeRuntime.java:723) at com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:531) at com.google.devtools.build.lib.bazel.BazelMain.main(BazelMain.java:56)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.