Stream: hapi
Topic: data store issue
Jayashree Surnar (Oct 16 2017 at 07:44):
hello everyone,
I downloaded the hapi-fhir code(3.0.0) from git and run the below commands
mvn mvn -Dmaven.test.skip=true install
and succesfully build the project.
imported into the neon eclipse and run the hapi-fhir-jpaserver-example on tomcat
inserted the patient(json) through ui and data is stored successfully. but data is not storing while sending a json using advance rest client or mostman tool. getting the below error. can anybody knows the reason?
Error:
!doctype html><html lang="en"><head><title>HTTP Status 404 â Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 â Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.0.M18</h3></body></html>
Thank you.
Patrick Werner (Oct 16 2017 at 08:11):
To which URL did you send your CREATE request?
Patrick Werner (Oct 16 2017 at 08:12):
maybe you forget the /baseDstu3 in the URL?
Jayashree Surnar (Oct 16 2017 at 09:52):
thank you @Patrick Werner
Last updated: Apr 12 2022 at 19:14 UTC