I just updated my pom.xml references to get the latest version of spring, and now I am getting errors for @Transaction and @Repository references in my code.
I added spring-tx which seams to have fixed my @transaction references, but where is @repository now?
Other errors that I can’t figure out are:
getJdbcTemplate doesnt’ seem to resolve.
RowMapper also doesn’t resolve.
Where did these move to?
Why did this change happen? It would be nice if all annotations where in a single maven repository.
You can find both jdbc method and row mapper class under the spring-jdbc jar and you should add spring-context jar for @Repository annotation.