Search code examples
tomcatspring-bootspring-tool-suite

STS error while trying to run spring boot app on server


Here is the error (when I click on Run on Server):

Publishing the configuration...
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\catalina.policy: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\catalina.policy (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\catalina.policy (The system cannot find the path specified)
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\catalina.properties: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\catalina.properties (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\catalina.properties (The system cannot find the path specified)
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\context.xml: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\context.xml (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\context.xml (The system cannot find the path specified)
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\jmxremote.access: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\jmxremote.access (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\jmxremote.access (The system cannot find the path specified)
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\jmxremote.password: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\jmxremote.password (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\jmxremote.password (The system cannot find the path specified)
Error copying file to E:/Softwares/sts-bundle/pivotal-tc-server-developer-3.1.1.RELEASE/base-instance/backup\server.xml: E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\server.xml (The system cannot find the path specified)
E:\Softwares\sts-bundle\pivotal-tc-server-developer-3.1.1.RELEASE\base-instance\conf\server.xml (The system cannot 

Solution

  • Your workspace is referencing server that doesn't exist anymore.

    Just delete and create new server in STS. It is in "Servers" view.