maven… Failed to clean project: Failed to delete ..\org.ow2.util.asm-asm-tree-3.1.jar

后端 未结 20 1891
臣服心动
臣服心动 2020-12-24 10:02

I use STS(spring tool suite) + maven plugin.

Every time when I run my application using maven-clean I see following error:

[INFO] Scanni         


        
20条回答
  •  半阙折子戏
    2020-12-24 10:54

    Stop your server before you start to clean.

    Stopping a server

    You can stop the server from the Servers view.

    To stop the server:

    1. In the Servers view ( Window > Show View > Other > Server > Servers > OK), select the server that you want to stop.
    2. Click the Stop the server this icon in the toolbar. In the Servers view, the status of the server changes to Stopped.
    3. If for some reason the server fails to stop, you can terminate the process as follows:

      a. Switch to the Debug perspective.

      b. In the Process view, select the server process that you want to stop.

      c. Click the Terminate This is an image of the Terminate icon in the toolbar.

    Note: When terminating a server, the server process will end and the server will not go through the normal routine of stopping, for example calling the destroy() method on a servlet.

    Source: Eclipse Help

提交回复
热议问题