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<views></div><div>=A0&l=
t;view id=3D"MyView" path=3D"home.jsp"></div>
<div>=A0</view></div><div>=A0</views></div><div>=A0</div><div>=
=A0<commands></div><div>=A0<command name=3D"cmd"></di=
v><div>=A0<controller class=3D"controllers.MyController"/><=
/div><div>=A0 <view name=3D"success" path=3D"success.jsp&=
quot; /></div>
<div>=A0 <view name=3D"error" path=3D"failure.jsp" /=
></div><div>=A0</command></div></div><div><br></div><div>----</div=
><div><br></div><div><div><servlet></div><div>=A0 =A0 <display-nam=
e>Maverick Dispatcher</display-name></div>
<div>=A0 =A0 <servlet-name>dispatcher</servlet-name></div><div>=
=A0 =A0 <servlet-class>org.infohazard.maverick.Dispatcher</servlet=
-class></div><div>=A0 =A0 <load-on-startup>2</load-on-startup&g=
t;</div>
<div>=A0 </servlet></div><div>=A0 <servlet-mapping></div><div>=
=A0 =A0 <servlet-name>dispatcher</servlet-name></div><div>=A0 =
=A0 <url-pattern>*.m</url-pattern></div><div>=A0 =A0 </servl=
et-mapping></div>
</div><div><br></div><div>If anyone can help I'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==--