I am using windows 11 &
java version "21.0.1" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
I tried to run the command
mvn -T 1C clean install test
And I got the following error:
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] LiteralConverterTest.init:57 ExceptionInInitializer
[ERROR] PropertyVerbalizerTest.birthPlace:40 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.bornIn:79 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.cross:92 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.hasColor:53 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.isGoldMedalWinner:169 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.isHardWorking:66 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.knownFor:143 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.name:156 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.producedBy:105 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.restingPlace:26 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.workedFor:131 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] PropertyVerbalizerTest.worksFor:118 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[ERROR] TripleConverterTest.init:55 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory
[INFO]
[ERROR] Tests run: 14, Failures: 0, Errors: 14, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Linked Data 2 Natural Language 0.4.2-SNAPSHOT:
[INFO]
[INFO] Linked Data 2 Natural Language ..................... SUCCESS [ 0.325 s]
[INFO] Triple2NL .......................................... FAILURE [ 16.097 s]
[INFO] SPARQL2NL .......................................... SKIPPED
[INFO] AVATAR ............................................. SKIPPED
[INFO] OWL2NL ............................................. SKIPPED
[INFO] Evaluation ......................................... SKIPPED
[INFO] controller ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.630 s (Wall Clock)
[INFO] Finished at: 2024-01-04T19:25:43+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.2:test (default-test) on project triple2nl:
[ERROR]
[ERROR] Please refer to C:\Users\Admin'\Desktop\DICE_job\Caglar Demir\LD2NL task\LD2NL\Triple2NL\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :triple2nl
I am using windows 11 & java version "21.0.1" 2023-10-17 LTS Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29) Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
I tried to run the command
mvn -T 1C clean install test
And I got the following error: [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] LiteralConverterTest.init:57 ExceptionInInitializer [ERROR] PropertyVerbalizerTest.birthPlace:40 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.bornIn:79 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.cross:92 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.hasColor:53 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.isGoldMedalWinner:169 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.isHardWorking:66 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.knownFor:143 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.name:156 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.producedBy:105 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.restingPlace:26 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.workedFor:131 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] PropertyVerbalizerTest.worksFor:118 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [ERROR] TripleConverterTest.init:55 ┬╗ NoClassDefFound Could not initialize class org.apache.jena.rdf.model.ModelFactory [INFO] [ERROR] Tests run: 14, Failures: 0, Errors: 14, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Linked Data 2 Natural Language 0.4.2-SNAPSHOT: [INFO] [INFO] Linked Data 2 Natural Language ..................... SUCCESS [ 0.325 s] [INFO] Triple2NL .......................................... FAILURE [ 16.097 s] [INFO] SPARQL2NL .......................................... SKIPPED [INFO] AVATAR ............................................. SKIPPED [INFO] OWL2NL ............................................. SKIPPED [INFO] Evaluation ......................................... SKIPPED [INFO] controller ......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.630 s (Wall Clock) [INFO] Finished at: 2024-01-04T19:25:43+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.2:test (default-test) on project triple2nl: [ERROR] [ERROR] Please refer to C:\Users\Admin'\Desktop\DICE_job\Caglar Demir\LD2NL task\LD2NL\Triple2NL\target\surefire-reports for the individual test results. -rf :triple2nl
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn
Could you please tell me how to resolve it?