-
Notifications
You must be signed in to change notification settings - Fork 12
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
Rest-Ressources need serverURL configured #4
Comments
@rdmueller How come its not breaking the sample grails app. Am I inadvertently doing something to make it work? |
I see. The sample app uses a different profile than I do (web). That seems to be the reason. Might be something for the documentation - others might run into the same problem... |
Not sure what that means @rdmueller 🙄 I'm a grails novice. Could you perhaps update the Readme.adoc? Or perhaps if the sample that is being used for contract testing isn't the idiomatic sample would you mind creating a sample that shows what you mean? I'd be happy to include it in the springfox. |
I run into the same problem with the profile "rest-api", and I noticed that "grails.serverURL" is added to demo project. Here is my error log.
|
@albert-hejy what version of grails are u using? |
if
grails.serverURL
isn't configured, application will throw an exception.Can be simply configured in
application.yml
The text was updated successfully, but these errors were encountered: