[英]My Pivotal tc Server not Start
Until a few days ago, my STS worked perfectly, but of a sudden, the Pivotal server does not start, throws me the following error message when you run an application: 直到几天前,我的STS运转良好,但是突然,Pivotal服务器无法启动,在运行应用程序时抛出以下错误消息:
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0 (Native Method)
at java.io.Win32FileSystem.canonicalize (Win32FileSystem.java: 414)
at java.io.File.getCanonicalPath (File.java: 618)
at java.io.File.getCanonicalFile (File.java: 643)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader (ClassLoaderFactory.java: 170)
at org.apache.catalina.startup.Bootstrap.createClassLoader (Bootstrap.java: 149)
at org.apache.catalina.startup.Bootstrap.initClassLoaders (Bootstrap.java: 90)
at org.apache.catalina.startup.Bootstrap.init (Bootstrap.java: 226)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java: 425)
They could help me with this problem? 他们可以帮助我解决这个问题吗?
From already, thank you very much for your attention and time. 从现在开始,非常感谢您的关注和时间。
Gustavo Echenique 古斯塔沃·埃切尼克
I had the same error on Tomcat 6 (Pivotal 3.0, STS) and my problem was in catalina.properties. 我在Tomcat 6(Pivotal 3.0,STS)上遇到了相同的错误,而我的问题出在catalina.properties中。 The "common.loader" property was incorrectly using Tomcat 8 style and it was as follows: “ common.loader”属性错误地使用了Tomcat 8样式,如下所示:
common.loader = \
\"${catalina.base}/lib\",\
\"${catalina.base}/lib/*.jar\",\
\"${catalina.home}/lib\",\
\"${catalina.home}/lib/*.jar\"
I have removed the double quotes and that fixed the problem. 我删除了双引号,并解决了该问题。 Correct definition: 正确的定义:
common.loader = \
${catalina.base}/lib,\
${catalina.base}/lib/*.jar,\
${catalina.home}/lib,\
${catalina.home}/lib/*.jar
Also, STS has quietly added Tomcat 8 JARs (bootstrap.jar, etc) to my Tomcat 6 launch configuration. 另外,STS悄悄地将Tomcat 8 JAR(bootstrap.jar等)添加到了我的Tomcat 6启动配置中。 While I had these JARs on the classpath, everything worked fine. 当我将这些JAR放在类路径上时,一切正常。 But once I discovered and removed them, Tomcat 6 started breaking with the error in the original post. 但是,一旦我发现并删除了它们,Tomcat 6就开始因原始帖子中的错误而中断。
I started to have the same issue out of nothing as well. 我同样也开始遇到同样的问题。 We are using Java 1.7 in our project, but I also have Java 8 installed on my machine for experimenting. 我们在项目中使用Java 1.7,但我的计算机上也安装了Java 8进行试验。 Even though everything is still configured to use 1.7 (I never changed the configuration and it was working fine), I think after some Java 8 update I started to get this issue. 即使所有内容仍配置为使用1.7(我从未更改过配置,并且运行良好),但我认为在进行Java 8更新后,我开始遇到此问题。
After trying several things, I decided to uninstall all Java 8 related updates and installations; 在尝试了几件事之后,我决定卸载所有与Java 8相关的更新和安装;请参阅附录A。 and made a fresh installation of Spring STS 3.6.2 with a new workspace. 并使用新的工作区重新安装了Spring STS 3.6.2。 It seems to be working fine right now. 目前看来运作良好。 You can try this if you also have a similar environment. 如果您也有类似的环境,可以尝试一下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.