Build setup problem

Help
siva
2010-08-12
2012-12-05
  • siva
    siva
    2010-08-12

    I check out the Zksample2 project for the zk version 5.0.  I set it up my eclipse environment with maven plugin.  But the following problem am facing and due to that I'm not able to build the sample application.

    1. In applicationContext-hibernate.xml file in the "spring-hibernate-backend" project, eclipse shows error message like "Can't find class file" for the following kind of lines

    <bean id="customerDAO" class="de.forsthaus.backend.dao.impl.CustomerDAOImpl"
    parent="basisNextidDao" />

    Please help us.

    Regards,
    Siva

     
  • Stephan Gerth
    Stephan Gerth
    2010-08-14

    Hi Siva,

    This is a problem of the maven eclipse plugin. We have such things sometimes if we add new libs to the project.

    1. try to make a refresh on all Zksample2 sub projects in Eclipse
    2. try a Eclipse->Project->clean on all Zksample2 sub-projects


    3. Sub-Project KeyGenZkoss: Eclipse->Run as -> Maven clear . After that  Run as -> maven-install
    4. Sub-Project Spring-Hibernate-Backend: Eclipse->Run as -> Maven clear . After that a Run as -> maven-install
    5. Sub-Project Zkoss: Eclipse->Run as -> Maven clear . After that a Run as -> maven-install

    best
    Stephan