Why does the WTP plugin deploy one Maven dependency as a folder, instead of a jar?

前端 未结 4 872
小鲜肉
小鲜肉 2021-02-08 07:53

I have a very strange problem with Maven and the Eclipse WTP. I have a multi-module project, let\'s call it project. It consists of two modules project-base

4条回答
  •  借酒劲吻你
    2021-02-08 08:16

    I ultimately solved my problem: I had problems with the properties section Deployment Assembly for the project-base project. I could not save it, as Eclipse mentioned, the current page does contain errors.

    I then looked into the settings file .settings/org.eclipse.wst.common.component. It was completely empty (I don't know why). I then added the following block:

    
    
        
            
            
        
    
    

    After this, the settings page is accessible again and the JAR is assembled correctly. Workspace resolution does work, too.

提交回复
热议问题