org.gradle.api.GradleException: Could not copy MANIFEST.MF to '/my_directory/aaa/build/tmp/jar/MANIFEST.MF'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Andrey M
, 1 year ago
Could not copy MANIFEST.MF to '/my_directory/aaa/build/tmp/jar/MANIFEST.MF'.
via gradle.org by Unknown author, 1 year ago
Could not copy MANIFEST.MF to '/Users/ben/projects/caffeine/tracing/api/build/tmp/jar/MANIFEST.MF'.
via gradle.org by Unknown author, 1 year ago
Could not copy MANIFEST.MF to '/Users/ben/projects/caffeine/tracing/api/build/tmp/jar/MANIFEST.MF'.
via Stack Overflow by Unknown author, 2 years ago
Could not copy MANIFEST.MF to '/(...my project path...)/build/tmp/jar/MANIFEST.MF'.
via GitHub by almibe
, 1 year ago
Could not copy MANIFEST.MF to '/home/alex/IdeaProjects/library-weasel/library-weasel-bootstrap/build/tmp/jar/MANIFEST.MF'.
via Stack Overflow by brain storm
, 1 year ago
Could not copy file '/Users/Documents/proj/src/main/resources/application.properties' to '/Users/Documents/proj/build/resources/main/application.properties'.
org.gradle.api.GradleException: Could not copy MANIFEST.MF to '/my_directory/aaa/build/tmp/jar/MANIFEST.MF'.
at org.gradle.api.internal.file.AbstractFileTreeElement.copyTo(AbstractFileTreeElement.java:79)
at org.gradle.api.internal.file.collections.MapFileTree$FileVisitDetailsImpl.getFile(MapFileTree.java:162)
at org.gradle.api.internal.file.collections.MapFileTree$FileVisitDetailsImpl.getSize(MapFileTree.java:222)
at org.gradle.api.internal.file.FileTreeElementHasher.calculateHashForFileMetadata(FileTreeElementHasher.java:47)
at org.gradle.api.internal.changedetection.state.DefaultVisitedTree.calculatePreCheckHash(DefaultVisitedTree.java:89)
at org.gradle.api.internal.changedetection.state.VisitedTreesPreCheckHasher.calculatePreCheckHash(VisitedTreesPreCheckHasher.java:47)
at org.gradle.api.internal.changedetection.state.AbstractFileCollectionSnapshotter$DefaultFileCollectionSnapshotPreCheck.getHash(AbstractFileCollectionSnapshotter.java:110)
at org.gradle.api.internal.changedetection.rules.InputFilesTaskStateChanges.(InputFilesTaskStateChanges.java:41)
at org.gradle.api.internal.changedetection.rules.TaskUpToDateState.(TaskUpToDateState.java:52)
at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.getStates(DefaultTaskArtifactStateRepository.java:145)
at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:74)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.