eclipse maven error: Archive for required library in project cannot be read or is not a valid ZIP file

后端 未结 7 2092
北海茫月
北海茫月 2021-01-02 08:08

In an eclipse maven project using spring web mvc, I am getting the following error in the Markers tab:

Archive for required library: \'D:/mypath/.m2/reposi         


        
7条回答
  •  一生所求
    2021-01-02 08:37

    You should exclude JTA in your hibernate dependency.

    
        org.hibernate
        hibernate
        3.2.3.ga
        
            
                javax.transaction
                jta
            
        
    
    

    After that, add the jta dependency.

    
        javax.transaction
        jta
        1.1
    
    

提交回复
热议问题