Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARNING: An illegal reflective access operation has occurred
- 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)
- WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
- WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
- WARNING: All illegal access operations will be denied in a future release
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:4.0.0:setup (default-cli) @ standalone-pom ---
- Setting up a new server...
- Specify server id (-DserverId) (default: 'server'):
- You can setup the following servers:
- 1) Distribution
- 2) Platform
- Which one do you choose? [1/2]: 2
- You can deploy the following versions of a platform:
- 1) 2.5.0-SNAPSHOT
- 2) 2.4.0
- 3) 2.3.3
- 4) 2.2.0
- 5) 2.1.4
- 6) 2.0.7
- 7) Other...
- Which one do you choose? [1/2/3/4/5/6/7]: 2
- [INFO] Configured Artifact: org.openmrs.distro:platform:2.4.0:jar
- [INFO] Copying platform-2.4.0.jar to /root/openmrs/server/openmrs-distro.jar
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
- [INFO] Copying openmrs-webapp-2.4.0.war to /root/openmrs/server/openmrs-2.4.0.war
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.29.0:jar
- [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
- [INFO] Copying owa-omod-1.12.0.jar to /root/openmrs/server/modules/owa-1.12.0.omod
- [INFO] Copying webservices.rest-omod-2.29.0.jar to /root/openmrs/server/modules/webservices.rest-2.29.0.omod
- [INFO] Copying fhir2-omod-1.1.0.jar to /root/openmrs/server/modules/fhir2-1.1.0.omod
- Downloading OWAs...
- Downloading OWA: org.openmrs.owa:openmrs-owa-addonmanager:1.1.0
- [INFO] Configured Artifact: org.openmrs.owa:addonmanager:1.1.0:zip
- [INFO] Copying addonmanager-1.1.0.zip to /root/openmrs/server/owa/addonmanager-1.1.0.zip
- What port would you like your server to use? (default: '8080'):
- If you want to enable remote debugging by default when running the server,
- specify the port number here (e.g. 1044). Leave blank to disable debugging.
- (Do not do this on a production server) (default: 'no debugging'):
- Which database would you like to use?:
- 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
- 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
- 3) Existing docker container (requires pre-installed Docker)
- 4) PostgreSQL 8.2 and above
- Which one do you choose? [1/2/3/4]: 1
- The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'): jdbc:mysql://locallhost:3306/openmrs
- Please specify database username (-DdbUser) (default: 'root'):
- Please specify database password (-DdbPassword):
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:16 min
- [INFO] Finished at: 2021-06-02T14:46:57Z
- [INFO] ------------------------------------------------------------------------
- [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://locallhost:3306/openmrs?autoReconnect=true&sessionVariables=default_storage_engine%3DInnoDB&useUnicode=true&characterEncoding=UTF-8 -> [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/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment