Skip to content
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

Open
anachronin opened this issue Apr 26, 2019 · 4 comments
Open

mvn install failed #12

anachronin opened this issue Apr 26, 2019 · 4 comments

Comments

@anachronin
Copy link

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

@wbuchanan
Copy link

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?

@anachronin
Copy link
Author

Thanks @wbuchanan , am using Java 8. Will upgrade and install again.

@wbuchanan
Copy link

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.

@anachronin
Copy link
Author

I am compiling on a CentOS server (6.10).

$ java -version

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

You are right: no javafx included with OpenJDK.
I am trying solution suggested here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants