Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am on OpenShift and using Gradle. I am running into an issue where I get the below exception. I tried Gradle 1.6 and Gradle 1.11 but no luck. Some minimal partial answers are covered on the web but none of them worked for instance I tried adding -Dorg.gradle.bindaddress=$OPENSHIFT_INTERNAL_IP but that has no effect. This is a deal breaker for me right now. Any pointers/help would be much appreciated. Thanks.
23:52:49.573 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.net.BindException: Permission denied
23:52:49.574 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.FileLockCommunicator.<init>(FileLockCommunicator.java:38)
23:52:49.574 [ERROR] [org.gradle.BuildExceptionReporter] ... 44 more`
I think you are basically running into this bug - http://issues.gradle.org/browse/GRADLE-2871.
I don't think there is a solution for this right now. Setting org.gradle.bindaddress sounds good, and there is indeed a pull request to add such a property to Gradle (https://github.com/gradle/gradle/pull/242), but this code is not merged.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 months ago.
Improve this question
I have a project that setup with maven tool. So far, Sometime compile success but sometime compile failure. Each time failure informed difference errors that's why I didn't know root cause and I only execute command such as: mvn compile until it is successfully. Are there any opinions please sharing them with me. I thanks so much because this issue take a lot of time from me now.
Thanks
Try clearing the cache of your project or using mvn clean
you can try
mvn clean install -Dmaven.test.skip=true
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
Many times due to some errors in project or mis-configuration in eclipse, Junits fails to run for a class. How one can execute such unittests from command line without wasting effort.
Many times due to some errors in project or mis-configuration in eclipse, Junits fails to run for a class. While working in a hybris project, we have an option to execute our junits from command line as well.
Go to platform directory.
Set ant environment.
Execute test with below script:
ant unittests -Dtestclasses.suppress.junit.tenant=true -Dtest="**fully-qualified test class name**"
or
ant unittests -Dtestclasses.suppress.junit.tenant=true -Dtest="de.hybris.platform.acceleratorfacades.cart.action.populator.AcceleratorCartEntryActionPopulatorTest"
Then one can check report generated at below directory.
Report dir : D:\HybrisSetup\Code\hybris\log/junit
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 months ago.
Improve this question
I am trying to build the sample javaFX application in the Intellij 2018.3 IDE. I have installed the oracle JDK11, and downloaded openjfk11. I created a library linked to the javafx sdk and added the line --module-path=${PATH_TO_FX} --add-modules=javafx.controls,javafx.fxml to the VM options line. PATH_TO_FX is defined as an environment variable pointing to my javaFX folder.
I have searched through a number of postings on this site, including This solution to my exact error message. The odd thing I cannot figure out is, This solution works for me if there is no build directory. But if I have already built the project once, it then refuses to run and gives me the stated error. If I delete the build directory and try again, then the program runs correctly again.
Well It looks like I just goofed up something with the output directory because this morning I tried resetting the build path to the default and it just started working.
Try adding path to JavaFX SDK lib folder instead of just the JavaFX SDK.
It worked for me.
ex:
--module-path C:\javaFX\javafx-sdk-11.0.2\lib --add-modules javafx.controls,javafx.fxml
*Replace the "C:\javaFX\javafx-sdk-11.0.2\lib" part with the path to your javaFX SDK "lib" folder.
You should not use VM Path if you define exports and opens in module-info.java. Because VM Path is essential if do not explicitly define module. Then IntelliJ internally creates a module for us.
if you use IntelliJ , you must delete module-info.java in src/main/java, i did and it works,
this file is automatically generated when you create javafx project
Confirm if you didnt add the javafx sdk to the class path instead of the modulepath
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have just created an android project in android studio 1.2.1.1 but it says cannot resolve R. I have not changed the manifest or the xml which are usually responsible for that problem.
I'll post the answer for anyone finding it useful, in the end i just had to update the sdk manager to 22.0.1 and change the gradle build tools version to the latest meaning the one i downloaded
Try to build or clean project. It always occurs after create new project because R is generating at build process not while creating project.
Its also happens when you dont have necessary support files..
Check the error log, it should be showing some kind of error that will help you to resolve the problem..
Check if yours xmls are ok,you can have bugs there.
Also try clean the project or build it again.Other solution can be change something in your code and build.
R.java is a file that regenerate, so you can close Android Studio, delete R.java and open it again.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
When I am importing a project into eclipse, I get this error:
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project
'android.app.NativeActivity'.
java.lang.NullPointerException
Does anybody know how to fix it?
This issue is predominantly caused by issues with the project.properties file. This post should help you resolve the issue:Mac Error Create Android Project - "Errors running builder 'Android Resource Manager' on project"