java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter in web.xml

前端 未结 8 1074
花落未央
花落未央 2020-12-06 07:16

This is my web.xml Code,While running I am getting error like this..How to resolve this?

\"SEVERE: Exception starting filter Struts java.lang.ClassNotFoundEx

8条回答
  •  無奈伤痛
    2020-12-06 07:57

    the solution is in pom.xml;

    
        
            org.apache.struts
            struts2-core
            2.3.1.2
        
    
    
    
    war
    
        struts-2.3-hello-world-example
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                2.3.2
                
                    1.6
                    1.6
                
            
            
                org.apache.maven.plugins
                maven-war-plugin
                
                    web\WEB-INF\web.xml
                
            
        
    
    

    i can see this, in this video; https://www.youtube.com/watch?v=q4IhM4GBhF8

提交回复
热议问题