Unable to get Build success on Linux
I have done and redone the instructions at Build Source Code on Linux but always end up with these errors. I have checked the jwdb database and connectivity to it. It looks like "Failed to load ApplicationContext" is a common factor. This is a new clean Linux 18 server only modified per the instructions given. Thanks in advance, Bill
Results :
Tests in error:
testEscapeJS(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testStripHtmlRelaxed(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeHTML(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeJSON(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeJava(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeNl2Br(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeRegex(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testStripHtmlTag(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeExpression(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testStripAllHtmlTag(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeImg2Base64(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeSeparator(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeSQL(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeURL(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
testEscapeXML(org.joget.commons.util.TestStringUtil): Failed to load ApplicationContext
Tests run: 15, Failures: 0, Errors: 15, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for wflow-app 7.0-SNAPSHOT:
[INFO]
[INFO] wflow-jdbc ......................................... SUCCESS [ 1.163 s]
[INFO] wflow-commons ...................................... FAILURE [ 16.973 s]
[INFO] wflow-plugin-base .................................. SKIPPED
[INFO] wflow-plugin-archetype ............................. SKIPPED
[INFO] wflow-directory .................................... SKIPPED
[INFO] wflow-wfengine ..................................... SKIPPED
[INFO] wflow-core ......................................... SKIPPED
[INFO] wflow-consoleweb ................................... SKIPPED
[INFO] wflow-app .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.485 s
[INFO] Finished at: 2022-10-07T21:28:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project wflow-commons: There are test failures.
[ERROR]
[ERROR] Please refer to /home/ubuntu/joget_src/jw-community/wflow-commons/target/surefire-reports for the individual test results.
[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 <args> -rf :wflow-commons
root@ip-172-31-44-85:/home/ubuntu/joget_src/jw-community/wflow-app#