________________________________
From: José Antonio Delgado Trujillo <jadt...@gmail.com>
Sent: Friday, December 29, 2017 4:13 PM
To: Struts Users Mailing List
Subject: Re: log4j problem

MG>before you restart did you deploy your struts-basic*.war to 
server/default/deploy folder?

JD> mvn wildly:deploy put the war in the folder deploy



MG>display struts.xml to determine mapping for namespace “/

JD> I clone the trust-exmple GitHub. I haven’t modify anything.


MG>namespace might look something like e.g.
 <package name="basic" extends="default" namespace="/“>

you didn’t put namespace in your struts.



MG>also display struts.xml to determine mapping for "basic-struts" (which would 
be included in namespace definition)
MG>e.g.
MG> <action name="basic-struts" class="BasicStrutsAction">
MG>indicates BasicStrutsAction.java is either not compiled  or 
BasicStrutsAction.class is not on $CLASSPATH?

Your action node is action class less
<package name="basic-struts2" extends="struts-default”
<action name="index">
<result>/index.jsp</result>
</action>
</package>

So Struts2 because they don’t find any action class redirect to index.jsp
The log that is expected is ...


[cid:CD1E3B8F-4BE5-4548-8933-B0CA376D5FBB]

MG>DefaultActionProcy used to be located in xwork-core*.jar from your 
/server/default/lib folder
MG>do any of the jars from lib folder contain DefaultActionProxy.class ?
MG>hard to debug without source and configuration files.. can you provide 
github location of basic-struts2 ?

Reply via email to