Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.bbs.controller.LoginAction] for bean with name 'loginAction' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/xwork2/Action
struts.xmlä¸ï¼æactionçé
ç½®class="loginAction"ï¼ä¿®æ¹ä¸ºclass="com.bbs.controller.LoginAction"ï¼å°±å¯¹äºã
å¦æclass="loginAction"ï¼ä¹å¯ä»¥ï¼ä½éè¦å¨LoginActionä¸å 注解声æ为åä¾ï¼åºäºæ§è½ï¼è¿ç§æ¹å¼ä¸å»ºè®®ä½¿ç¨ã