Results 1 to 2 of 2

Thread: error on XML Viewer

  1. #1
    Join Date
    May 2006
    Posts
    26

    Default 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. #2
    Join Date
    Jul 2005
    Posts
    5

    Default 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.

    hth,

    Lutz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •