OHDSI Home | Forums | Wiki | Github

Facing issue while building WebAPI .war file


(Rahul) #1

Hi Team,

I am newbie to OHDSI and i am trying to install OHDSI as per the documentation specified in this link (http://www.ohdsi.org/web/wiki/doku.php?id=documentation:software:webapi:webapi_installation_guide) but i am getting the below error while trying to build the war file using below command

I am deploying OHDSI in CentOs7

mvn clean package -s /home/ohdsi/WebAPI/WebAPIConfig/settings.xml -P ‘webapi-oracle’

[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WebAPI 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/sql/SqlRender/1.5.3-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/sql/SqlRender/1.5.3-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/sql/SqlRender/1.5.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/sql/SqlRender/1.5.3-SNAPSHOT/maven-metadata.xml (4 KB at 5.9 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/sql/SqlRender/1.5.3-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/commons-io/commons-io/maven-metadata.xml
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-release-local/commons-io/commons-io/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/commons-io/commons-io/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/commons-io/commons-io/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/commons-io/commons-io/maven-metadata.xml (4 KB at 14.7 KB/sec)
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-release-local/commons-io/commons-io/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-release-local/commons-io/commons-io/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-release-local/commons-io/commons-io/maven-metadata.xml (4 KB at 7.8 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/commons-io/commons-io/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/commons-io/commons-io/maven-metadata-odysseus.community.releases.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.7.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.7.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.7.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.7.0-SNAPSHOT/maven-metadata.xml (4 KB at 9.6 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/circe/1.7.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata.xml (4 KB at 14.3 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for org.ohdsi:featureExtraction:jar:2.1.5-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata.xml (4 KB at 11.6 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for com.odysseusinc.arachne:execution-engine-commons:jar:1.14.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata.xml (4 KB at 14.9 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/logging/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for com.odysseusinc:logging:jar:1.14.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata.xml (4 KB at 13.7 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for com.odysseusinc.arachne:arachne-scheduler:jar:1.14.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata.xml (4 KB at 15.4 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The metadata /home/ohdsi/.m2/repository/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for com.odysseusinc:data-source-manager:jar:1.14.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/standardized-analysis-api/1.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/standardized-analysis-api/1.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/standardized-analysis-api/1.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/standardized-analysis-api/1.1.0-SNAPSHOT/maven-metadata.xml (4 KB at 9.0 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/standardized-analysis-api/1.1.0-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
Downloading: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.5.1-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.5.1-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected but is 294920a27fdb4a2ff153921e322b0984f2afa039 for http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.5.1-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.odysseusinc.com/artifactory/community-libs-snapshot-local/org/ohdsi/circe/1.5.1-SNAPSHOT/maven-metadata.xml (4 KB at 11.3 KB/sec)
[WARNING] The metadata /home/ohdsi/.m2/repository/org/ohdsi/circe/1.5.1-SNAPSHOT/maven-metadata-odysseus.community.snapshots.xml is invalid: attribute value must start with quotation or apostrophe not C (position: TEXT seen \n\n<meta http-equiv=C… @3:19)
[WARNING] The POM for com.oracle:ojdbc6:jar:12.1.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] — maven-clean-plugin:2.4.1:clean (default-clean) @ WebAPI —
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ WebAPI —
[debug] execute contextualize
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 643 resources
[INFO] Copying 1 resource
[INFO] Copying 29 resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ WebAPI —
[INFO] Compiling 762 source files to /home/ohdsi/WebAPI/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading /home/ohdsi/.m2/repository/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/featureExtraction-2.1.5-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/execution-engine-commons-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/logging/1.14.0-SNAPSHOT/logging-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/arachne-scheduler-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/data-source-manager-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/oracle/ojdbc6/12.1.0.1/ojdbc6-12.1.0.1.jar; error in opening zip file
[INFO] 6 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.627s
[INFO] Finished at: Thu Feb 07 06:29:19 EST 2019
[INFO] Final Memory: 27M/315M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project WebAPI: Compilation failure: Compilation failure:
[ERROR] error: error reading /home/ohdsi/.m2/repository/org/ohdsi/featureExtraction/2.1.5-SNAPSHOT/featureExtraction-2.1.5-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/arachne/execution-engine-commons/1.14.0-SNAPSHOT/execution-engine-commons-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/logging/1.14.0-SNAPSHOT/logging-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/arachne/arachne-scheduler/1.14.0-SNAPSHOT/arachne-scheduler-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/odysseusinc/data-source-manager/1.14.0-SNAPSHOT/data-source-manager-1.14.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /home/ohdsi/.m2/repository/com/oracle/ojdbc6/12.1.0.1/ojdbc6-12.1.0.1.jar; error in opening zip file
[ERROR] -> [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


t