NetBeans constantly adds JacksonJsonProvider to my JAX-RS ApplicationConfig class -
netbeans (7.3.1 build 201306052037) adding following lines jax-rs applicationconfig class. don't want these lines added how tell stop?
// following code can used customize jersey 1.x json provider: try { class jacksonprovider = class.forname("org.codehaus.jackson.jaxrs.jacksonjsonprovider"); resources.add(jacksonprovider); } catch (classnotfoundexception ex) { java.util.logging.logger.getlogger(getclass().getname()).log(java.util.logging.level.severe, null, ex); }
this bug in netbeans' webservice plugin (see this thread). fixed in version 7.4 of ide.
Comments
Post a Comment