> From: jadt...@gmail.com
> Date: Tue, 7 Jun 2016 22:10:26 +0100
> Subject: Unable to load configuration
> To: user@struts.apache.org
> 
> I have been wasted all this afternoon with a strange error.
> 
> My app only have an action called VerySimpleAction.
> I configured in the struts.xml
> 
> -------------------------------------
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> 
> <!DOCTYPE struts PUBLIC
> 
>         "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> 
>         "http://struts.apache.org/dtds/struts-2.3.dtd";>
> 
> <struts>
> 
> <constant name="struts.enable.DynamicMethodInvocation" value="false" />
> 
> <constant name="struts.devMode" value="true" />
> 
> <package name="default" namespace="/" extends="struts-default">
> 
> <action name="verysimple" class="pfc.struts2.example.VerySimpleAction">
> 
> <result name="success" type="dispatcher">/WEB-INF/jsps/verysimple.jsp</result>

Linea Nueve>donde verysimple.jsp?Linea Nueve>where is verysimple.jsp?
> 
> </action>
> 
> </package>
> 
> </struts>
> 
> -------------------------
> 
> I deployed in the wildly server and i put in the browser:
> 
> localhost:8080/example/verysimple.action
> 
> 
> I found the strange error.
> 
> 
> --------------------------------------
> Context Path:
> /example
> 
> 
> Servlet Path:
> /verysimple.action
> 
> 
> Path Info:
> null
> 
> 
> Query String:
> null
> 
> 
> *Stack Trace*
> Unable to load configuration. - action -
> vfs:/Users/jdeltru/PFC/wildfly-10.0.0.Final/standalone/deployments/example.war/WEB-INF/classes/struts.xml:9:74
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:491)
> 
> ------------------------------
> 
> 
> 9:74 ---> is the line of the action name and class are correctly
> 
> Why?
> 
> The action class exist in the package pfc.struts2.example
> 
> 
> 
> 
> Un saludo,
> José A.

MG>/Saludos/MG>Martín                                     

Reply via email to