Here's a (simple) project that should demonstrate spring mvc + jsf 2. I just can't load it in Netbeans; i tried to create a new project, add the sources in the web directory. N开发者_运维技巧B gives me an error: build-impl.xml:669: The module has not been deployed. It seems that the ant script couldn't manage this project. thanks ps. I use netbeans 6.9.1 Here's the log:
init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: In-place deployment at C:\Users\agostino\Documents\NetBeansProjects\201011-spring-web-flow-with-jsf\SpringWebFlow-JSF-One\build\web Initializing... deploy?path=C:\Users\agostino\Documents\NetBeansProjects\201011-spring-web-flow-with-jsf\SpringWebFlow-JSF-One\build\web&name=SpringWebFlow-JSF-One&force=true failed on GlassFish Server 3 C:\Users\agostino\Documents\NetBeansProjects\201011-spring-web-flow-with-jsf\SpringWebFlow-JSF-One\nbproject\build-impl.xml:669: The module has not been deployed. BUILD FAILED (total time: 0 seconds)
check in the project directory if (Folder)META-INF->(file)context.xml exists.
精彩评论