- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们的 Eclipse e4 应用程序需要很长时间才能启动。
我已经在 VisualVM
中对其进行了分析,该应用程序的加载时间大约为 30 秒。
主要原因是使用 LoggerFactory.getLogger(Example.class) 创建一个新的记录器并初始化 spring 上下文(扫描类)。
创建记录器大约需要 10 秒,这是非常长的。我想知道这是否与延迟加载 bundle 有关,在加载之前它会被阻塞。
我添加了一个 .options
文件来显示加载包所需的时间。
8ms to load the activator of org.eclipse.osgi_3.14.0.v20190517-1309 [0]
38ms to load and start the activator of org.eclipse.osgi_3.14.0.v20190517-1309 [0]
Time to load bundles: 23
4ms to load the activator of org.eclipse.equinox.simpleconfigurator_1.3.200.v20181101-1115 [1]
369ms to load and start the activator of org.eclipse.equinox.simpleconfigurator_1.3.200.v20181101-1115 [1]
368ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.simpleconfigurator"; type="osgi.bundle"; version:Version="1.3.200.v20181101-1115"; singleton:="true" [id=1]
369ms for total start time of osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.14.0.v20190517-1309"; singleton:="true" [id=0]
2ms to load the activator of org.apache.felix.scr_2.1.14.v20190123-1619 [26]
12ms to load and start the activator of org.apache.felix.scr_2.1.14.v20190123-1619 [26]
12ms for total start time of osgi.identity; osgi.identity="org.apache.felix.scr"; type="osgi.bundle"; version:Version="2.1.14.v20190123-1619" [id=26]
1ms to load the activator of org.eclipse.equinox.common_3.10.400.v20190516-1504 [76]
6ms to load and start the activator of org.eclipse.equinox.common_3.10.400.v20190516-1504 [76]
6ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.common"; type="osgi.bundle"; version:Version="3.10.400.v20190516-1504"; singleton:="true" [id=76]
0ms to load the activator of org.eclipse.equinox.event_1.5.100.v20190528-1257 [78]
5ms to load and start the activator of org.eclipse.equinox.event_1.5.100.v20190528-1257 [78]
23ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.event"; type="osgi.bundle"; version:Version="1.5.100.v20190528-1257" [id=78]
0ms for total start time of osgi.identity; osgi.identity="com.ibm.icu"; type="osgi.bundle"; version:Version="64.2.0.v20190507-1337" [id=6]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.ant.core"; type="osgi.bundle"; version:Version="3.5.400.v20190510-0606"; singleton:="true" [id=31]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.compare.core"; type="osgi.bundle"; version:Version="3.6.500.v20190519-2354" [id=32]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.contenttype"; type="osgi.bundle"; version:Version="3.7.300.v20190215-2048"; singleton:="true" [id=34]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.databinding"; type="osgi.bundle"; version:Version="1.7.400.v20190513-2118" [id=35]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.databinding.property"; type="osgi.bundle"; version:Version="1.7.0.v20190510-1100" [id=38]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.expressions"; type="osgi.bundle"; version:Version="3.6.400.v20190518-1240"; singleton:="true" [id=39]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.filesystem"; type="osgi.bundle"; version:Version="1.7.400.v20190518-1151"; singleton:="true" [id=40]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.jobs"; type="osgi.bundle"; version:Version="3.10.400.v20190506-1457"; singleton:="true" [id=42]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.resources"; type="osgi.bundle"; version:Version="3.13.400.v20190505-1655"; singleton:="true" [id=43]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.variables"; type="osgi.bundle"; version:Version="3.4.500.v20190510-0549"; singleton:="true" [id=46]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.draw2d"; type="osgi.bundle"; version:Version="3.10.100.201606061308" [id=47]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.contexts"; type="osgi.bundle"; version:Version="1.8.100.v20190518-1217" [id=49]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di"; type="osgi.bundle"; version:Version="1.7.200.v20190506-1457" [id=50]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di.extensions"; type="osgi.bundle"; version:Version="0.15.300.v20190213-1308"; singleton:="true" [id=52]
0ms to load the activator of org.eclipse.e4.core.di_1.7.200.v20190506-1457 [50]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di"; type="osgi.bundle"; version:Version="1.7.200.v20190506-1457" [id=50]
0ms to load the activator of org.eclipse.e4.core.di.extensions.supplier_0.15.300.v20190506-1457 [53]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di.extensions.supplier"; type="osgi.bundle"; version:Version="0.15.300.v20190506-1457" [id=53]
19ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di.extensions.supplier"; type="osgi.bundle"; version:Version="0.15.300.v20190506-1457" [id=53]
2ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.services"; type="osgi.bundle"; version:Version="2.1.400.v20181215-2145"; singleton:="true" [id=54]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.tools.services"; type="osgi.bundle"; version:Version="4.8.200.v20181022-1512" [id=56]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.bindings"; type="osgi.bundle"; version:Version="0.12.500.v20190510-1100"; singleton:="true" [id=57]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.css.swt"; type="osgi.bundle"; version:Version="0.13.500.v20190513-2118"; singleton:="true" [id=59]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.css.swt.theme"; type="osgi.bundle"; version:Version="0.12.300.v20190510-1100"; singleton:="true" [id=60]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.di"; type="osgi.bundle"; version:Version="1.2.600.v20190510-1100" [id=61]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.model.workbench"; type="osgi.bundle"; version:Version="2.1.400.v20190513-2118"; singleton:="true" [id=62]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.services"; type="osgi.bundle"; version:Version="1.3.500.v20190513-2118"; singleton:="true" [id=63]
2ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench"; type="osgi.bundle"; version:Version="1.10.0.v20190529-1505"; singleton:="true" [id=65]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.addons.swt"; type="osgi.bundle"; version:Version="1.3.500.v20190513-2118"; singleton:="true" [id=66]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.renderers.swt"; type="osgi.bundle"; version:Version="0.14.700.v20190517-1525"; singleton:="true" [id=67]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.swt"; type="osgi.bundle"; version:Version="0.14.600.v20190513-2118"; singleton:="true" [id=68]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.common"; type="osgi.bundle"; version:Version="2.16.0.v20190528-0845"; singleton:="true" [id=70]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.ecore"; type="osgi.bundle"; version:Version="2.18.0.v20190528-0845"; singleton:="true" [id=71]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.ecore.change"; type="osgi.bundle"; version:Version="2.14.0.v20190528-0725"; singleton:="true" [id=72]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.ecore.xmi"; type="osgi.bundle"; version:Version="2.16.0.v20190528-0725"; singleton:="true" [id=73]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.app"; type="osgi.bundle"; version:Version="1.4.200.v20190516-1504"; singleton:="true" [id=74]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.bidi"; type="osgi.bundle"; version:Version="1.2.0.v20190514-1046"; singleton:="true" [id=75]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.preferences"; type="osgi.bundle"; version:Version="3.7.400.v20190516-1504"; singleton:="true" [id=81]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.registry"; type="osgi.bundle"; version:Version="3.8.400.v20190516-1504"; singleton:="true" [id=83]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.util"; type="osgi.bundle"; version:Version="1.1.200.v20181008-1820" [id=86]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.help"; type="osgi.bundle"; version:Version="3.8.400.v20190423-0921"; singleton:="true" [id=89]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.team.core"; type="osgi.bundle"; version:Version="3.8.600.v20190519-2354"; singleton:="true" [id=103]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.ui"; type="osgi.bundle"; version:Version="3.113.0.v20190513-2118"; singleton:="true" [id=105]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.ui.workbench"; type="osgi.bundle"; version:Version="3.115.0.v20190521-1602"; singleton:="true" [id=106]
1ms to load the activator of org.eclipse.equinox.registry_3.8.400.v20190516-1504 [83]
154ms to load and start the activator of org.eclipse.equinox.registry_3.8.400.v20190516-1504 [83]
154ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.registry"; type="osgi.bundle"; version:Version="3.8.400.v20190516-1504"; singleton:="true" [id=83]
0ms to load the activator of org.eclipse.equinox.preferences_3.7.400.v20190516-1504 [81]
19ms to load and start the activator of org.eclipse.equinox.preferences_3.7.400.v20190516-1504 [81]
19ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.preferences"; type="osgi.bundle"; version:Version="3.7.400.v20190516-1504"; singleton:="true" [id=81]
175ms to load the activator of org.eclipse.core.runtime_3.15.300.v20190508-0543 [45]
0ms to load the activator of org.eclipse.core.contenttype_3.7.300.v20190215-2048 [34]
3ms to load and start the activator of org.eclipse.core.contenttype_3.7.300.v20190215-2048 [34]
3ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.contenttype"; type="osgi.bundle"; version:Version="3.7.300.v20190215-2048"; singleton:="true" [id=34]
0ms to load the activator of org.eclipse.core.jobs_3.10.400.v20190506-1457 [42]
20ms to load and start the activator of org.eclipse.core.jobs_3.10.400.v20190506-1457 [42]
21ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.jobs"; type="osgi.bundle"; version:Version="3.10.400.v20190506-1457"; singleton:="true" [id=42]
0ms to load the activator of org.eclipse.equinox.app_1.4.200.v20190516-1504 [74]
10ms to load and start the activator of org.eclipse.equinox.app_1.4.200.v20190516-1504 [74]
10ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.app"; type="osgi.bundle"; version:Version="1.4.200.v20190516-1504"; singleton:="true" [id=74]
218ms to load and start the activator of org.eclipse.core.runtime_3.15.300.v20190508-0543 [45]
218ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.runtime"; type="osgi.bundle"; version:Version="3.15.300.v20190508-0543"; singleton:="true" [id=45]
1ms to load the activator of org.eclipse.equinox.console_1.3.300.v20190516-1504 [77]
1ms to load the activator of org.apache.felix.gogo.runtime_1.1.0.v20180713-1646 [24]
9ms to load and start the activator of org.apache.felix.gogo.runtime_1.1.0.v20180713-1646 [24]
10ms for total start time of osgi.identity; osgi.identity="org.apache.felix.gogo.runtime"; type="osgi.bundle"; version:Version="1.1.0.v20180713-1646" [id=24]
1ms to load the activator of org.apache.felix.gogo.shell_1.1.0.v20180713-1646 [25]
8ms to load and start the activator of org.apache.felix.gogo.shell_1.1.0.v20180713-1646 [25]
8ms for total start time of osgi.identity; osgi.identity="org.apache.felix.gogo.shell"; type="osgi.bundle"; version:Version="1.1.0.v20180713-1646" [id=25]
0ms to load the activator of org.apache.felix.gogo.command_1.0.2.v20170914-1324 [23]
4ms to load and start the activator of org.apache.felix.gogo.command_1.0.2.v20170914-1324 [23]
4ms for total start time of osgi.identity; osgi.identity="org.apache.felix.gogo.command"; type="osgi.bundle"; version:Version="1.0.2.v20170914-1324" [id=23]
34ms to load and start the activator of org.eclipse.equinox.console_1.3.300.v20190516-1504 [77]
33ms for total start time of osgi.identity; osgi.identity="org.eclipse.equinox.console"; type="osgi.bundle"; version:Version="1.3.300.v20190516-1504" [id=77]
Starting application: 1090
1ms to load the activator of org.eclipse.e4.ui.workbench.swt_0.14.600.v20190513-2118 [68]
2ms to load and start the activator of org.eclipse.e4.ui.workbench.swt_0.14.600.v20190513-2118 [68]
2ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.swt"; type="osgi.bundle"; version:Version="0.14.600.v20190513-2118"; singleton:="true" [id=68]
0ms to load the activator of org.eclipse.e4.ui.model.workbench_2.1.400.v20190513-2118 [62]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.model.workbench"; type="osgi.bundle"; version:Version="2.1.400.v20190513-2118"; singleton:="true" [id=62]
0ms to load the activator of org.eclipse.e4.core.services_2.1.400.v20181215-2145 [54]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.services"; type="osgi.bundle"; version:Version="2.1.400.v20181215-2145"; singleton:="true" [id=54]
1ms to load the activator of org.eclipse.e4.ui.workbench_1.10.0.v20190529-1505 [65]
3ms to load and start the activator of org.eclipse.e4.ui.workbench_1.10.0.v20190529-1505 [65]
2ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench"; type="osgi.bundle"; version:Version="1.10.0.v20190529-1505"; singleton:="true" [id=65]
0ms to load the activator of org.eclipse.e4.core.contexts_1.8.100.v20190518-1217 [49]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.contexts"; type="osgi.bundle"; version:Version="1.8.100.v20190518-1217" [id=49]
0ms to load the activator of org.eclipse.e4.ui.services_1.3.500.v20190513-2118 [63]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.services"; type="osgi.bundle"; version:Version="1.3.500.v20190513-2118"; singleton:="true" [id=63]
1ms to load the activator of org.eclipse.e4.tools.services_4.8.200.v20181022-1512 [56]
1ms to load and start the activator of org.eclipse.e4.tools.services_4.8.200.v20181022-1512 [56]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.tools.services"; type="osgi.bundle"; version:Version="4.8.200.v20181022-1512" [id=56]
0ms to load the activator of org.eclipse.e4.ui.di_1.2.600.v20190510-1100 [61]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.di"; type="osgi.bundle"; version:Version="1.2.600.v20190510-1100" [id=61]
0ms to load the activator of com.ibm.icu_64.2.0.v20190507-1337 [6]
0ms for total start time of osgi.identity; osgi.identity="com.ibm.icu"; type="osgi.bundle"; version:Version="64.2.0.v20190507-1337" [id=6]
57ms to load the activator of org.eclipse.emf.common_2.16.0.v20190528-0845 [70]
57ms to load and start the activator of org.eclipse.emf.common_2.16.0.v20190528-0845 [70]
57ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.common"; type="osgi.bundle"; version:Version="2.16.0.v20190528-0845"; singleton:="true" [id=70]
2ms to load the activator of org.eclipse.emf.ecore_2.18.0.v20190528-0845 [71]
20ms to load and start the activator of org.eclipse.emf.ecore_2.18.0.v20190528-0845 [71]
19ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.ecore"; type="osgi.bundle"; version:Version="2.18.0.v20190528-0845"; singleton:="true" [id=71]
1ms to load the activator of org.eclipse.emf.ecore.xmi_2.16.0.v20190528-0725 [73]
1ms to load and start the activator of org.eclipse.emf.ecore.xmi_2.16.0.v20190528-0725 [73]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.emf.ecore.xmi"; type="osgi.bundle"; version:Version="2.16.0.v20190528-0725"; singleton:="true" [id=73]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://3.fwk1318822808:154/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://3.fwk1318822808:331/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
1ms to load the activator of org.eclipse.core.resources_3.13.400.v20190505-1655 [43]
105ms to load and start the activator of org.eclipse.core.resources_3.13.400.v20190505-1655 [43]
104ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.resources"; type="osgi.bundle"; version:Version="3.13.400.v20190505-1655"; singleton:="true" [id=43]
1ms to load the activator of org.eclipse.core.filesystem_1.7.400.v20190518-1151 [40]
1ms to load and start the activator of org.eclipse.core.filesystem_1.7.400.v20190518-1151 [40]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.filesystem"; type="osgi.bundle"; version:Version="1.7.400.v20190518-1151"; singleton:="true" [id=40]
0ms to load the activator of org.eclipse.e4.ui.workbench.addons.swt_1.3.500.v20190513-2118 [66]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.addons.swt"; type="osgi.bundle"; version:Version="1.3.500.v20190513-2118"; singleton:="true" [id=66]
5ms to load the activator of org.eclipse.ui.workbench_3.115.0.v20190521-1602 [106]
1ms to load the activator of org.eclipse.ui_3.113.0.v20190513-2118 [105]
2ms to load and start the activator of org.eclipse.ui_3.113.0.v20190513-2118 [105]
2ms for total start time of osgi.identity; osgi.identity="org.eclipse.ui"; type="osgi.bundle"; version:Version="3.113.0.v20190513-2118"; singleton:="true" [id=105]
21ms to load and start the activator of org.eclipse.ui.workbench_3.115.0.v20190521-1602 [106]
20ms for total start time of osgi.identity; osgi.identity="org.eclipse.ui.workbench"; type="osgi.bundle"; version:Version="3.115.0.v20190521-1602"; singleton:="true" [id=106]
1ms to load the activator of org.eclipse.core.expressions_3.6.400.v20190518-1240 [39]
1ms to load and start the activator of org.eclipse.core.expressions_3.6.400.v20190518-1240 [39]
1ms for total start time of osgi.identity; osgi.identity="org.eclipse.core.expressions"; type="osgi.bundle"; version:Version="3.6.400.v20190518-1240"; singleton:="true" [id=39]
0ms to load the activator of org.eclipse.e4.ui.workbench.renderers.swt_0.14.700.v20190517-1525 [67]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.workbench.renderers.swt"; type="osgi.bundle"; version:Version="0.14.700.v20190517-1525"; singleton:="true" [id=67]
0ms to load the activator of org.eclipse.e4.ui.bindings_0.12.500.v20190510-1100 [57]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.bindings"; type="osgi.bundle"; version:Version="0.12.500.v20190510-1100"; singleton:="true" [id=57]
0ms to load the activator of org.eclipse.e4.core.di.extensions_0.15.300.v20190213-1308 [52]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.core.di.extensions"; type="osgi.bundle"; version:Version="0.15.300.v20190213-1308"; singleton:="true" [id=52]
0ms to load the activator of org.eclipse.e4.ui.css.swt.theme_0.12.300.v20190510-1100 [60]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.css.swt.theme"; type="osgi.bundle"; version:Version="0.12.300.v20190510-1100"; singleton:="true" [id=60]
0ms to load the activator of org.eclipse.e4.ui.css.swt_0.13.500.v20190513-2118 [59]
0ms to load and start the activator of org.eclipse.e4.ui.css.swt_0.13.500.v20190513-2118 [59]
0ms for total start time of osgi.identity; osgi.identity="org.eclipse.e4.ui.css.swt"; type="osgi.bundle"; version:Version="0.13.500.v20190513-2118"; singleton:="true" [id=59]
Application started in : 38177ms
这可能是什么原因造成的?
配置
最佳答案
第一次正常需要一分钟,之后应用程序应该在几秒钟内启动。
请让我看看您的插件以及插件的配置以供审核。
关于java - 启动缓慢 - Eclipse e4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57187823/
每当我运行命令以将 Virtualbox 驱动程序启动 Minishift 到操作系统主机时,它都需要一段疯狂的时间,而且它永远不会结束。有时我什至收到有关达到存储限制的错误消息。 不知道是不是描述h
您好,我正在使用 npm 运行一个基本的 React 项目,我正尝试在 docker 容器中启动它。但是我实际上无法让项目运行。我的 dockerfile 看起来像这样: FROM node:7.8.
所以我想从我的 SSH 终端开始游戏。 这真的很奇怪,当我直接从 Linux GUI 执行此操作时,它可以工作。但是当我使用 SSH 客户端进行远程连接时,它就崩溃了。似乎与我的显示驱动程序有关。 U
我有一个显示图像的动态壁纸。我在 Activity 中更改了该图像。然后我需要通知动态壁纸,以便它知道重新加载资源。 Intent 似乎是完美、简单的解决方案: Intent intent = new
我有一个似乎无法解决的问题。我在 Boot Dashboard 中使用 STS 3.9.2 从 Eclipse (Oxygen) 启动 Spring Boot 应用程序没有任何问题: 但是,当我尝试从
全新的 Python,在我开始摆弄东西之前先设置和安装东西。我的理解是 Python 2.7 和 Python 3.3 之间存在一些显着差异/不兼容,尽管这两个版本都得到了很好的使用,所以我认为最好安
在使用了很长时间的 jQuery 之后,我有一个问题,我正在使用 jQuery 模式(样式)编写一个简单的代码, (function(window, undefined) { var jQu
我正在尝试在 spring boot 应用程序下的非 spring 托管类中配置 Autowired。我在 tomcat 服务器下部署的 Web 应用程序下成功运行了这个。但是当我想在 spring
我对 xmonad 完全陌生,但我想开始使用它来提高我的工作效率。 这是我一直在使用的指南(我使用的是 Apple OS X Snow Leopard) http://xmonad.org/tour.
我试图将Spring Boot指南中的Managing Transactions示例扩展到两个数据源,但是@Transaction注释似乎仅对其中一个数据源有效。 在“Application.java
conEmu 有没有办法默认打开多个不同的选项卡? 我看到这个页面解释了如何使用 splits , 我意识到我可以按 Ctrl + T, 1, Enter,但我希望有一种方法可以自动执行此操作! "%
我正在寻找快速而肮脏的答案。我当时脑子一片空白,盯着屏幕看了 12 个小时以上,我想我中枪了。 我想做一个简单的 SignalR 应用程序作为教程。我找到了这个example ,但我不断收到票证未定义
我正在使用 Azure Powershell cmdlet 来启动/停止 VM。 Start-AzureVM [-ServiceName] [-Name] [ ] Stop-AzureVM [-S
我想使用Powershell脚本代码启动/停止iis和mssql 意味着当我运行ps脚本时,我想启动/停止iis和mssql 我在网上搜索了它,发现了一些代码,但按照我的要求无法正常工作 码: $ii
我在 liferay 工作。我们在我们的项目中使用一个模块来创建 liferay 主题。我使用命令 ant -Ddeploy.war=true 将它部署在服务器中。 war 文件在 liferay 部
我想在已安装 Python 2.7 的 Windows XP 计算机上运行 IPython(版本 0.12)。 我通过 Windows 二进制安装程序安装,但安装后 IPython 没有显示在菜单中,
我从创建了自己的简单图片。 FROM python:2.7.11 RUN mkdir /extra/later/ \ && mkdir /yyy 现在,我可以执行以下步骤: docker run
$(document).ready(function () { setTimeout(function() { window.location.reload(); }, 2000); // 2
我刚刚创建了一个帐户 OpenWeatherMap 我想通过城市 ID API 调用获取当前位置的天气: http://api.openweathermap.org/data/2.5/weather?
我注意到,如果我更改 xcasset 中的图像,启动 Storyboard不会更新。 例如,假设您的启动 Storyboard中有一个 UIImage View ,其中包含一个名为“logo”的蓝色图
我是一名优秀的程序员,十分优秀!