OHDSI Home | Forums | Wiki | Github

Can't bulid WebAPI .war

RUN THE CODE
C:\Git\OHDSI\WebAPI> mvn clean package -DskipTests -s WebAPIConfig/settings.xml -P webapi-postgresql

AND THEN

build WebAPI.war failure

really need help ? Does anyone can teach me how to solve it .

Try removing the space after the -P so it is

-Pwebapi-postgresql

Also, if you could just do mvn -v and report which version of maven you are using.

I try use the “-Pwebapi-postgresql” but still useless.
my maven version is 3.8.1

Ok, the solution to using maven 3.8.1 is found here:

thank you Chris ! But I still can’t solve the problem according to your method. some new ERROR happend. I think there is something wrong with the MAVEN installation. Please help me solve the problem.

t