netbeans,无法部署Web项目
这是一个(简单的)项目,应该演示 spring mvc + jsf 2。 我只是无法在 Netbeans 中加载它;我尝试创建一个新项目,将源添加到 web 目录中。 注意给我一个错误:build-impl.xml:669: 该模块尚未部署。 看来ant脚本无法管理这个项目。 谢谢 附注我使用netbeans 6.9.1 这是日志:
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)
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.
NB 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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查项目目录中是否存在 (Folder)META-INF->(file)context.xml。
check in the project directory if (Folder)META-INF->(file)context.xml exists.