> Hi, > > I use the xe made from svnroot/xwiki/enterprise/, and create a page > using "xwiki 2.0". put only one line in the content "abc", then save > and review. Got error as following: > org.apache.velocity.exception.MethodInvocationException: Invocation of > method 'getRenderedContent' in class com.xpn.xwiki.api.Document threw > exception java.lang.NoSuchMethodError: > org.xwiki.rendering.renderer.xhtml.XHTMLRenderer.<init>(Ljava/io/Writer;Lorg/xwiki/rendering/DocumentManager;)V
This is the constructor. The XHTMLRenderer has been changed. It uses WikiPrinter instead of java.io.Writer. You can use the default implementation of the WikiPrinter. See the org.xwiki.rendering.renderer package. > @ /templates/contentview.vm[7,7] > > Any suggestion? > > Thanks > Wang Ning > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

