当前位置: 代码迷 >> Eclipse >> com.sun.faces.config.ConfigurationException: no web.xml present
  详细解决方案

com.sun.faces.config.ConfigurationException: no web.xml present

热度:149   发布时间:2016-04-23 13:52:22.0
myeclipse 9.1的报错(web project)
全新安装的myeclipse也没改动什么 建立一个新的web project(就是以前的dynaimic web project),默认的tomcat,什么什么都没写,直接启动,竟然报错

INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Sep 15, 2011 2:29:35 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: no web.xml present
at com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:785)
at com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:745)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:173)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)


可是我的web.xml就在那里躺着啊,而且页面也能显示,后来试试servlet什么都能使用
就是这个问题我很奇怪

------解决方案--------------------
  相关解决方案