Maven 3 Artifact problem

后端 未结 9 1445
旧巷少年郎
旧巷少年郎 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:33

    Need to add another answer. After upgrading m2e to 1.4.20130601-0317 the error came back. Again, none of the proposed solutions worked including the one I just proposed. Eventually, I found the culprit: including org.htmlparser:1.6 had an implicit dependency on tools.jar. No idea why deleting the installed jre's helped with the older m2e (1.0.something). Now the solution is to exclude tools.jar:

        
            org.htmlparser
            htmlparser
            1.6
            
                
                    tools
                    com.sun
                
            
        
    

提交回复
热议问题