可能的原因没有将 properties 文件在Struts-config.xml里没有配置!加上
 <controller processorClass="你资源文件的文件的路径"></controller> 
  <message-resources parameter="com.xxx.xxx.struts.ApplicationResources" />
试试.....

解决方案 »

  1.   

     Could not resolve placeholder  'addressDetail '
    是不是这个配置文件没有copy到相应路径?
      

  2.   

    Struts-config.xml里面没加配置
     如果不行加到web.xml下看看
      

  3.   

     Could not resolve placeholder  'addressDetail 
    你的配置文件找到了,但是addressDetail有问题,仔细再看看,祝你好运
      

  4.   

    是不是在spring配置文件中有个name是addressInfoProcess的bean?
    里面用到addressDetail?
    看看你的spring配置文件是不是写多了
      

  5.   

    addressInfoProcess类没有定义好路经:
    例子:beans.xml(放在hibernate包内)
      
     <?xml version="1.0" encoding="UTF-8"?> 
    <!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN/EN" 
      "http://www.springframework.org/dtd/spring-beans.dtd">
      
    <beans> 
        
        <bean id="one" class="hibernateinfo.Allfind"/>
        <bean id="all" class="hibernateinfo.Idfind" />    
    </beans>调用:
      import org.springframework.beans.factory.BeanFactory;
      import org.springframework.context.ApplicationContext;
      import org.springframework.context.support.ClassPathXmlApplicationContext;
      import org.springframework.context.support.FileSystemXmlApplicationContext;
      import org.springframework.core.io.Resource;  ApplicationContext ctx = new ClassPathXmlApplicationContext("hibernateinfo/beans.xml");
      Allfind Allfind = (Allfind)ctx.getBean("one");
      Idfind Idfind = (all)ctx.getBean("all");//================好了给分啊=====================
      

  6.   

    'addressDetail  路径的错误问题!