FHIR Demo Server Creation

Hi I am trying to create a FHIR Demo server following the instructions given at http://hapifhir.io/doc_jpa.html#Configuring_The_JPA_Server. I am facing an issue with the Maven builds. I am going to open a GIT issue for this. If any of you have faced this problem and fixed it, please let me know.

0 5 743
5 REPLIES 5

hi @kuladeep kumar surisetti, I recently setup one last week w/o any issues. What is the error you are facing?

Thanks @Surbhi.

steps: 1) downloaded the project from https://github.com/jamesagnew/hapi-fhir(From Windows 7)

2) unzipped hapi-fhir-master.zip

3) moved to hapi-fhir-master on cmd.

4) mvn install had thrown some errors.(will capture and attach here as a file)

Note> Here is the error I got on "mv validate" itself.

[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project hapi-fhir-cli-app: Could not resolve d ependencies for project ca.uhn.hapi.fhir:hapi-fhir-cli-app:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: ca.uhn.hapi.fhir:hapi-fhir-cli-jpase rver:war:1.6-SNAPSHOT, ca.uhn.hapi.fhir:hapi-fhir-cli-jpaserver:jar:classes:1.6- SNAPSHOT: Could not find artifact ca.uhn.hapi.fhir:hapi-fhir-cli-jpaserver:war:1 .6-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/reposi tories/snapshots) -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hapi-fhir-cli-app

Ok, there could be an issue with complete latest build or the cli related stuff, however for fhir demo server you could only build hapi-fhir-jpaserver-example (if not already built during the complete built which you tried) and deploy the

hapi-fhir-jpaserver-example.war. It should set the fhir server for you.

http://hapifhir.io/doc_jpa.html - getting started section.

@Surbhi by any chance have you set it on AWS? Let me know please..

Thanks @Surbhi. I did that. And also I raised an issue on github and got the issue fixed.Now I can do the Vagrant up.