Announcement Announcement Module
No announcement yet.
error on XML Viewer Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • error on XML Viewer

    org.appfuse.web.UserXMLView is not abstract and does not override abstract method createDomNode(java.util.Map,java.lang.String,javax .servlet.http.HttpServletRequest,javax.servlet.htt pServletResponse) in org.springframework.web.servlet.view.xslt.Abstract XsltView

    public class UserXMLView extends AbstractXsltView {
    if i try to make it public abstract class UserXMLView extends AbstractXsltView {

    another error message appers that says it cant be instantiated

  • #2
    version mismatch?

    I think you have a version mismatch there. I just briefly checked in Spring 1.2.8, there are no abstract methods in AbtractXsltView, so that subclasses can choose to override createDomNode() or createXsltSource().

    Check which version of Spring your version of appfuse requires an make sure they match.

    btw, I guess org.appfuse.web.UserXMLView is not part of the Spring distribution, so maybe an appfuse forum would be the better place to ask such a question.

    And yes, abstract classes cannot be instantiated, if that comes as a surprise to you, you should brush up your Java basics.