Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run skeleton-project locally. #11

Open
MikeRileyGTRI opened this issue Feb 11, 2022 · 4 comments
Open

Cannot run skeleton-project locally. #11

MikeRileyGTRI opened this issue Feb 11, 2022 · 4 comments

Comments

@MikeRileyGTRI
Copy link

I cloned java/hapi-fhirstarters-rest-server-skeleton to my local file system and ran
mvn clean install
then followed up with
mvn jetty:run
And ran into the following issue:

[WARNING] 
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

It seems like the jetty-maven-plugin cannot detect dependencies provided by the testpage-overlay project? I've attached the full stacktrace as a file if necessary.
fhirstarters_restskeleton_jettyrun.log

@MikeRileyGTRI
Copy link
Author

I resolved this issue by adding the hapi-fhir-server and hapi-fhir-client libraries to the base pom, as well as a few webjars that could not be found by the test overlay. The resources are still not available, but the project builds this way.

@jtsaich
Copy link

jtsaich commented Dec 16, 2022

Same issue here, getting issue w/ DispatcherServlet:

16:55:33.125 [main] INFO ca.uhn.fhir.rest.server.RestfulServer - A FHIR has been lit on this server
[WARNING] 
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

@MikeRileyGTRI
Copy link
Author

Is this project no longer maintained? Or are issues not responded to on here?

@brsolomon-deloitte
Copy link

It looks like this issue has been resolved or is not reproducible. I am able to serve this project successfully with:

git clone https://github.com/FirelyTeam/fhirstarters.git
cd hapi-fhirstarters-rest-server-skeleton/
mvn clean install
mvn jetty:run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants