OHDSI Home | Forums | Wiki | Github

WebAPI build error 입니다 혹시 해결해본적 있으신분이 계신가요?


(박성준) #1

mssql 을 사용하여 webapi 을 maven build 를 했는데 다음과 같은 에러가 났습니다.

혹시 해결법을 아시나요?

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.933 s
[INFO] Finished at: 2020-02-25T13:57:11+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project WebAPI: Could not resolve dependencies for project org.ohdsi:WebAPI:war:1.0.0-SNAPSHOT: Failed to collect dependencies at com.odysseusinc.arachne:execution-engine-commons:jar:1.14.0-alpha-1: Failed to read artifact descriptor for com.odysseusinc.arachne:execution-engine-commons :jar:1.14.0-alpha-1: Could not transfer artifact com.odysseusinc.arachne:executi on-engine-commons:pom:1.14.0-alpha-1 from/to central (http://repo.maven.apache.o rg/maven2/): Transfer failed for http://repo.maven.apache.org/maven2/com/odysseu sinc/arachne/execution-engine-commons/1.14.0-alpha-1/execution-engine-commons-1. 14.0-alpha-1.pom 501 HTTPS Required -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
[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 rea d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso lutionException


(박성준) #2

비슷하지만 이런 에러로 바뀌었습니다…

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.222 s
[INFO] Finished at: 2020-02-26T10:47:02+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project WebAPI: Could not resolve dependencies for project org.ohdsi:WebAPI:war:1.0.0-SNAPSHOT: Failed to collect dependencies at org.eclipse.collections:eclipse-collections:jar:8.0.0: Failed to read artifact descriptor for org.eclipse.collections:eclipse-collections:jar:8.0.0: Could not transfer artifact org.eclipse.collections:eclipse-collections:pom:8.0.0 from/to central (http://repo.maven.apache.org/maven2/): Transfer failed for http://repo.maven.apache.org/maven2/org/eclipse/collections/eclipse-collections/8.0.0/eclipse-collections-8.0.0.pom 501 HTTPS Required -> [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/DependencyResolutionException


(Anthony Sena) #3

Hi - please see this issue: https://github.com/OHDSI/WebAPI/issues/1432. Maven now requires SSL which is why the request to http://repo.maven.apache.org/maven2 fails. You may need to use a newer version of WebAPI as mentioned in that issue to work around this problem. You may also need to update your version of Maven if is is < 3.2.3


t