Can't get dispatcher to work

Steven McGrew <[email protected]> Mon, 30 Jan 2012 11:39:57 -0500
Newsgroups gmane.comp.web.maverick.general
Message-ID <CAFsX8v1q62mctA6PwUDeSVL9zY7_mucBDr_8ePun4RY_WBtb3A@mail.gmail.com>
--===============4330350004346726048==
Content-Type: multipart/alternative; boundary=20cf307d056632148104b7c17f10

--20cf307d056632148104b7c17f10
Content-Type: text/plain; charset=ISO-8859-1

Up for a blast from the past?

I am trying to run a very basic web app using Maverick mostly to learn
about the MVC framework. However, I am currently stymied by an error that I
keep getting. The dispatcher refuses to load.

This is the error: java.lang.ClassNotFoundException: org.jdom.JDOMException
Full stack trace: http://pastebin.com/Sv4bs4r1
I get this error on both Tomcat 6 and Tomcat 4.1.30, with both JDom 1.0 and
the latest version.

I have maverick.jar in my WEB-INF/lib folder and I have the library added
to my build path. Here are snippets from my maverick.xml and web.xml,
respectively:

 <views>
 <view id="MyView" path="home.jsp">
 </view>
 </views>

 <commands>
 <command name="cmd">
 <controller class="controllers.MyController"/>
  <view name="success" path="success.jsp" />
  <view name="error" path="failure.jsp" />
 </command>

----

<servlet>
    <display-name>Maverick Dispatcher</display-name>
    <servlet-name>dispatcher</servlet-name>
    <servlet-class>org.infohazard.maverick.Dispatcher</servlet-class>
    <load-on-startup>2</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>dispatcher</servlet-name>
    <url-pattern>*.m</url-pattern>
    </servlet-mapping>

If anyone can help I'd greatly appreciate it.

--20cf307d056632148104b7c17f10
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Up for a blast from the past?<div><br></div><div>I am trying to run a very =
basic web app using Maverick mostly to learn about the MVC framework. Howev=
er, I am currently stymied by an error that I keep getting. The dispatcher =
refuses to load.</div>
<div><br></div><div>This is the error:=A0java.lang.ClassNotFoundException: =
org.jdom.JDOMException</div><div>Full stack trace:=A0<a href=3D"http://past=
ebin.com/Sv4bs4r1">http://pastebin.com/Sv4bs4r1</a></div><div>I get this er=
ror on both Tomcat 6 and Tomcat 4.1.30, with both JDom 1.0 and the latest v=
ersion.</div>
<div><br></div>
<div>I have maverick.jar in my WEB-INF/lib folder and I have the library ad=
ded to my build path. Here are snippets from my maverick.xml and web.xml, r=
espectively:</div><div><br></div><div><div>=A0&lt;views&gt;</div><div>=A0&l=
t;view id=3D&quot;MyView&quot; path=3D&quot;home.jsp&quot;&gt;</div>
<div>=A0&lt;/view&gt;</div><div>=A0&lt;/views&gt;</div><div>=A0</div><div>=
=A0&lt;commands&gt;</div><div>=A0&lt;command name=3D&quot;cmd&quot;&gt;</di=
v><div>=A0&lt;controller class=3D&quot;controllers.MyController&quot;/&gt;<=
/div><div>=A0 &lt;view name=3D&quot;success&quot; path=3D&quot;success.jsp&=
quot; /&gt;</div>
<div>=A0 &lt;view name=3D&quot;error&quot; path=3D&quot;failure.jsp&quot; /=
&gt;</div><div>=A0&lt;/command&gt;</div></div><div><br></div><div>----</div=
><div><br></div><div><div>&lt;servlet&gt;</div><div>=A0 =A0 &lt;display-nam=
e&gt;Maverick Dispatcher&lt;/display-name&gt;</div>
<div>=A0 =A0 &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;</div><div>=
=A0 =A0 &lt;servlet-class&gt;org.infohazard.maverick.Dispatcher&lt;/servlet=
-class&gt;</div><div>=A0 =A0 &lt;load-on-startup&gt;2&lt;/load-on-startup&g=
t;</div>
<div>=A0 &lt;/servlet&gt;</div><div>=A0 &lt;servlet-mapping&gt;</div><div>=
=A0 =A0 &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;</div><div>=A0 =
=A0 &lt;url-pattern&gt;*.m&lt;/url-pattern&gt;</div><div>=A0 =A0 &lt;/servl=
et-mapping&gt;</div>
</div><div><br></div><div>If anyone can help I&#39;d greatly appreciate it.=
</div><div><br></div><div><br></div>

--20cf307d056632148104b7c17f10--


--===============4330350004346726048==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
--===============4330350004346726048==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
%(real_name)s mailing list
%(real_name)s@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Archives are available at http://www.mail-archive.com/mav-user%40lists.sourceforge.net/
--===============4330350004346726048==--