You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mohd. Jeffry" <li...@gmail.com> on 2005/04/09 17:31:11 UTC

fail to redepoy struts-blank.war after a recompile

I can deploy my struts-blank.war that comes with my
jakarta-struts-1.2.4.zip. For learning purposes I then tried these
steps to recompile and redeploy:

1. I extract struts-blank.war  to ../struts-blank
2. edit ../struts-blank/WEB-INF/src/build.xml to have <property
name="distpath.project" value="projects/lib"/> to make project
directory local to this directory.
3. run "ant built" at ../struts-blank/WEB-INF/src/
4. deploy the created ../struts-blank/WEB-INF/project/lib/blank.war to
tomcat webapps dir
5. restart tomcat

After doing all these steps I get this error message:-
org.apache.jasper.JasperException: Missing message for key "welcome.title"

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


Re: fail to redepoy struts-blank.war after a recompile

Posted by "Mohd. Jeffry" <li...@gmail.com>.
A quick check my blank.war dosen't have these files:
1480 Sun Sep 12 17:35:14 MYT 2004 WEB-INF/classes/MessageResources.properties
  1480 Sun Sep 12 17:35:14 MYT 2004
WEB-INF/classes/resources/MessageResources.properties

...and after adding them to my blank directory everything works!!!

my dosen't these files get copied to the blank.war ?

On Apr 9, 2005 11:31 PM, Mohd. Jeffry <li...@gmail.com> wrote:
> I can deploy my struts-blank.war that comes with my
> jakarta-struts-1.2.4.zip. For learning purposes I then tried these
> steps to recompile and redeploy:
> 
> 1. I extract struts-blank.war  to ../struts-blank
> 2. edit ../struts-blank/WEB-INF/src/build.xml to have <property
> name="distpath.project" value="projects/lib"/> to make project
> directory local to this directory.
> 3. run "ant built" at ../struts-blank/WEB-INF/src/
> 4. deploy the created ../struts-blank/WEB-INF/project/lib/blank.war to
> tomcat webapps dir
> 5. restart tomcat
> 
> After doing all these steps I get this error message:-
> org.apache.jasper.JasperException: Missing message for key "welcome.title"
>

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