-
Notifications
You must be signed in to change notification settings - Fork 951
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
run-app fails with BeanDefinitionStoreException #671
Comments
Please provide steps to reproduce |
I had a similar problem and it turns out my .bash_profile was causing it. Although grails run-app used to work with same .bash_profile, the problem might be caused due to some of the dependencies, such as gradle, being updated. I don't remember updating anything manually but I'm periodically updating my homebrew and gvm dependencies which might have brought a new version for one of the dependencies. grails -version prints the following in my environment: | Grails Version: 3.0.1 |
In order to reproduce, add the following into your .bash_profile:
The above is an unrelated configuration for iTerm, but it turns out causing the reported error when running grails run-app:
|
I'm sorry to say that the problem persists with Grails 3.0.3.
It seems to conflict with the global
|
Will take another look... |
@AugierLe42e Cannot reproduce locally, I tried adding the line:
To my |
I don't what addintional informations to give you. This is exactly the problematic line. Commenting it removes the problem, uncommenting it causes it with Grail 3.0.0, Grovy 2.4.3 and JVM 1.7.0_79. I will ping Mageia devs to add them in the loop but I can't give you more on this, sorry. |
Maybe try to source the whole script. |
Update: couldn't reproduce too on a new project. I managed to solve the problem on old project by nuking build directory and changing properties Sorry for the noise and thanks. |
I followed the "helloworld" example on https://grails.org/single-page-documentation.html (Grails 3.0.1) and this is what I get when I try to run the app:
Grails tries to parse my "export PROMPT_COMMAND" statement from my .bash_profile (and fails)!? Any hint about that?
The text was updated successfully, but these errors were encountered: