Issue Details (XML | Word | Printable)

Key: APF-891
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Struts 2 Basic project doesn't work with jetty:run after full-source

Created: 17/Sep/07 08:09 AM   Updated: 17/Sep/07 08:46 AM   Resolved: 17/Sep/07 08:46 AM
Component/s: Installation, Web - Struts
Affects Version/s: 2.0-RC1
Fix Version/s: 2.0 Final


 Description  « Hide
Steps to reproduce:

1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app -DartifactId=myproject

2. cd myproject;mvn appfuse:full-source

3. mvn jetty:run

Matt Raible added a comment - 17/Sep/07 08:10 AM
Solution seems to be changing the contextConfigLocation in web.xml to:

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            classpath:/applicationContext-resources.xml
            classpath:/applicationContext-dao.xml
            classpath:/applicationContext-service.xml
            classpath*:/applicationContext.xml
            /WEB-INF/applicationContext*.xml
            /WEB-INF/xfire-servlet.xml
            /WEB-INF/security.xml
        </param-value>
    </context-param>

Matt Raible made changes - 17/Sep/07 08:46 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]