Skip to content
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

Exception sending context initialized event to listener instance of class org.grails.jaxrs.web.JaxrsListener #51

Closed
aelsaman opened this issue Jun 12, 2014 · 2 comments

Comments

@aelsaman
Copy link

I kind of figure out a work-around, however, I wanted to post it to be taken into consideration ..

I followed the installation guide and things were okay and valid but I didn't create any resources(Jax-RS), just included the maven -repo and installed the plugin to my Grails project but when trying to start the app, I get the below exception which fails the whole initiation.
Exception sending context initialized event to listener instance of class org.grails.jaxrs.web.JaxrsListener

then I create a resource using the command line: grails create-resource
and cleaned the app and tried to run again, and the error just gone. so that's illogical because you are forcing the app to run the command (grails create-resource) at least for one time !

Note: I am using GGTS 3.5.1 with Grails 2.3.9

Thank You

@davidecavestro
Copy link
Collaborator

I see... there's some code in Jersey initialization that produces this behavior. I see no configuration props that could disable it. Maybe we could provide a way to completely disable jersey startup: it could be manually configured by users who applied the plugin but don't have any resource class (yet)

@budjb
Copy link
Contributor

budjb commented Mar 31, 2016

This issue was moved to budjb#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants