BUILD FAILURE...wflow-directory

Confluence User - 22 Nov, 2018

I try to solve the error. But, I did not fix the problem.

So, please help me to find a solution.

Thanks a lot.

PS.Sorry, My English is weak.

"mvn clean install", below is error message...

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project wflow-directory: There are test failures.
[ERROR]
[ERROR] Please refer to /usr/joget_src/jw-community/wflow-directory/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

"mvn clean install -X", below is error message...

at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[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

 

"mvn dependency::tree", below is error message...

[INFO] wflow-wfengine ..................................... FAILURE [ 0.184 s]
[INFO] wflow-core ......................................... SKIPPED
[INFO] wflow-consoleweb ................................... SKIPPED
[INFO] wflow-designer ..................................... SKIPPED
[INFO] wflow-designerweb .................................. SKIPPED
[INFO] wflow-app 6.0-SNAPSHOT ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.527 s
[INFO] Finished at: 2018-11-22T20:53:29+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wflow-wfengine: Could not resolve dependencies for project org.joget:wflow-wfengine:jar:6.0-SNAPSHOT: Could not find artifact org.joget:wflow-directory:jar:6.0-SNAPSHOT -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :wflow-wfengine

build;wflow-wfengine

8


23 Nov, 2018
confluenceUser
confluenceUser

Hello, do try again with a different internet connection. Enterprise internet connections may have firewall restrictions that block specific files from being downloaded.

23 Nov, 2018
confluenceUser
confluenceUser

Hi, the error messages are incomplete so cannot tell your actual problem. Since you are failing at wflow-directory unit tests I would suspect it is perhaps a database connection issue, you should ensure that your db configuration is correct. Try following the exact steps in Build Source Code on Linux.

23 Nov, 2018
confluenceUser
confluenceUser

Thanks for your answer... I had check "app_datasource-default.properties". ==================================== # #Thu Apr 16 17:47:42 MYT 2015 workflowDriver=com.mysql.jdbc.Driver workflowUrl=jdbc\:mysql\://localhost\:3306/jwdb?characterEncoding\=UTF-8 workflowUser=joget profileName=default workflowPassword=P@ssw0rd =========================================== And I use the account&PW of "app_datasource-default.properties" logto mysql. It's success. Have other way can test the "app_datasource-default.properties" is correct?

23 Nov, 2018
confluenceUser
confluenceUser

hanks your answer. I use Vultr VPS. I try to download the file again. (git clone https://github.com/jogetworkflow/jw-community.git --branch 6.0-SNAPSHOT) And try again. It's same.

23 Nov, 2018
confluenceUser
confluenceUser

You could check the "Please refer to /usr/joget_src/jw-community/wflow-directory/target/surefire-reports for the individual test results" to see the full error stacktraces. That would give a better indication as to the actual error.

24 Nov, 2018
confluenceUser
confluenceUser

Thanks Anders reponse I was check the file [TEST-org.joget.directory.model.service.TestDirectoryManager.xml] But, I can understand the error message :( =================================================== Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &apos;setupSessionFactory&apos; defined in class path resource [commonsApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when &apos;hibernate.dialect&apos; not set at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ......

26 Nov, 2018
confluenceUser
confluenceUser

From that error message it failed to make a successful connection to the database so you need to double check that somehow.

03 Oct, 2019
confluenceUser
confluenceUser

Anders hey I would like to ask about setting up the database. I have setup the jwdb in MySQL server but I don't understand by what "with the "jwdb-empty.sql" file located in the source code directory "wflow-install/src/main/resources/data/"." means. Can you please englight me? Thanks before.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print