Tried that, and "com.foo.Material$MaterialUnit.SQUARE_METRES", no dice. Gives the same error still. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020654#4020654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020654