Hi everyone,

I get: SERVLET-compile_failed: Failed in compiling template:
/web/SampleClassQuery.jsp, JSP Error: Class was not found for :html. For the
complete trace see attached file. I tried to track it down where it happens
and according to what I see in my struts-config file, the error looks to
occur when the action path="/SampleClassSetProfile" is executed.

<action path="/SampleClassSetProfile"
    type = "SamplePackage.web.SampleClassSetProfileAction"
    scope="request" 
    validate="false">
   
    <forward name="success" path="/SampleClassQuery.jsp" redirect="false" />
    <forward name="failure" path="/SampleClassBrowse.do" redirect="false" />
</action>

To my understanding, the moment the error occurs is the first time that
"taglib" is referenced in the struts library. After deployment, The
struts.jar file has been extracted to the web-inf\lib location. (By the way,
Should iPlanet unjar all these jar files here? Or should iPlanet just deploy
the jar file without unjarring it?) Because the jar files have been
extracted, there's no jar file to point to. So, instead I've added the
web-inf\classes AND the web-inf\lib location to the classpaths but I find
this very strange to do so...
Anyway, this did not help to solve the problem. Does anybody know?

 <<runtime-error.txt>> 
Thanks in advance,

Raymond P. Brandon
------------------------------------------------------------------------
Software Engineer                        Compuware Europe BV
Product Development                      Hoogoorddreef 5
Uniface Technology                       P.O.Box 12933
Mailto:[EMAIL PROTECTED]  1100 AX Amsterdam
                                         The Netherlands
                                         Tel: +31 - 20 - 3126510
                                         Fax: +31 - 20 - 3116364


[25/Jun/2001 11:01:49:7] info: --------------------------------------
[25/Jun/2001 11:01:49:7] info: action: init
[25/Jun/2001 11:01:49:7] info: --------------------------------------
init
[25/Jun/2001 11:01:49:8] info: --------------------------------------
[25/Jun/2001 11:01:49:8] info: action: Loading application resources from resource 
SamplePackage.web.webResources
[25/Jun/2001 11:01:49:8] info: --------------------------------------
Loading application resources from resource SamplePackage.web.webResources
[25/Jun/2001 11:01:49:8] info: --------------------------------------
[25/Jun/2001 11:01:49:8] info: action: Initializing configuration from resource path 
/WEB-INF/struts-config.xml
[25/Jun/2001 11:01:49:8] info: --------------------------------------
Initializing configuration from resource path /WEB-INF/struts-config.xml
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 
'jar:file:/E:/Optimal-J/libDeploy/alturalib.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 
'jar:file:/E:/Optimal-J/libDeploy/alturalib.jar!/org/apache/struts/resources/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 
'jar:file:/E:/Optimal-J/libDeploy/alturalib.jar!/org/apache/struts/resources/web-app_2_3.dtd'
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 
'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
 Resolving to alternate DTD 
'jar:file:/E:/Optimal-J/libDeploy/alturalib.jar!/org/apache/struts/resources/web-app_2_2.dtd'
Call 
com.compuware.strutsext.ControllerServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
[25/Jun/2001 11:01:53:3] info: --------------------------------------
[25/Jun/2001 11:01:53:3] info: action: Process servletName=action, urlPattern=*.do
[25/Jun/2001 11:01:53:3] info: --------------------------------------
Process servletName=action, urlPattern=*.do
[25/Jun/2001 11:01:53:3] info: --------------------------------------
[25/Jun/2001 11:01:53:3] info: action: Mapping for servlet 'action' = '*.do'
[25/Jun/2001 11:01:53:3] info: --------------------------------------
Mapping for servlet 'action' = '*.do'
[25/Jun/2001 11:01:53:3] info: --------------------------------------
[25/Jun/2001 11:01:53:3] info: logger: init
[25/Jun/2001 11:01:53:3] info: --------------------------------------
[25/Jun/2001 11:01:55:0] info: --------------------------------------
[25/Jun/2001 11:01:55:0] info: JSPRunnerSticky: init
[25/Jun/2001 11:01:55:0] info: --------------------------------------
[25/Jun/2001 11:02:03:1] info: --------------------------------------
[25/Jun/2001 11:02:03:1] info: jsp.APPS.web.mainMenu: init
[25/Jun/2001 11:02:03:1] info: --------------------------------------
[25/Jun/2001 11:02:21:0] info: --------------------------------------
[25/Jun/2001 11:02:21:0] info: action: Processing a GET for /SampleClassSetProfile
[25/Jun/2001 11:02:21:0] info: --------------------------------------
Processing a GET for /SampleClassSetProfile
[25/Jun/2001 11:02:21:2] info: --------------------------------------
[25/Jun/2001 11:02:21:2] info: action:  Looking for Action instance for class 
SamplePackage.web.SampleClassSetProfileAction
[25/Jun/2001 11:02:21:2] info: --------------------------------------
 Looking for Action instance for class SamplePackage.web.SampleClassSetProfileAction
[25/Jun/2001 11:02:21:2] info: --------------------------------------
[25/Jun/2001 11:02:21:2] info: action:   Double checking for Action instance already 
there
[25/Jun/2001 11:02:21:2] info: --------------------------------------
  Double checking for Action instance already there
[25/Jun/2001 11:02:21:2] info: --------------------------------------
[25/Jun/2001 11:02:21:2] info: action:   Creating new Action instance
[25/Jun/2001 11:02:21:2] info: --------------------------------------
  Creating new Action instance
action:SampleClassSetProfileAction started
  Request: GET ? GXHC_GX_jst=fc7f6a34662d6164&GXHC_gx_session_id_=7372f14c63aec41b&
  SessionId: 7372f14c63aec41b (from cookie)
  Request Parameters:
    Parameter GX_jst = fc7f6a34662d6164
    Parameter gx_session_id_ = 7372f14c63aec41b
  Request Header:
    Header Cache-Control = null
    Header Connection = keep-alive
    Header Date = null
    Header Pragma = null
    Header Transfer-Encoding = null
    Header Upgrade = null
    Header Via = null
    Header Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
    Header Accept-Charset = null
    Header Accept-Encoding = null
    Header Accept-Language = en-us
    Header Authorization = null
    Header From = null
    Header Host = cwnl-c1833.nl.compuware.com:81
    Header If-Modified-Since = null
    Header If-Match = null
    Header If-None-Match = null
    Header If-Range = null
    Header If-Unmodified-Since = null
    Header Max-Forwards = null
    Header Proxy-Authorization = null
    Header Range = null
    Header Referer = http://cwnl-c1833.nl.compuware.com:81/NASApp/web/mainMenu.jsp
    Header User-Agent = Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; CWNLV1)
    Header Allow = null
    Header Content-Base = null
    Header Content-Encoding = null
    Header Content-Language = null
    Header Content-Length = null
    Header Content-Location = null
    Header Content-MD5 = null
    Header Content-Range = null
    Header Content-Type = null
    Header Etag = null
    Header Expires = null
    Header Last-Modified = null
  Request Attributes:
  Session Attributes:
    Attribute org.apache.struts.action.LOCALE = en_US
action:SampleClassSetProfileAction took 10 ms
action:SampleClassSetProfileAction forwards to: success[/SampleClassQuery.jsp]
action:SampleClassSetProfileAction done.
[25/Jun/2001 11:02:24:3] error: Exception: SERVLET-compile_failed: Failed in compiling 
template: /web/SampleClassQuery.jsp, JSP Error: Class was not found for :html
Exception Stack Trace:
java.lang.Exception: JSP Error: Class was not found for :html
        at com.netscape.jsp.JSP.addTagdata(Unknown Source)
        at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
        at com.netscape.jsp.JSP.parseTag(Unknown Source)
        at com.netscape.jsp.JSP.parseNext(Unknown Source)
        at com.netscape.jsp.JSP.parseBlock(Unknown Source)
        at com.netscape.jsp.JSP.parse(Unknown Source)
        at com.netscape.jsp.JSP.compile(Unknown Source)
        at com.netscape.server.servlet.jsp.JSPCompiler.JSPtoJava(Unknown Source)
        at com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
        at com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown Source)
        at com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown Source)
        at com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown Source)
        at 
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
 Source)
        at 
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown 
Source)
        at 
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
 Source)
        at 
com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown 
Source)
        at 
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1697)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1540)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown 
Source)
        at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown 
Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.thread.ThreadBasic.run(Native Method)
        at java.lang.Thread.run(Thread.java:479)

Reply via email to