Hello everyone,
I am getting errors when compiling the simplelabentry module Here is the output from maven after compiling
T E S T S
Running org.openmrs.module.simplelabentry.util.SimpleLabEntryUtilTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec Running org.openmrs.module.simplelabentry.SimpleLabEntryServiceTest log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner). log4j:WARN Please initialize the log4j system properly. Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 17.982 sec <<< FAILURE!
Results :
Tests in error: shouldReturnLabConcepts(org.openmrs.module.simplelabentry.SimpleLabEntryServiceTest) shouldGenerateLabOrderReport(org.openmrs.module.simplelabentry.SimpleLabEntryServiceTest)
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Summary: [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - simplelabentry … SUCCESS [11.587s] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - simplelabentry API … FAILURE [22.124s] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - simplelabentry OMOD … SKIPPED [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 34.410s [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: Sun Sep 23 13:54:28 NPT 2018 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Final Memory: 16M/181M [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project simplelabentry-api: There are te st failures. [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - Please refer to F:\intern\openmrs-module-simplelabentry-master\api\target\surefire-reports for the individual test results. [main] ERROR org.apache.maven.cli.MavenCli - -> [Help 1] [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch. [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging. [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles: [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - After correcting the problems, you can resume the build with the command [main] ERROR org.apache.maven.cli.MavenCli - mvn -rf :simplelabentry-api
I apologize if the information provided in not enough or well formatted, please reply and I will provide further details
Thank you in advance