Troubleshooting

The project won't build

Check the console output for error messages which might suggest where the build process failed.

For example, there may be checkstyle violations:

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< com.diffblue.javademo:java-demo >-------------------
[INFO] Building Java Demo Project 1.0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ java-demo ---
[INFO] Starting audit...
/path-to/java-demo/src/main/java/com/diffblue/javademo/Palindrome.java:5:3: warning: Missing a Javadoc comment.
Audit done.
[WARNING] src/main/java/com/diffblue/javademo/Palindrome.java:[5,3] (javadoc) JavadocMethod: Missing a Javadoc comment.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.030 s
[INFO] Finished at: 2019-06-28T14:46:47+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on project java-demo: You have 1 Checkstyle violation. -> [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

For further help

Contact the Diffblue support team:

support@diffblue.com

results matching ""

    No results matching ""