--- Den tors 23/7/09 skrev Craig McClanahan <Craig.McClanahan@Sun.COM>
>
> SEVERE: The provider class, class
> com.test.ws.controller.CustomExceptionMapper, could not be
> instantiated. Processing will continue but the class will
> not be utilized
> java.lang.reflect.InvocationTargetException
>> FWIW, I've seen this type of thing when the constructor
>> of my class
>> itself threw an exception (like an NPE or something).
>> It might be
>> worth looking for something like that.
This happens even if the CTR is empty so that can not be the reason in my case.
My curent workaround is to use field injection instead for CustomExceptionMapper which works without problems.
/Morten
Find din nye laptop på kelkoo.dk. Se de gode tilbud her -
http://dk.yahoo.com/r/pat/mm