-
Notifications
You must be signed in to change notification settings - Fork 212
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
com.aol.micro.server.auto.discovery.Rest doesn't work #18
Comments
I'm guessing this is also dependency related. I'm upgrading to the latest Gradle. Gradle not including dependencies in the generate POM was an issue, but it's marked as resolved in their JIRA. I can replicate the issue locally with your POM, will try and determine the exact cause. |
This is a bug. As a temporary work around you can add the @microserver annotation to TestMicroserverApp it will work. |
Tested locally, and working with v0.54 which is in Maven central now. |
Tested with v0.53. I believe that HelloResource needs to be put into a package where spring scans for annotated components |
Yep, the names of the packages Spring should scan weren't being configured correctly - when no Microserver annotation of Config object present. Fixed now in v0.54. |
ref my gist (https://gist.github.com/mwnorman/ed36b3c772d1973dcf1a)
I have created a simple test app ... my HelloResource is not being auto-magically discovered:
http://localhost:8080/simple/foo/hello
Resource identified by path '/simple/foo/hello', does not exist.
Am I missing something?
The text was updated successfully, but these errors were encountered: