Just to follow up on this, I discovered the OBR version of sling rewriter is old (1.0.4) so when I installed from maven central (1.1.2) I am not seeing the same errors. Here is the link if anyone is interested:
http://search.maven.org/#artifactdetails%7Corg.apache.sling%7Corg.apache.sling.rewriter%7C1.1.2%7Cbundle I also installed Cocoon serializers using this JAR: http://search.maven.org/#artifactdetails%7Corg.apache.cocoon%7Ccocoon-serializers-charsets%7C1.0.2%7Cbundle On Sat, Jun 11, 2016 at 12:29 PM, Ben Fortuna <[email protected]> wrote: > Hi Oliver, > > Yes I did refresh after installing, however I couldn't find a standard > OSGi bundle for cocoon, so I just embedded the cocoon-serializers JAR to my > own bundle. So it's possible I am not exporting all of the required > packages. > > Are there standard cocoon bundles I should use for the rewriter support? I > will look around a bit more to see if I can find some better bundle to use. > Many thanks. > > Regards, > Ben > On 11 Jun 2016 6:12 am, "Oliver Lietz" <[email protected]> wrote: > > On Thursday 09 June 2016 18:20:31 Ben Fortuna wrote: > > Hi, > > Hi Ben, > > > I am seeing a curious error when I try to inject a link transformer in > the > > rewriter pipeline of Sling 8 (running in docker). It tells me that the > > HtmlSerializerFactory can't find the HtmlSerializer class, even though it > > is an inner class of the factory. > > > > I suspect the problem is that the required Cocoon libraries are not > > installed, but even then the rewriter bundle does not explicitly import > the > > cocoon packages. > > the Cocoon import is optional. Did you refresh package imports after > installing Cocoon? > > Regards, > O. > > > Has anyone used the default Sling rewriter pipeline serializer, or do > most > > use the implementation that comes with AEM (which is apparently > different)? > > Many thanks. > > > > Regards, > > Ben > >
