There is no Action mapped for namespace/and action name. -[unknown location] at com. opensymphony. xwork2.defaactionactionproxy. prepare (defaactionactionproxy. java: 177) at Org. apache. struts2.impl. strutsactionproxy. prepare (strutsactionproxy. java: 61) at Org. apache. struts2.impl. strutsactionproxyfactory. createactionproxy (strutsactionproxyfactory. java: 39) at com. opensymphony. xwork2.defaactionactionproxyfactory. createactionproxy (defaactionactionproxyfactory. java: 47) at Org. apache. struts2.dispatcher. dispatcher. serviceaction (dispatcher. java: 458) at org.apache.struts2.dispatcher.ng.executeoperations.exe cuteaction (executeoperations. java: 77) at Org. apache. struts2.dispatcher. ng. filter. strutsprepareandexecutefilter. dofilter (strutsprepareandexecutefilter. java: 76) at Org. apache. catalina. core. applicationfilterchain. internaldofilter (applicationfilterchain. java: 235) at Org. apache. catalina. core. applicationfilterchain. dofilter (applicationfilterchain. java: 206) at Org. apache. catalina. core. standardwrappervalve. invoke (standardwrappervalve. java: 233) at Org. apache. catalina. core. standardcontextvalve. invoke (standardcontextvalve. java: 191) at Org. apache. catalina. core. standardhostvalve. invoke (standardhostvalve. java: 128) at Org. apache. catalina. valves. errorreportvalve. invoke (errorreportvalve. java: 102) at Org. apache. catalina. core. standardenginevalve. invoke (standardenginevalve. java: 109) at Org. apache. catalina. connector. coyoteadapter. service (coyoteadapter. java: 286) at Org. apache. coyote. http11.http11processor. process (http11processor. java: 845) at Org. apache. coyote. http11.http11protocol $ http11connectionhandler. process (http11protocol. java: 583) at org.apache.tomcat.util.net. jioendpoint $ worker. run (jioendpoint. java: 447) at java. lang. thread. run (thread. java: 619)
Solution:
Remove the namespace = "/" of the package in struts. xml.
Put you in struts. if namespace = "/" in XML is changed to namespace = "/TT", <s: Form Action = "/TT/login"> or <s: form Action = "/TT/login" namespace = "/TT">