Advertisement
spkabugo

Failed Basic example test

Jul 10th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.56 KB | None | 0 0
  1. ch.
  2. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  3. [ERROR]
  4. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  5. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
  6.  
  7. C:\Users\hp\basicexample>mvn clean install openmrs-sdk:run
  8. [INFO] Scanning for projects...
  9. [INFO] ------------------------------------------------------------------------
  10. [INFO] Reactor Build Order:
  11. [INFO]
  12. [INFO] Basicexample [pom]
  13. [INFO] Basicexample API [jar]
  14. [INFO] Basicexample OMOD [jar]
  15. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  16. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
  17. [INFO]
  18. [INFO] ------------------< org.openmrs.module:basicexample >-------------------
  19. [INFO] Building Basicexample 1.0.0-SNAPSHOT [1/3]
  20. [INFO] --------------------------------[ pom ]---------------------------------
  21. [INFO]
  22. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample ---
  23. [INFO]
  24. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample ---
  25. [INFO] Checking for local modifications: skipped.
  26. [INFO] Updating project files from SCM: skipped.
  27. [INFO] ShortRevision tag detected. The value is '6'.
  28. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  29. [INFO] Working directory: C:\Users\hp\basicexample
  30. [INFO] Storing buildNumber: 0 at timestamp: 1562788287076
  31. [INFO] ShortRevision tag detected. The value is '6'.
  32. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  33. [INFO] Working directory: C:\Users\hp\basicexample
  34. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  35. [INFO]
  36. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample ---
  37. [INFO] Using 'UTF-8' encoding to format source files.
  38. [INFO] Number of files to be formatted: 0
  39. [INFO]
  40. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample ---
  41. [INFO] Installing C:\Users\hp\basicexample\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample\1.0.0-SNAPSHOT\basicexample-1.0.0-SNAPSHOT.pom
  42. [INFO]
  43. [INFO] ----------------< org.openmrs.module:basicexample-api >-----------------
  44. [INFO] Building Basicexample API 1.0.0-SNAPSHOT [2/3]
  45. [INFO] --------------------------------[ jar ]---------------------------------
  46. [INFO]
  47. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-api ---
  48. [INFO] Deleting C:\Users\hp\basicexample\api\target
  49. [INFO]
  50. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-api ---
  51. [INFO]
  52. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-api ---
  53. [INFO] Using 'UTF-8' encoding to format source files.
  54. [INFO] Number of files to be formatted: 8
  55. [INFO] Successfully formatted: 0 file(s)
  56. [INFO] Fail to format : 0 file(s)
  57. [INFO] Skipped : 8 file(s)
  58. [INFO] Approximate time taken: 2s
  59. [INFO]
  60. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-api ---
  61. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  62. [INFO] Copying 5 resources
  63. [INFO] Copying 0 resource
  64. [INFO] skip non existing resourceDirectory C:\Users\hp\basicexample\api\src\main\webapp
  65. [INFO] skip non existing resourceDirectory C:\Users\hp\basicexample\api\src\main\webapp
  66. [INFO]
  67. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-api ---
  68. [INFO] Changes detected - recompiling the module!
  69. [INFO] Compiling 6 source files to C:\Users\hp\basicexample\api\target\classes
  70. [INFO]
  71. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-api ---
  72. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  73. [INFO] Copying 0 resource
  74. [INFO] Copying 0 resource
  75. [INFO]
  76. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-api ---
  77. [INFO] Changes detected - recompiling the module!
  78. [INFO] Compiling 2 source files to C:\Users\hp\basicexample\api\target\test-classes
  79. [INFO]
  80. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-api ---
  81. [INFO] Surefire report directory: C:\Users\hp\basicexample\api\target\surefire-reports
  82.  
  83. -------------------------------------------------------
  84. T E S T S
  85. -------------------------------------------------------
  86. Running org.openmrs.module.basicexample.api.BasicexampleServiceTest
  87. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.986 sec
  88. Running org.openmrs.module.basicexample.api.dao.BasicexampleDaoTest
  89. Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.356 sec
  90.  
  91. Results :
  92.  
  93. Tests run: 2, Failures: 0, Errors: 0, Skipped: 1
  94.  
  95. [INFO]
  96. [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-api ---
  97. [INFO] Building jar: C:\Users\hp\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar
  98. [INFO]
  99. [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-api ---
  100. [INFO] Building jar: C:\Users\hp\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar
  101. [INFO]
  102. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-api ---
  103. [INFO] Installing C:\Users\hp\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.jar
  104. [INFO] Installing C:\Users\hp\basicexample\api\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.pom
  105. [INFO] Installing C:\Users\hp\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT-tests.jar
  106. [INFO]
  107. [INFO] ----------------< org.openmrs.module:basicexample-omod >----------------
  108. [INFO] Building Basicexample OMOD 1.0.0-SNAPSHOT [3/3]
  109. [INFO] --------------------------------[ jar ]---------------------------------
  110. [INFO]
  111. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-omod ---
  112. [INFO] Deleting C:\Users\hp\basicexample\omod\target
  113. [INFO]
  114. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-omod ---
  115. [INFO]
  116. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-omod ---
  117. [INFO] Using 'UTF-8' encoding to format source files.
  118. [INFO] Number of files to be formatted: 3
  119. [INFO] Successfully formatted: 0 file(s)
  120. [INFO] Fail to format : 0 file(s)
  121. [INFO] Skipped : 3 file(s)
  122. [INFO] Approximate time taken: 2s
  123. [INFO]
  124. [INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (Expand resources) @ basicexample-omod ---
  125. [INFO] Unpacking C:\Users\hp\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to C:\Users\hp\basicexample\omod\target\classes with includes "*.xml,*.properties" and excludes ""
  126. [INFO]
  127. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-omod ---
  128. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  129. [INFO] Copying 2 resources
  130. [INFO] Copying 0 resource
  131. [INFO] Copying 0 resource to web/module
  132. [INFO] Copying 1 resource to web/module
  133. [INFO]
  134. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-omod ---
  135. [INFO] Changes detected - recompiling the module!
  136. [INFO] Compiling 2 source files to C:\Users\hp\basicexample\omod\target\classes
  137. [INFO]
  138. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-omod ---
  139. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  140. [INFO] Copying 0 resource
  141. [INFO] Copying 0 resource
  142. [INFO]
  143. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-omod ---
  144. [INFO] Changes detected - recompiling the module!
  145. [INFO] Compiling 1 source file to C:\Users\hp\basicexample\omod\target\test-classes
  146. [INFO]
  147. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-omod ---
  148. [INFO] Surefire report directory: C:\Users\hp\basicexample\omod\target\surefire-reports
  149.  
  150. -------------------------------------------------------
  151. T E S T S
  152. -------------------------------------------------------
  153. Running org.openmrs.module.basicexample.AdminListExtensionTest
  154. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.024 sec
  155.  
  156. Results :
  157.  
  158. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
  159.  
  160. [INFO]
  161. [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-omod ---
  162. [INFO] Building jar: C:\Users\hp\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.jar
  163. [INFO]
  164. [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ basicexample-omod ---
  165. [INFO] Packaging OpenMRS module
  166. [INFO] Building jar: C:\Users\hp\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod
  167. [INFO]
  168. [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-omod ---
  169. [INFO] Building jar: C:\Users\hp\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar
  170. [INFO]
  171. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-omod ---
  172. [INFO] Installing C:\Users\hp\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.jar
  173. [INFO] Installing C:\Users\hp\basicexample\omod\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.pom
  174. [INFO] Installing C:\Users\hp\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar to C:\Users\hp\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT-tests.jar
  175. [INFO]
  176. [INFO] ------------------< org.openmrs.module:basicexample >-------------------
  177. [INFO] Building Basicexample 1.0.0-SNAPSHOT [4/3]
  178. [INFO] --------------------------------[ pom ]---------------------------------
  179. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  180. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
  181. [INFO]
  182. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:run (default-cli) @ basicexample ---
  183.  
  184. You have the following servers::
  185. 1) server
  186.  
  187. Which one do you choose? [1]: 1
  188.  
  189. Checking if port 8080 is in use... [free]
  190. [INFO] OpenMRS module detected, installing before run...
  191. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo
  192. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo-thirdparty
  193. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-bintray-repo
  194. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from central
  195. [INFO] Configured Artifact: org.openmrs.module:basicexample-omod:1.0.0-SNAPSHOT:jar
  196. [INFO] Copying basicexample-1.0.0-SNAPSHOT.omod to C:\Users\hp\openmrs\server\modules\basicexample-1.0.0-SNAPSHOT.omod
  197. [info] Module 'basicexample' was updated to version '1.0.0-SNAPSHOT'
  198.  
  199. Connect remote debugger with port 3306
  200.  
  201.  
  202. Forking a new process... (use -Dfork=false to prevent forking)
  203.  
  204. Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
  205. ERROR: transport error 202: bind failed: Permission denied
  206. ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
  207. JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
  208. [INFO] ------------------------------------------------------------------------
  209. [INFO] Reactor Summary for Basicexample 1.0.0-SNAPSHOT:
  210. [INFO]
  211. [INFO] Basicexample ....................................... FAILURE [ 37.340 s]
  212. [INFO] Basicexample API ................................... SUCCESS [ 24.912 s]
  213. [INFO] Basicexample OMOD .................................. SUCCESS [ 22.260 s]
  214. [INFO] ------------------------------------------------------------------------
  215. [INFO] BUILD FAILURE
  216. [INFO] ------------------------------------------------------------------------
  217. [INFO] Total time: 01:33 min
  218. [INFO] Finished at: 2019-07-10T22:52:55+03:00
  219. [INFO] ------------------------------------------------------------------------
  220. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:run (default-cli) on project basicexample: Execution default-cli of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:run failed: Failed running Tomcat -> [Help 1]
  221. [ERROR]
  222. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  223. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  224. [ERROR]
  225. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  226. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
  227.  
  228. C:\Users\hp\basicexample>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement