0 Replies Latest reply on Sep 9, 2002 2:31 PM by Alan

    Config Error: Serving Content Outside of WAR

    Alan Newbie

      I am trying to serve some static HTML from outside the .WAR as instructed by the 3.02 FAQ. When I put the following XML into my jboss-service.xml file, I get the exception below.


      /documents/*
      /docroot/
      TRUE


      13:37:38,879 INFO [jbossweb] Checking Resource aliases
      13:37:38,889 ERROR [jbossweb] problem configuring Jetty:
      java.lang.NoSuchMethodException: class org.mortbay.jetty.servlet.ServletHttpCont
      ext.setServingResources(class java.lang.String)
      at org.mortbay.xml.XmlConfiguration.set(XmlConfiguration.java:356)

      What am I doing wrong?