I don't know what to do... i'm migrating my project to maven, but always happen a problem with dependencies... I'm using adf faces, tomahawk and Sun RI. To corrige this error, I'm trying to add some libraries...
This is the error: HTTP ERROR: 500 /sag/index.jspx(47,19) PWC6317: The attributes for a standard action cannot be deferred expressions RequestURI=/SagWeb/sag/index.jspx *Powered by Jetty:// <http://jetty.mortbay.org/>* My index.jspx is this: <?xml version='1.0' encoding='windows-1252'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html" xmlns:x="http://myfaces.apache.org/tomahawk"> <jsp:directive.page contentType="text/html;charset=windows-1252"/> <f:view> <afh:html> <f:loadBundle basename="br.com.sag.view.backing.messages" var="msg"/> <afh:head title="#{msg.nomeAplicacao} - #{usuario.currentModule.nome }"> <link href="../css/sag.css" rel="stylesheet" media="screen"/> <afh:script source="/js/indexCode.js"/> <afh:script source="/js/indexRefreshCondicoes.js"/> </afh:head> <afh:body id="body"> <af:panelPage id="panelPage1"> <f:facet name="menu2"></f:facet> <f:facet name="infoUser"></f:facet> <f:facet name="messages"></f:facet> <f:facet name="search"></f:facet> <f:facet name="actions"></f:facet> <f:facet name="brandingAppContextual"> <x:jscookMenu layout="hbr" theme="ThemeOffice" binding="#{backing_sag_index.jscookMenu1}" id="jscookMenu1"> <x:navigationMenuItems binding="#{backing_sag_index.navigationMenuItems1}" id="navigationMenuItems1" value="#{backing_sag_index.menu}"/> </x:jscookMenu> </f:facet> <f:facet name="contextSwitcher"></f:facet> <f:facet name="infoFootnote"></f:facet> <f:facet name="infoReturn"></f:facet> <f:facet name="infoStatus"> <af:goLink destination="#ERRO" rendered="#{backing_sag_pohecamp2.hasErrors}" id="vailink" > <h:graphicImage id="erro" style="BORDER:0" url="/css/images/alerta.gif" title="#{msg.msgExisteErro}" /> <h:outputText value="#{msg.msgErro}"/> </af:goLink> </f:facet> <f:facet name="infoSupplemental"></f:facet> <f:facet name="location"></f:facet> <f:facet name="menu1"></f:facet> <f:facet name="menuGlobal"> <h:panelGroup> <af:outputText value="Usuário: " styleClass="x19"/> <af:outputLabel value="#{usuario.nome}" styleClass="x19"/> </h:panelGroup> </f:facet> <f:facet name="branding"></f:facet> <f:facet name="brandingApp"></f:facet> <f:facet name="appCopyright"> <f:verbatim>Copyright</f:verbatim> </f:facet> <f:facet name="appPrivacy"> <f:verbatim>Privacidade</f:verbatim> </f:facet> <f:facet name="appAbout"> <f:verbatim>Sobre</f:verbatim> </f:facet> <f:facet name="menuSwitch"> <af:form> <af:commandLink text="Trocar módulo " shortDesc="Entrar em outro módulo do SAG" rendered="#{usuario.codfprod == null}" immediate="true" action="#{backing_sag_index.actionSwitchModule}"/> <f:verbatim>&nbsp;</f:verbatim> <af:goLink text=" Sair " shortDesc="Sair do sistema" destination="/logoff"></af:goLink> </af:form> </f:facet> <af:form> <af:showOneTab binding="#{backing_sag_index.showOneTab}" id="_detail"> </af:showOneTab> </af:form> <x:div rendered="#{backing_sag_index.imageVisible}" styleClass="SagTextCentered"> <af:objectImage source="#{backing_sag_index.IMAGE_URL}"></af:objectImage> </x:div> </af:panelPage> <f:verbatim> <a name="ERRO" /> </f:verbatim> <h:messages showSummary="true" showDetail="true" errorClass="af_messages_error" warnClass="af_messages_message-text" layout="table"/> </afh:body> </afh:html> </f:view> </jsp:root> And my pom.xml is this: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>br.com.sag</groupId> <artifactId>SagWeb</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Webapp Archetype</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.1.3</version> <scope>compile</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.12</version> <scope>compile</scope> </dependency> <dependency> <groupId>oracle.adf</groupId> <artifactId>adf-faces-impl</artifactId> <version>10.1.3.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>oracle.adf</groupId> <artifactId>adf-faces-api</artifactId> <version>10.1.3.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>myfaces</groupId> <artifactId>tomahawk</artifactId> <version>1.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> <version>1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.shale</groupId> <artifactId>shale-test</artifactId> <version>1.0.3</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-impl</artifactId> <version>1.1_02</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>1.1_02</version> <scope>compile</scope> </dependency> </dependencies> <build> <finalName>SagWeb</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> </plugin> </plugins> </build> </project>