Eclipse: The selection did not contain any resource that can run on a server

前端 未结 5 2618
挽巷
挽巷 2021-02-20 13:23

I am not able to run maven java web application project to the configured tomcat within eclipse ide.

Initially I could right click on the project and run it on tomcat s

5条回答
  •  终归单人心
    2021-02-20 13:48

    Maybe you sholud update two file in .settings folder in your web project: .settings/.jsdtscope

    
    
    
    
    
        
            
        
    
    
    
    

    .settings/org.eclipse.wst.common.component

    
    
        
        
        
        
        
        
        
    
    

    change the path="src/main/WebContent" value's as yours in the two files,then restart the IDE.After I done this,it was work well again.

提交回复
热议问题