I'm using Jersey 1.19.1 on a Web project with Java+Jboss.
Everytime I request something from the Webservice, it shows this entry on the server.log:
ERROR [STDERR] com.sun.jersey.server.wadl.generators.AbstractWadlGeneratorGrammarGenerator attachTypes
INFO: Couldn't find grammar element for class java.lang.String
Searching on how to disable it, I've found this:
<init-param>
<param-name>com.sun.jersey.config.server.wadl.DisableWADL</param-name>
<param-value>true</param-value>
</init-param>
But it didn't changed a thing for me.
How can I disable WADL so this annoying message doesn't show up anymore?
Here's the full entry for the servlet:
<servlet>
<servlet-name>windi-mobile-service</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>com.sun.jersey.config.server.wadl.DisableWADL</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>br.com.altimus.mobile.service</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>