我使用intellij进行弹簧启动,但我决定使用套件工具来实现spring的建议。
我下载并在Ubuntu中运行它。
开始了一个hello world项目,但是有很多错误。
Could not load the Tomcat server configuration at /Servers/Pivotal tc Server Developer Edition v3.1-config. The configuration may be corrupt or incomplete.
Resource is out of sync with the file system: '/Servers/Pivotal tc Server Developer Edition v3.1-config/catalina.properties'.
我没有改变任何东西,但这是错误。
AS错误说,当我转到该页面时,它会显示:
base.shutdown.port=-1
base.jmx.port=6969
bio.http.port=8080
bio.https.port=8443
当我改为
base.shutdown.port=-1
base.jmx.port=6969
bio.http.port=8081
bio.https.port=8444
当我尝试关闭时,错误
eclipse.buildId=3.7.3.201602250940-RELEASE-e45
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide
org.eclipse.core.resources
Error
Wed Apr 13 12:21:29 EEST 2016
Resource is out of sync with the file system: '/Servers/Pivotal tc Server Developer Edition v3.1-config/catalina.properties'.
我甚至无法关闭项目
eclipse.buildId=3.7.3.201602250940-RELEASE-e45
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide
org.eclipse.jst.server.tomcat.core
Error
Wed Apr 13 12:21:29 EEST 2016
Could not load the Tomcat server configuration at /Servers/Pivotal tc Server Developer Edition v3.1-config. The configuration may be corrupt or incomplete.
org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/Servers/Pivotal tc Server Developer Edition v3.1-config/catalina.properties'.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:830)
at org.eclipse.core.internal.resources.File.getContents(File.java:269)
at org.eclipse.core.internal.resources.File.getContents(File.java:260)
at org.eclipse.jst.server.tomcat.core.internal.Tomcat60Configuration.load(Tomcat60Configuration.java:355)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServerConfiguration.load(TcServerConfiguration.java:236)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServer.getTomcatConfiguration(TcServer.java:228)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServer.getTomcatConfiguration(TcServer.java:1)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour.getTomcatConfiguration(TomcatServerBehaviour.java:80)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServerBehaviour.getTomcatConfiguration(TcServerBehaviour.java:188)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServerBehaviour.getTomcatConfiguration(TcServerBehaviour.java:1)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour.setupLaunch(TomcatServerBehaviour.java:496)
at com.vmware.vfabric.ide.eclipse.tcserver.internal.core.TcServerBehaviour.setupLaunch(TcServerBehaviour.java:203)
at org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate.launch(TomcatLaunchConfigurationDelegate.java:96)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
我退出了应用程序并重新打开并运行但仍然相同
Could not load the Tomcat server configuration at /Servers/Pivotal tc Server Developer Edition v3.1-config. The configuration may be corrupt or incomplete.
资源与文件系统不同步:'/ Servers / Pivotal tc Server Developer Edition v3.1-config / catalina.properties'。