aspose file tools
The moose likes Struts and the fly likes Unable to Run Struts based JSPs in WSAD 5.0. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to Run Struts based JSPs in WSAD 5.0. " Watch "Unable to Run Struts based JSPs in WSAD 5.0. " New topic

Unable to Run Struts based JSPs in WSAD 5.0.

Tarun Dewan

Joined: Sep 05, 2002
Posts: 21
Hi All,
I'm currently using WSAD 5.0 and in my Web Project Struts jars are available
and it compiles fine. But when i try to execute the same in a server, i get
following error.
[6/20/03 9:54:32:938 IST] 13ad2d27 WebGroup E SRVE0026E: [Servlet
java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/TextTag
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass( Code))

If i add struts.jar in classpath of my server then while server is starting
i'm getting following error :
[6/20/03 9:49:24:641 IST] 560dadde WebGroup I SRVE0180I: [poclosWeb]
[/POCLOSWeb] [Servlet.LOG]: action: Initializing configuration from resource
path /WEB-INF/struts-config.xml
[6/20/03 9:49:24:672 IST] 560dadde SystemOut O resolveEntity('-//Apache
Software Foundation//DTD Struts Configuration 1.1//EN',
[6/20/03 9:49:24:672 IST] 560dadde SystemOut O Not registered, use
system identifier
[6/20/03 9:49:45:859 IST] 560dadde ServletInstan E SRVE0100E: Did not
realize init() exception thrown by servlet action:
javax.servlet.UnavailableException: Input/output error reading configuration
from resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.init(
at javax.servlet.GenericServlet.init(
at javax.servlet.GenericServlet.init(

Eagerly waiting for any resolution for the above issue.
Thanks & regards,
Tarun Dewan.
Amy Smith

Joined: Jul 26, 2001
Posts: 24
I had 1.0 and have 1.1rc1 running in WSAD. If you use the struts provided with WSAD, it is 1.0.
Just making a guess from your error messages: It looks like your struts_config.xml is 1.1. There is no dtd in the WSAD struts.jar for 1.1. Change the struts_config.xml to say 1.0 or install 1.1.
>[6/20/03 9:49:24:672 IST] 560dadde SystemOut O >resolveEntity('-//Apache
>Software Foundation//DTD Struts Configuration >1.1//EN',
GL -- Amy

Amy Smith<br />Java Developer<br />Haworth, Inc.<br />
I agree. Here's the link:
subject: Unable to Run Struts based JSPs in WSAD 5.0.
It's not a secret anymore!