-
Notifications
You must be signed in to change notification settings - Fork 46
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
mvn install failed #12
Comments
javafx should be available on the client side system that is compiling the source code. Which version of Java are you using to try compiling the source code? |
Thanks @wbuchanan , am using Java 8. Will upgrade and install again. |
Java 8 should include JavaFX, so that shouldn’t be an issue. Are you using OpenJDK or the official Java release from Oracle? Maybe there are some differences between the two distributions. If you are installing from a foreign country that might be an issue as well; I know there are restrictions on the distribution of encryption libraries to some countries, so this is more of a guess than anything. |
I am compiling on a CentOS server (6.10). $ java -version
You are right: no javafx included with OpenJDK. |
Seems like there is missing javafx dependency:
[INFO] Reactor Summary for Psychometrics 2.0:
[INFO]
[INFO] Psychometrics ...................................... SUCCESS [ 0.611 s]
[INFO] psychometrics-core ................................. SUCCESS [ 10.613 s]
[INFO] psychometrics-ctt .................................. FAILURE [ 2.656 s]
[INFO] psychometrics-optim ................................ SKIPPED
[INFO] psychometrics-factor ............................... SKIPPED
[INFO] psychometrics-fmm .................................. SKIPPED
[INFO] psychometrics-irt .................................. SKIPPED
[INFO] psychometrics-nirt ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.124 s
[INFO] Finished at: 2019-04-26T18:25:02+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project psychometrics-ctt: Compilation failure: Compilation failure:
[ERROR] /home/user/joel/rnd/test/psychometrics/psychometrics-ctt/src/test/java/com/itemanalysis/psychometrics/classicalitemanalysis/StreamingItemAnalysisTest.java:[3,25] error: package javafx.application does not exist
[ERROR]
[ERROR] /home/user/joel/rnd/test/psychometrics/psychometrics-ctt/src/test/java/com/itemanalysis/psychometrics/classicalitemanalysis/StreamingItemAnalysisTest.java:[4,28] error: package javafx.beans.property does not exist
[ERROR]
[ERROR] /home/user/joel/rnd/test/psychometrics/psychometrics-ctt/src/test/java/com/itemanalysis/psychometrics/classicalitemanalysis/StreamingItemAnalysisTest.java:[5,28] error: package javafx.beans.property does not exist
[ERROR]
[ERROR] /home/user/joel/rnd/test/psychometrics/psychometrics-ctt/src/test/java/com/itemanalysis/psychometrics/classicalitemanalysis/StreamingItemAnalysisTest.java:[6,25] error: package javafx.collections does not exist
[ERROR]
[ERROR] /home/user/joel/rnd/test/psychometrics/psychometrics-ctt/src/test/java/com/itemanalysis/psychometrics/classicalitemanalysis/StreamingItemAnalysisTest.java:[7,25] error: package javafx.collections does not exist
The text was updated successfully, but these errors were encountered: