我刚安装了spring-tool-suite-3.7.0.RELEASE-e4.5-win32-x86_64 我运行了sts-bundle \ sts-3.7.0.RELEASE \ STS.exe 然后我运行了sts-bundle \ sts-3.7.0.RELEASE \ exclepsec.exe
我的记忆力不足。 跟踪启动时出错: **
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration
bundle was activated before the state location was initialized. Will retry aft
er the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: C:\Users\sBriet\Docu
ments\workspace-sts-3.7.0.RELEASE\.metadata\.plugins\org.eclipse.m2e.logback.con
figuration\logback.1.6.1.20150625-2338.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://935.fwk1294950326:1/org/slf4j/impl/Sta
ticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://935.fwk1294950326:2/org/slf4j/impl/Sta
ticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorSta
ticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
Error while informing user about event loop exception:
Exception in thread "Thread-11"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "Thread-11"
Error while informing user about event loop exception:
**
我增加了STS.ini文件中的可用内存: **
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx1536m
-XX:MaxPermSize=512m
-Xverify:none
-Dorg.eclipse.swt.browser.IEVersion=10001
**
如何摆脱这个问题? 首先我没有点击gui中的任何内容,30秒后内存自动出现。解决方案建议" http://www.slf4j.org/codes.html#multiple_bindings"没有为这种情况提供任何解决方案。
答案 0 :(得分:1)
解决方案: 你必须使用jdk 8来解决这个问题。我无法使用jdk 7!
我跑了(在150x30的大型命令窗口中,超过1000行):
eclipsec.exe -consoleLog
我收到以下错误(由其他人报告)。
> C:\sts-bundle\sts-3.7.0.RELEASE>eclipsec.exe -consoleLog
!SESSION 2015-08-07 15:48:30.291 -----------------------------------------------
eclipse.buildId=3.7.0.201506290652-RELEASE-e45
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -consoleLog
!ENTRY org.eclipse.fx.core 4 0 2015-08-07 15:48:37.928
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.fx.core [412]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Unresolved requirement: Require-Bundle: org.eclipse.jdt.annotation; bundle-version="[2.0.0,3.0.0)"; resolution:="optional"
-> Bundle-SymbolicName: org.eclipse.jdt.annotation; bundle-version="2.0.100.v20150311-1658"
org.eclipse.jdt.annotation [421]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.fx.osgi.util 4 0 2015-08-07 15:48:37.999 !MESSAGE FrameworkEvent ERROR