Estou estudando Struts2 há algumas semanas, mas tenho tido dificuldade para realizar a configuração.
Estou com a seguinte mensagem de erro:
"start?path=/AplicacaoStruts2
FAIL - Application at context path /AplicacaoStruts2 could not be started
C:\Documents and Settings\ctaim\Desktop\Java Web\AplicacaoStruts2\nbproject\build-impl.xml:686: O módulo não foi implementado.
FALHA NA CONSTRUÇÃO (tempo total: 6 segundos)"
Acho que deve haver algum erro no xml, mas não sei em qual e como corrigir, vocês podem me ajudar com esse problema.
web.xml<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>applicationSessionFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>example/HelloWorld.jsp</welcome-file>
</welcome-file-list>
</web-app>
<struts>
<include file="example.xml"/>
<!-- Configuration for the default package. -->
<!-- <package name="example" extends="struts-default"> -->
<action name="Cadastro" class="example.Cadastro">
<result>/Cadastro.jsp</result>
</action>
</package>
</struts>
Desde já agradeço
Valeu!