Hey there!
I'm trying within one of my components to get a reference to a valid TagManager so that I can call resolve on some Tag IDs that I have.
The documentation I've read says to do either:
TagManager tagManager = JcrTagManagerFactory.getTagManager(session);
TagManager tagManager = resourceResolver.adaptTo(ResourceResolver.class);
but I can't get either of these to work. Anyone have any code they've used in a component to get a TagManager?