Advertisement
Shuochen

Untitled

Jun 2nd, 2021
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. WARNING: An illegal reflective access operation has occurred
  2. WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
  3. WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
  4. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  5. WARNING: All illegal access operations will be denied in a future release
  6. [INFO] Scanning for projects...
  7. [INFO]
  8. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  9. [INFO] Building Maven Stub Project (No POM) 1
  10. [INFO] --------------------------------[ pom ]---------------------------------
  11. [INFO]
  12. [INFO] --- openmrs-sdk-maven-plugin:4.0.0:setup (default-cli) @ standalone-pom ---
  13.  
  14. Setting up a new server...
  15.  
  16. Specify server id (-DserverId) (default: 'server'):
  17.  
  18. You can setup the following servers:
  19. 1) Distribution
  20. 2) Platform
  21.  
  22. Which one do you choose? [1/2]: 2
  23.  
  24. You can deploy the following versions of a platform:
  25. 1) 2.5.0-SNAPSHOT
  26. 2) 2.4.0
  27. 3) 2.3.3
  28. 4) 2.2.0
  29. 5) 2.1.4
  30. 6) 2.0.7
  31. 7) Other...
  32.  
  33. Which one do you choose? [1/2/3/4/5/6/7]: 2
  34. [INFO] Configured Artifact: org.openmrs.distro:platform:2.4.0:jar
  35. [INFO] Copying platform-2.4.0.jar to /root/openmrs/server/openmrs-distro.jar
  36. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
  37. [INFO] Copying openmrs-webapp-2.4.0.war to /root/openmrs/server/openmrs-2.4.0.war
  38. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
  39. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.29.0:jar
  40. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
  41. [INFO] Copying owa-omod-1.12.0.jar to /root/openmrs/server/modules/owa-1.12.0.omod
  42. [INFO] Copying webservices.rest-omod-2.29.0.jar to /root/openmrs/server/modules/webservices.rest-2.29.0.omod
  43. [INFO] Copying fhir2-omod-1.1.0.jar to /root/openmrs/server/modules/fhir2-1.1.0.omod
  44.  
  45. Downloading OWAs...
  46.  
  47.  
  48. Downloading OWA: org.openmrs.owa:openmrs-owa-addonmanager:1.1.0
  49. [INFO] Configured Artifact: org.openmrs.owa:addonmanager:1.1.0:zip
  50. [INFO] Copying addonmanager-1.1.0.zip to /root/openmrs/server/owa/addonmanager-1.1.0.zip
  51.  
  52. What port would you like your server to use? (default: '8080'):
  53.  
  54. If you want to enable remote debugging by default when running the server,
  55. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  56. (Do not do this on a production server) (default: 'no debugging'):
  57.  
  58. Which database would you like to use?:
  59. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  60. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  61. 3) Existing docker container (requires pre-installed Docker)
  62. 4) PostgreSQL 8.2 and above
  63.  
  64. Which one do you choose? [1/2/3/4]: 1
  65.  
  66. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  67.  
  68. Please specify database username (-DdbUser) (default: 'root'):
  69. Please specify database password (-DdbPassword):
  70. Wed Jun 02 15:20:10 UTC 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  71. [INFO] ------------------------------------------------------------------------
  72. [INFO] BUILD FAILURE
  73. [INFO] ------------------------------------------------------------------------
  74. [INFO] Total time: 19.213 s
  75. [INFO] Finished at: 2021-06-02T15:20:11Z
  76. [INFO] ------------------------------------------------------------------------
  77. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3306/server?autoReconnect=true&sessionVariables=default_storage_engine%3DInnoDB&useUnicode=true&characterEncoding=UTF-8 -> [Help 1]
  78. [ERROR]
  79. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  80. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  81. [ERROR]
  82. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  83. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement