简体   繁体   English

Netbeans faces-config问题

[英]Netbeans faces-config PROBLEMS

I have a weird problem with my faces-config.xml file - I'm using Netbeans. 我的faces-config.xml文件有一个奇怪的问题-我正在使用Netbeans。

As soon as I make a faces-config file by choosing "New" -> "JSF Faces Configuration" the entire app fails at runtime: "The module has not been deployed." 通过选择“新建”->“ JSF Faces配置”创建faces-config文件后,整个应用程序在运行时将失败:“模块尚未部署。” When I erase the config file the app runs just fine (except for missing all the extra modifications from the faces-config file). 当我删除配置文件时,该应用程序运行正常(除了缺少faces-config文件中的所有其他修改)。 I'm using a MacBook Pro with Mountain Lion. 我正在使用带有Mountain Lion的MacBook Pro。 I use Eclipse on a daily basis and have all the necessary Java tools installed - as far as I'm concerned. 就我而言,我每天都使用Eclipse并安装了所有必需的Java工具。

I appreciate any help. 感谢您的帮助。 This problem has been going on for some time now and I can't find any matching case on the web. 这个问题已经持续了一段时间,我在网上找不到任何匹配的案例。

HELP!!! 救命!!!

What exactly do you mean by "except for missing all the extra modifications from the faces-config file"? “除了缺少faces-config文件中的所有额外修改之外”的含义是什么? Did you put some manual configurations in this file? 您是否在此文件中添加了一些手动配置? Also, have you tried a clean and build before running the app after adding the new faces-config file? 另外,在添加新的faces-config文件之后,在运行该应用程序之前,您是否尝试过清理并构建?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM