Getting Below build exception while migrating the Springboot project from spring 1.1.1 release to 2.3.12 release . Please help here. Answer This issue seems to be related to a version mismatch. This method was removed some time ago. There is a closed issue for this on swagger plug-in https://github.com/swagger-api/swagger-core/issues/3554 Migrating this difference in versions, I think spring is now shipped
Tag: build
How to compile OpenJDK with OpenJ9 on Linux without a NUMA error?
Hello Stackoverflowers! I am trying to build the OpenJDK with OpenJ9 on Linux, but when I run the configure script, I get the error: Normally it should have just created the config and let me build, because I don’t have multiple CPUs. I have already googled the error message and looked trough and followed the documentation on the projects Github(https://github.com/ibmruntimes/openj9-openjdk-jdk17/blob/openj9/doc/building.md
Zip directory to multiple destinations using Gradle
Is it possible with Gradle’s Zip task to copy the resulting zip into multiple destinations? AFAIK you can only zip multiple input directories with only one output destination. Is there a way to zip a …
gradle build broken after dependency update
I use gradle to build a java project (ASCIIGenome). One of the dependencies of ASCIIGenome is a repository on github (htsjdk, as you can see is a fork with some changes of mine). The ASCIIGenome …
Unzip specific zip file from nested zip file using ANT
I have a zip file ex. ‘test.zip’ that contains 2 more zip files within it – A.zip and B.zip. I want to only extract contents of A.zip and leave B.zip untouched. I did try out the below code snippet, …
Gradle migration 3.1.4 -> 3.5.1; :app module doesn’t compile; ClassNotFoundException: Didn’t find class on path: DexPathList
I have two applications where I face the same issue while trying to update project target API from 27 to 29. To do this, first I need to update Gradle plugin at least to 3.2.+. Project is building …
Build docker image with jetty – when should I build?
I’m working on ‘dockerizing’ a java web application (https://github.com/kermitt2/grobid) which I want to run using jetty. Here the Dockerfile: FROM jetty:9.3-jre8 ADD ./grobid-home/target/grobid-…
Installing and using Gradle in a docker image/container
I am getting this strange error at the end of the process of creating a docker image from a Dockerfile: /bin/sh: 1: gradle: not found INFO[0003] The command [/bin/sh -c gradle test jar] returned a …
How to build OpenCV with Java under Linux using command line?(Gonna use it in MapReduce)
Recently I’m trying OpenCV out for my graduation project. I’ve had some success under Windows enviroment. And because with Windows package of OpenCV it comes with pre-built libraries, so I don’t have to worry about how to build them. But since the project is suppose to run on a cluster with CentOS as host OS for each node, I have
Specify the GRADLE_USER_HOME in Windows 7
How do I configure the GRADLE_USER_HOME option? My Windows username contains a space(C:UsersBaz Foo) and I think that the build fails because of this. I have added an environment variable GRADLE_USER_HOME and set it to C:UsersBaz Foo.gradle and tried also with –gradle-user-home=”C:UsersBaz Foo.gradle” but none of them work. Answer I have explicitly defined GRADLE_USER_HOME to point to a path without