-
Notifications
You must be signed in to change notification settings - Fork 195
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
Grails-4.0.4: init fails, it can not find services #1366
Comments
I am debugging the issue. Meanwhile, you could workaround the problem by removing the following dependency:
|
Thank you very much puneetbehl. It starts this way. |
Yes, there is some issue when the interface reloads because the Right now, I am trying to focus on Grails 4.1.0 with Groovy 3 but I would need to check why it is failing now vs 4.0.3. |
The reloading would not work once you remove the above dependency. |
I understand that Grails 4.1.0 is a more important step. |
This needs to be fixed before 4.1.0 as it would be the problem in that too. However, I am in middle of something at the moment and would look at it once I am done with the same. Please feel free to send a PR if you could track and fix the problem. |
Given the severity and expected delay in a fix, would it not make sense to remove 4.0.4 at this point in time? |
Thank you all for looking into this issue. |
A potential fix would be to change the Also, you need to update the following implementation of
|
No, I do not think it makes sense to remove 4.0.4 at this point in time. |
Is there a work-around until the next version of Grails is released? Thanks. |
Please update |
I tried that once and it didn't change anything.
|
Changing In build.gradle, dependencies block:
(make sure |
@chrisbrookes It shouold be |
@puneetbehl Thanks, that works. There was confusion because
i.e. |
Right, I think property https://github.com/grails/grails-core/blob/v4.0.4/build.gradle#L60 |
There is a problem when trying to run the application with the previous version, where Grails can't found the services This can be fixed by upgrading to the version 7.0.7.RELEASE, here is the issue related: grails/grails-data-mapping#1366
I can not start a new test application with version 4.0.4 because init doesn't find the Service.
The same with an application, which works on 4.0.3 (developer mode)
Task List
Steps to Reproduce
Expected Behaviour
Application should start
Actual Behaviour
init fails because it can not find the BookService.
All the necessary files are in place
Stacktrace
Environment Information
Example Application
Standard New Application with a Domain Class test.Book and all automatically generated Controller, Service, Views etc
Thank you for all, love Grails :-)
The text was updated successfully, but these errors were encountered: