There are two action, written in struts. There is no problem with the local tomcat. After being deployed to was, this error will be reported.

<struts>
    
    <package name ="default" extends ="struts-default" namespace="/"> 
        <action name="onlineService"  class="onlineServiceAction" method="execute">
        </action>
        <action name="blackService"  class="blackServiceAction" method="execute">
        </action> 
    </package>
</struts>
Error 500: javax.servlet.ServletException: Filter [Struts2]: could not be initialized

 E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor]: Action class [blackServiceAction] not found - action - file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/webNode01Cell/chatClientService_war.ear/chatClientService.war/WEB-INF/classes/struts.xml:17:82

@Controller(value = "onlineServiceAction")
@Scope("prototype")
public class OnlineServiceAction extends ActionSupport {

    private static final long serialVersionUID = -5155883818336614584L;
    @Resource
    private BusinessFacade businessFacade;

    public BusinessFacade getBusinessFacade() {
        return businessFacade;
    }

    public void setBusinessFacade(BusinessFacade businessFacade) {
        this.businessFacade = businessFacade;
    }

    public static Logger log = LogManager.getLogger();

    public String execute() throws ServletException, IOException {
        HttpServletRequest request = ServletActionContext.getRequest();
        HttpServletResponse response = ServletActionContext.getResponse();
......

struts only one onlineServiceAction,was does not report error
struts only one blackServiceAction,was report error
struts write two action, local tomcat do not report error, was report error

May.22,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3759f-2b5d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3759f-2b5d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?