Remove the struts.properties file located in WEB-INF to
classes dir.

陈仕兵
LifeSystem CS, IT Application Developer
Great Eastern Life Assurance (China) Co. Ltd.
Tel: 86-021-61407777 Ext 2405
      86-021-28065394
Fax: 86-23-63885566
-----Original Message-----
From: WongTseng [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 04, 2006 11:08 AM
To: Struts Users Mailing List
Subject: [S2]Could not find or error in struts.properties

I am a newbie to Strus2, and I have just set up a Struts2 project of blank
example. When I start the web container, it throws an exception.

java.lang.IllegalStateException: struts.properties missing
    at org.apache.struts2.config.PropertiesSettings.<init>(
PropertiesSettings.java:49)
    at org.apache.struts2.config.DefaultSettings.<init>(DefaultSettings.java
:52)

the directory structure is as follow:
WEB-INF
     |----web.xml
     |----struts.properties
     |----applicationContext.xml
     |----class
     |        |----struts.xml
     |        |----example.xml
     |----example
              |----Login-validation.xml
              |----package.properties
              |----package_es.properties

I just don't know where these xml files should be correctly located. The
struts2 is rather webwork than Struts,so don't know how  to deal with it.
Any help is userful to me.
-- 
Wong Tseng
王曾


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to