struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryan hansen <b...@yahoo.com>
Subject NoClassDefFoundError Struts 1.0.2
Date Wed, 04 Sep 2002 16:14:01 GMT
We are getting an exception while trying to load a jsp
using action forms in a simple login page. While
trying to load a simple jsp page:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>

<html:html locale="true">
<head>
<title>Struts Tutorial - JspInsider -
Introduction</title>
<html:base/>
</head>
<body bgcolor="white">

<html:errors/>
    <p align="center">Lesson 1. Building a Simple
Struts Application </p>

    <html:form action="/logon.do" focus="user">
             <table>
                <tr><td> Login </td>
                    <td> <html:text
property="emailAddress" size="22" maxlength="22"/>
                    </td>
                </tr>
                <tr><td colspan="2"> 
                        <html:submit property="submit"
value="Enter"/> 
                        </input>
                    </td>
                </tr>
            </table>
    </html:form>
         
</body>
</html:html>

I get an exception thrown saying that it cannot find:

java.lang.NoClassDefFoundError:
org/apache/struts/action/ActionForm

This is confusing to me because it just deployed the
applcation and had no errors while doing so? The
struts.jar is included in the WEB-INF/lib directory of
our application.

TIA,

Bryan

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message