Pessoal , tenho uma aplicação inteira em jsf que funciona perfeita la na empresa que eu trabalhei , pois não estou conseguindo rodá-la aqui no Eclipse do meu micro.
1 erro:
Severity and Description Path Resource Location Creation Time Id
The content of element type “web-app” must match “(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)”. fvendas/web/WEB-INF web.xml line 6 1163926349343 4
o web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app> ------->ACUSA UM ERRO NESSA LINHA
<display-name>Intranet webdata</display-name>
<description>Intranet webdata</description>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<servlet>
<servlet-name>Chartlet</servlet-name>
<servlet-class>
net.sf.jsfcomp.chartcreator.Chartlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Chartlet</servlet-name>
<url-pattern>/servlet/Chartlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>CewolfServlet</servlet-name>
<servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
<load-on-startup> 2 </load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CewolfServlet</servlet-name>
<url-pattern>/tld/cewolf/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>ExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>10m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ExtensionsFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
</web-app>
2 erro:
Severity and Description Path Resource Location Creation Time Id
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project fvendas Unknown 1163926341359 2
O QUE QUER DIZER ISSO?
o tomcat é 5.5 ,mas não sei como vincular ele diretamante ao sistema citado.
eu criei um projeto no eclipse (web dynamic project)
depois eu substitiu pela pasta do projeto original e dei F5
obs. a pasta do projeto ja esta com todos os arquivos do jsf e da aplicação
na pasta “lib”.
Aguardo respostas , urgente.
Obrigado.