Guest User

Untitled

a guest
Sep 15th, 2020
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Description Resource Path Location Type
  2. An Ant BuildException has occured: The following error occurred while executing this line:
  3. E:\checkstyle\config\ant-phase-verify.xml:66: java.lang.IllegalStateException: Unable to persist cache file.
  4. around Ant part ...<ant antfile="config/ant-phase-verify.xml" />... @ 8:50 in E:\checkstyle\target\antrun\build-main.xml (org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run:ant-phase-verify:verify)
  5.  
  6. org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: The following error occurred while executing this line:
  7. E:\checkstyle\config\ant-phase-verify.xml:66: java.lang.IllegalStateException: Unable to persist cache file.
  8. around Ant part ...<ant antfile="config/ant-phase-verify.xml" />... @ 8:50 in E:\checkstyle\target\antrun\build-main.xml
  9. at org.apache.maven.plugins.antrun.AntRunMojo.execute(AntRunMojo.java:308)
  10. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
  11. at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:332)
  12. at org.eclipse.m2e.core.internal.embedder.MavenImpl.lambda$8(MavenImpl.java:1379)
  13. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179)
  14. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:114)
  15. at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1378)
  16. at org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:54)
  17. at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:135)
  18. at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:169)
  19. at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)
  20. at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$1(MavenBuilder.java:114)
  21. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179)
  22. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:114)
  23. at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$0(MavenBuilder.java:105)
  24. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179)
  25. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:153)
  26. at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:101)
  27. at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:88)
  28. at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:197)
  29. at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:832)
  30. at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  31. at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
  32. at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
  33. at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:316)
  34. at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
  35. at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:319)
  36. at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:371)
  37. at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:392)
  38. at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
  39. at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:244)
  40. at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  41. Caused by: E:\checkstyle\target\antrun\build-main.xml:8: The following error occurred while executing this line:
  42. E:\checkstyle\config\ant-phase-verify.xml:66: java.lang.IllegalStateException: Unable to persist cache file.
  43. at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:585)
  44. at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:445)
  45. at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  46. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  47. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  48. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  49. at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  50. at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  51. at org.apache.tools.ant.Task.perform(Task.java:352)
  52. at org.apache.tools.ant.Target.execute(Target.java:437)
  53. at org.apache.tools.ant.Target.performTasks(Target.java:458)
  54. at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1406)
  55. at org.apache.tools.ant.Project.executeTarget(Project.java:1377)
  56. at org.apache.maven.plugins.antrun.AntRunMojo.execute(AntRunMojo.java:287)
  57. ... 31 more
  58. Caused by: E:\checkstyle\config\ant-phase-verify.xml:66: java.lang.IllegalStateException: Unable to persist cache file.
  59. at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
  60. at org.apache.tools.ant.Task.perform(Task.java:352)
  61. at org.apache.tools.ant.Target.execute(Target.java:437)
  62. at org.apache.tools.ant.Target.performTasks(Target.java:458)
  63. at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1406)
  64. at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
  65. at org.apache.tools.ant.Project.executeTargets(Project.java:1261)
  66. at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
  67. ... 43 more
  68. Caused by: java.lang.IllegalStateException: Unable to persist cache file.
  69. at com.puppycrawl.tools.checkstyle.Checker.destroy(Checker.java:183)
  70. at com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask.realExecute(CheckstyleAntTask.java:335)
  71. at com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask.execute(CheckstyleAntTask.java:302)
  72. at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  73. at jdk.internal.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
  74. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  75. at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  76. at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  77. ... 50 more
  78. Caused by: java.nio.file.AccessDeniedException: C:\Windows\system32\target
  79. at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
  80. at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
  81. at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
  82. at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:509)
  83. at java.base/java.nio.file.Files.createDirectory(Files.java:689)
  84. at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:796)
  85. at java.base/java.nio.file.Files.createDirectories(Files.java:782)
  86. at com.puppycrawl.tools.checkstyle.PropertyCacheFile.persist(PropertyCacheFile.java:149)
  87. at com.puppycrawl.tools.checkstyle.Checker.destroy(Checker.java:180)
  88. ... 57 more
  89. pom.xml /checkstyle line 1376 Maven Build Problem
  90.  
RAW Paste Data