Re: [cf-push] Deploying spring-music twice will throw lots of warnings
Daniel Mikusa <dmikusa@...>
This has happened to me in the past when Maven/Gradle fails to download a JAR dependency and it gets stuck in the local cache on my laptop's filesystem. The actual file is some error, not a JAR file, which is why you get messages about invalid JAR files. For Maven, you just have to wipe out the offending files under ~/.m2/repository (or delete everything under that folder). I'm not as familiar with Gradle, but SO says it stores them under ~/.gradle/caches/modules-2/files-2.1, https://stackoverflow.com/a/33196481. The solution should be the same. Delete the offending files or just delete everything. Then run `gradle clean` and `gradle assemble` again. You should see it download the files again. Make sure you're on the network & able to access the files it's trying to download. Hope that helps! On Mon, Apr 13, 2020 at 11:08 PM "何贵民(箫竹) <guimin.hgm@...> wrote:
|
|