Changed import resources. Still works as webapp context -> appcontext -> jpa context