java-library - test code: No Embedded Server #11201
Unanswered
waveskimmer
asked this question in
Q&A
Replies: 1 comment
-
You need a http server implementation as a dependency |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've had this unresolved problem where when writing a library (e.g., using
io.micronaut.minimal.library
plugin), I'm unable to get ahold of theEmbeddedServer
.That is:
EmbeddedServer embeddedServer = ApplicationContext.run(EmbeddedServer.class);
errors.
I generated a quick app with the launcher to demonstrate: https://github.com/waveskimmer/micronaut-embedded-server
Beta Was this translation helpful? Give feedback.
All reactions