Open lduparc opened 8 years ago
Before runing the build-all scripts. Add a line to create the wrapper jars to be added in your system.
gradle wrapper
Hi, I'm running your project, and I had the following problem.
错误: 找不到或无法加载主类 org.gradle.wrapper.GradleWrapperMain
I'm on Mac OS , and I've already installed gradle
Hi Dior222 I encountered the same problem with you , I have also installed gradle on my Linux machine, then I changed the build-all-projects.sh , insert 'gradle wrapper' command before each './gradlew clean build' like this
#!/bin/sh
cd api-gateway; gradle wrapper; ./gradlew clean build; cd ..
cd auth-server; gradle wrapper; ./gradlew clean build; cd ..
cd config-server; gradle wrapper; ./gradlew clean build; cd ..
cd task-webservice; gradle wrapper; ./gradlew clean build; cd ..
cd user-webservice; gradle wrapper; ./gradlew clean build; cd ..
cd web-portal; gradle wrapper; ./gradlew clean build; cd ..
cd webservice-registry; gradle wrapper; ./gradlew clean build; cd ..
cd comments-webservice; gradle wrapper; ./gradlew clean build; cd ..
then try to execute build-all-projects.sh again it's working for me, although I don't understand the tech detail.
The problem is that most of the projects' gradle/wrapper folder does not contain a gradle-wrapper jar. Copy that across and it builds fine.
Hi,
I'm trying to run the project with SpringBoot 1.3.0.BUILD-SNAPSHOT and docker. However, I encounter an issue with docker images 'anilallewar/xxxx' .
When I want to build all subprojects with the command line :
No such property: mainClassName for class: org.gradle.api.internal.project.DefaultProject_Decorated
Can you give me the keys in order to run the project with docker ?
Thanks