facebook

Java Packages between projects

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #299999 Reply

    exlipzSnx7
    Member

    Hi, in my struts-config file i define a form bean

    
    <?xml version="1.0" encoding="UTF-8"?>  
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">  
      
    <struts-config>  
         <form-beans>  
             <form-bean name="rankprofileform"  
                 type="apps.navy.profiles.actionforms.RankProfileForm" />  
         </form-beans>  
           ..........  
           
    </struts-config> 
    

    this config file resides in ProjectA WEB-INF and apps.navy.profiles.actionforms.RankProfileForm points to a package in projectB and projectB doesn’t have web capabilities (WEB-INF folder), all it has simply is a src folder with all the packages i need … I get a ActionForm not found exception which means to me struts-config file does not find the ActionForm in projectB… is there a reason for this? ProjectB is a jar file in ProjectA build path ..

    #300035 Reply

    Loyal Water
    Member

    Could you give me some more information about this issue. Is the IDE is complaining or is the project failing when deployed / running? How do you have this setup as a dependency?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Java Packages between projects

You must be logged in to post in the forum log in