When I type
' @Resource (name="jdbc/OracleDS")
private DataSource fooDS; '
in my IDE, I get a couple of errors which read:
1) class 'name' not found
2) formal parameter list: expecting ; ( This comes at the end of the first line