New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaFX Build "cannot find symbols" #4680
Comments
Hi @kebiro, i think we can simplify your yml quite a bit. The issue you linked to shows our old yml syntax, and much of it is unnecessary now. I noticed that "gradle assemble" is being added to your yml as a default command. Do you actually want this? If I'm not mistaken, the language: java
jdk:
- oraclejdk8
build:
ci:
- source shipctl jdk set oraclejdk8
- java -version
- gradle --version
- chmod +x ./gradlew
- ./gradlew clean build
can you give this a try and let us know how it goes? |
Thank you very much for your response, it was quite helpful.
This might be Java specific, I feel. I have no clue what's going on though. |
hmm. let's try a couple more things:
|
Thank you, this has indeed worked. Could you leave it as open for another day, because I've only tried it on a dummy project thus far. Furthermore, how did you arrive at that solution? I don't think I could have come up with that on my own. Anyway, whether you close it or not, your help is much appreciated. Short, concise and accurate👍👍 . |
sure, we can leave it open for now. let us know if you run into anything else. After looking at your error, we googled around a bit, and eventually settled on this post: https://stackoverflow.com/questions/47921563/javax-net-ssl-sslexception-the-trustanchors-parameter-must-be-non-empty Which seemed like it fit the symptom, and thought it would be worth a try. We found that the command failed on Shippable runtime versions > 6.8.4 possibly due to a known java path issue (that will be resolved in our next release), but found that the command ran successfully on v6.8.4. Since you didn't have any dependency on the latest shippable runtime we figured moving back would give the best chance of success. Glad to see it worked out! |
closing this. @kebiro let us know if this issue comes up again. |
Hi, it's fine, thank you. I haven't forgotten about this thread... it's just that I don't have control over the settings, a third party has to do that. They've had some troubles, and the holidays and all that in-between caused some delay as well. Anyway, thank you for your help. Edit: I just wanted to say that it works now. Again, thanks a lot. |
There is already a very similar issue which has been marked as resolved (this), but that one didn't work for me. It's also three years old and uses Maven whereas I'm building my project using Gradle.
This is the build failure, though I'm not sure if you can view it:
https://app.shippable.com/bitbucket/kebiro/gradle_shippable_test/runs/10/1/console
My YAML file looks like this:
As you can see, it's a poor attempt of trying the suggested solution from above. The one step I didn't/couldn't do was to set the build image to
shippableimages/ubuntu1204_java
This is the Java version used by Shippable:
I'd appreciate any kind of help. Furthermore, I'd like to know why this isn't working in the first place? Building it in IntelliJ doesn't cause any problems.
The text was updated successfully, but these errors were encountered: