JBIDE-17717 - Validation of @Path annotation with invalid argument cause error

Fixed for @Path annotation values on both Resource and Resource Methods
Fixed for missing '{' and '}' brackets.