Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-milestone1, 3.0.0-milestone2, 2.7.12
-
None
-
All
-
Novice
Description
When creating a Jaxb context, the ResourceUtils class catches all JAXBExceptions and eats them!
These errors are usually related to the validation of JAXB class annotations and are required to fix problems with the WADL grammar section...
Suggest logging at least an WARNING level entry and include the original JAXBException in the log to provide sufficient info to fix the warning...
JAXBContext ctx;
try
should be
JAXBContext ctx;
try { ctx = JAXBContext.newInstance(classes.toArray(new Class[classes.size()]), contextProperties); return ctx; }
catch (JAXBException ex)
{ LOG.log(Level.WARNING, "No JAXB context can be created", ex); }