Maven 3 Artifact problem

后端 未结 9 1460
旧巷少年郎
旧巷少年郎 2020-12-06 04:14

I made a new struts project in eclipse using the struts2-archtype-starter.

A few errors where in my project already before doing anything. Solved most of them but th

9条回答
  •  悲&欢浪女
    2020-12-06 04:53

    The Main Problem is that the mavan can not fine the tool.jar. so this problem occurs u just add tool.jar file in your project .The Tool.jar present in you java software C:\Program Files\Java\jdk1.6.0_14\lib
    try this code i hope you run successfully http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 Strust2Testing Strust2Testing 0.0.1-SNAPSHOT war org.apache.struts

            Struts2-core 
            2.3.15.1
            
        
            tools
            com.sun
        
    
        
    
    
        src
        
            
                maven-compiler-plugin
                3.1
                
                    1.6
                    1.6
                
            
            
                maven-war-plugin
                2.3
                
                    WebContent
                    false
                
            
        
    
    

提交回复
热议问题