After removing struts.jar from Tomacat\common\lib (newbie mistake) I started
getting the following error. Where do I create the class definition for
ActionMessage. Can anyone show me an example....(This is my first struts
WebApp)
StandardWrapper[/sitegenerator:default]: Loading container servlet default
2003-03-13 14:50:05,715 ERROR [main] util.MessageResourcesFactory
(MessageResourcesFactory.java:174) - MessageResourcesFactory.createFactory
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionMessage
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResource
sFactory.java:169)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources
.java:557)
at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:989)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:411)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
at org.apache.catalina.core.StandardContext.start(StandardCont
-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Struts1.1 message resources ???en_CA.version???
Is struts.jar one of those jars? If so, it's not surprising that there are
problems finding the properties file.
David
>From: "Sinkinson,Andrew [NCR]" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: Struts1.1 message resources ???en_CA.version???
>Date: Thu, 13 Mar 2003 13:40:54 -0500
>
>Yah the properties file is named UIStrings.properties. I have alot of jars
>it tomcats common dir. I will try removing all that are not needed.
>Thanks
>
>-----Original Message-----
>From: David Graham [mailto:[EMAIL PROTECTED]
>Sent: March 13, 2003 1:36 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Struts1.1 message resources ???en_CA.version???
>
>
>And the properties file is named UIStrings.properties? I had this same
>problem when first starting with Struts and Tomcat. I think it was caused
>by putting things on Tomcat's classpath that don't belong there.
>
>David
>
>
>
> >From: "Sinkinson,Andrew [NCR]" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> >Subject: RE: Struts1.1 message resources ???en_CA.version???
> >Date: Thu, 13 Mar 2003 13:20:30 -0500
> >
> >WEB-INF\classes\ca\gc\ec\sitegenerator\resource
> >
> >-----Original Message-----
> >From: David Graham [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, March 13, 2003 1:18 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: Struts1.1 message resources ???en_CA.version???
> >
> >
> >What directory did you put your properties file in?
> >
> >David
> >
> >
> >
> > >From: "Sinkinson,Andrew [NCR]" <[EMAIL PROTECTED]>
> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> > >Subject: Struts1.1 message resources ???en_CA.version???
> > >Date: Thu, 13 Mar 2003 13:00:10 -0500
> > >
> > >First of all I am using Struts1.1 and Tomcat 4.06. Everytime a debug
>my
> > >project I get all message key values show up similar to this
> > >???en_CA.version???. It this point I am not sure why my webApp cannot
> >find
> > >my resource property files. Below are the configurations I have made
>to
> > >both deployment descriptors.
> > >
> > >Struts_Config.xml
> > > <message-resources key="MESSAGES_KEY"
> > >parameter="ca.gc.ec.sitegenerator.resource.UIStrings" null="false" />
> > > <message-resources
> > >parameter="ca.gc.ec.sitegenerator.resource.UIStrings_fr"
> > >null="false" />
> > >
> > >Web.xml
> > > <init-param>
> > > <param-name>application</param-name>
> > >
> ><param-value>ca.gc.ec.sitegenerator.resource.UIStrings</param-value>
> > > </init-param>
> > >
> > >Can anybody help me with this issue.......
> > >
> > >Thanks in Advance
> > >
> > >Andrew S
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >_________________________________________________________________
> >Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> >http://join.msn.com/?page=features/junkmail
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>_________________________________________________________________
>MSN 8 with e-mail virus protection service: 2 months FREE*
>http://join.msn.com/?page=features/virus
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]