-
Notifications
You must be signed in to change notification settings - Fork 9
Couldn't find grammar element for class #18
Comments
From @davidecavestro on September 9, 2014 7:4 I've never seen it. It seems an info message more than an error, however googling for it I've found http://stackoverflow.com/questions/15767973/jersey-what-does-couldnt-find-grammar-element-mean |
From @confile on September 9, 2014 9:6 I checked this. All my classes have a public default constructor and may be a second parameterized constructor:
|
From @confile on September 11, 2014 22:4 @davidecavestro Do you have any idea how to fix this? |
From @davidecavestro on September 12, 2014 7:47 No idea. If I had time I'd debug the relevant jersey code. However I guess we are talking about an info message that you can safely ignore |
From @confile on September 18, 2014 14:33 In my Config.groovy I use:
Is there any other config you recommend to prevent these INFO messages? |
From @davidecavestro on September 18, 2014 15:25 No idea, did you tried debugging |
From @confile on September 18, 2014 15:34 Sorry I did not get your point. Could you give me a little help please. How do I debug this? |
From @confile on September 18, 2014 15:38 I also get the following output after server startup:
Do you have any idea what to do? |
From @confile on September 18, 2014 15:41 In this post: http://stackoverflow.com/questions/15767973/jersey-what-does-couldnt-find-grammar-element-mean A possible solution is to put the following in my web.xml:
Where do I have to put this init param to? Is there a config in your plugin to disable WADL? |
From @davidecavestro on September 19, 2014 8:8 The grails-jaxrs plugin simply uses jersey (the jaxrs reference implementation), embedding it into the grails web application. |
From @confile on September 19, 2014 9:1 @davidecavestro Thank you very much for your help. I would go with the resources.groovy solution. Could you please tell me what I do have to set in resources.groovy? I think it would be something like
|
From @davidecavestro on September 19, 2014 9:7 Keep in mind you can put groovy code into resources.groovy 2014-09-19 11:01 GMT+02:00 Confile [email protected]:
|
From @confile on September 19, 2014 13:37 It does not work this way. I get the following error:
What do I have to change? |
From @confile on September 25, 2014 14:8 @davidecavestro I still have this problem could you please give me some advice how to disable WADL? |
From @davidecavestro on September 29, 2014 6:56 Sorry, even last weekend I had no time to give it a try |
From @confile on September 29, 2014 11:43 What should I put in resources.groovy? |
From @confile on October 8, 2014 12:19 @davidecavestro Could the answer in this question be a solution? http://stackoverflow.com/questions/25915049/jersey-couldnt-find-grammar-element-for-class |
From @confile on September 8, 2014 20:26
In my production environment I get the following error:
What does this mean?
Copied from original issue: krasserm#57
The text was updated successfully, but these errors were encountered: