控制台没有输出

7
这听起来像是一个琐碎的问题,但我在Google上搜索了很久也没有找到能帮助我的答案。
控制台上没有任何输出。昨天还好好的,我没有对我的 RAD 做出任何更改。
即便使用 System.out 语句,也无法将内容打印在控制台上。 我已经进行了调试以确保它能够达到 System.out 语句。
我已确认我所查看的输出控制台就是如图片所示的 WebSphere 控制台。
我正在使用 RAD 8 和 WebSphere 应用服务器 7。
编辑1: 日志文件(SystemOut.log)
************ Start Display Current Environment ************
WebSphere Platform 7.0.0.11 [BASE 7.0.0.11 cf111021.10] running with process name 2UA2060KBLNode01Cell\2UA2060KBLNode01\server1 and process id 2796
Host Operating System is Windows 7, version 6.1 build 7601 Service Pack 1
Java version = 1.6.0, Java Compiler = j9jit24, Java VM name = IBM J9 VM
was.install.root = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7
user.install.root = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles\AppSrv01
Java Home = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\java\jre
ws.ext.dirs = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/java/lib;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles\AppSrv01/classes;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/classes;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/installedChannels;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/ext;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/web/help;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles\AppSrv01/properties;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/properties;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/startup.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/bootstrap.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/jsf-nls.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/lmproxy.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/lib/urlprotocols.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/deploytool/itp/batchboot.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/deploytool/itp/batch2.jar;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7/java/lib/tools.jar
Java Library path = C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\java\jre\bin;.;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\bin;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\java\bin;C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\java\jre\bin;C:\app\RPM0C0\product\11.2.0\client_1\bin;C:\app\RPM0C0\product\11.2.0\client_2;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;C:\Windows\SysWow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Attachmate\Reflection\;C:\Program Files\TortoiseSVN\bin;
************* End Display Current Environment *************
[2/20/13 14:47:47:370 CST] 0000001e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\logs\ffdc\server1_33fd33fd_13.02.20_14.47.47.3401796267326710681783.txt com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter 89
[2/20/13 14:47:47:470 CST] 0000001e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\logs\ffdc\server1_33fd33fd_13.02.20_14.47.47.400854812561247672408.txt com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch 428
[2/20/13 14:47:47:500 CST] 0000001e servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/errorhandling/error.jsp]: Initialization successful.
[2/20/13 14:48:30:422 CST] 0000001e servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/F_login.jsp]: Initialization successful.
[2/20/13 14:48:32:392 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [FilterProxyServlet]: Initialization successful.
[2/20/13 14:48:32:402 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/index.jsp]: Initialization successful.
[2/20/13 14:48:32:472 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/topMenu.jsp]: Initialization successful.
[2/20/13 14:48:32:512 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/sideMenu.jsp]: Initialization successful.
[2/20/13 14:48:32:522 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public Map getIntlPlanningBlocks(...);
[2/20/13 14:48:32:792 CST] 0000001c HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:32:802 CST] 0000001c HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:32:932 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public Map getIntlPlanningBlocks(...); -- 410ms.
[2/20/13 14:48:32:932 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:32:932 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:32:932 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:32:942 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:48:32:992 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 50ms.
[2/20/13 14:48:32:992 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:32:992 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:33:002 CST] 0000001c DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:33:032 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/displayErrors.jsp]: Initialization successful.
[2/20/13 14:48:33:052 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/main/indexDetails.jsp]: Initialization successful.
[2/20/13 14:48:33:082 CST] 0000001c servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/bottomFooter.jsp]: Initialization successful.
[2/20/13 14:48:37:892 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:48:37:912 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 20ms.
[2/20/13 14:48:37:912 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:37:922 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:37:922 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:38:582 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public boolean isItTime2ShutDownUpdates(...);
[2/20/13 14:48:38:632 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public boolean isItTime2ShutDownUpdates(...); -- 50ms.
[2/20/13 14:48:38:632 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:38:632 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:38:632 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:38:642 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:48:40:762 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 2120ms.
[2/20/13 14:48:40:772 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:40:772 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:40:772 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:40:842 CST] 0000002f servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/international/routing/add_routing/route_mode_selection.jsp]: Initialization successful.
[2/20/13 14:48:47:333 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public Date getCurrentDateFromDBSysDate(...);
[2/20/13 14:48:47:403 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public Date getCurrentDateFromDBSysDate(...); -- 60ms.
[2/20/13 14:48:47:413 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:47:413 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:47:413 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:47:423 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:48:47:453 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 30ms.
[2/20/13 14:48:47:463 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:47:463 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:47:463 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:47:503 CST] 0000002f servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/international/routing/add_routing/enter_routing_info.jsp]: Initialization successful.
[2/20/13 14:48:47:553 CST] 0000002f servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/singleFacilitySelect.jsp]: Initialization successful.
[2/20/13 14:48:47:577 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public FacilityTO[] getFacilities(...);
[2/20/13 14:48:47:655 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:47:665 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:47:845 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public FacilityTO[] getFacilities(...); -- 266ms.
[2/20/13 14:48:47:845 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:47:845 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:47:845 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:47:895 CST] 0000002f servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/selectEntityTile.jsp]: Initialization successful.
[2/20/13 14:48:47:925 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public FacilityTO[] getFacilities(...);
[2/20/13 14:48:48:015 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:48:015 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:49:365 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public FacilityTO[] getFacilities(...); -- 1430ms.
[2/20/13 14:48:49:365 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:49:365 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:49:375 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:49:465 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String[] getInternationalMailClasses(...);
[2/20/13 14:48:49:465 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:49:465 CST] 0000002f HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:48:49:615 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String[] getInternationalMailClasses(...); -- 150ms.
[2/20/13 14:48:49:625 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:49:625 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:49:625 CST] 0000002f DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:49:665 CST] 0000002f servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/common/mailHandlingCodesSelect.jsp]: Initialization successful.
[2/20/13 14:48:59:426 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public boolean isItTime2ShutDownUpdates(...);
[2/20/13 14:48:59:466 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public boolean isItTime2ShutDownUpdates(...); -- 40ms.
[2/20/13 14:48:59:476 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:59:476 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:59:476 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:48:59:486 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:48:59:506 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 20ms.
[2/20/13 14:48:59:516 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:48:59:516 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:48:59:516 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:49:03:786 CST] 0000001b ***SystemOut     O Hi***
[2/20/13 14:49:03:786 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public String getLatestIntl7DayJobId(...);
[2/20/13 14:49:03:816 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public String getLatestIntl7DayJobId(...); -- 30ms.
[2/20/13 14:49:03:816 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:49:03:816 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:49:03:816 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:49:03:856 CST] 0000001b servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [TOPS-APP] [/TOPS-WEB-RB] [/servicecentral/international/interline/add_interline_routes.jsp]: Initialization successful.
[2/20/13 14:49:04:926 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public AggregateMailClassTO[] getAggregateMailClassesForDomestic(...);
[2/20/13 14:49:04:926 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Calling public AggregateMailClassTO[] getAggregateMailClassesForDomestic(...);
[2/20/13 14:49:04:936 CST] 0000001b HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:49:04:936 CST] 0000001b HibernateAbst I com.dps.nom.dops.dao.hibernate.HibernateAbstractTOPSDAO createCriteria setting CacheMode.REFRESH, cacheable = false
[2/20/13 14:49:05:056 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public AggregateMailClassTO[] getAggregateMailClassesForDomestic(...); -- 120ms.
[2/20/13 14:49:05:056 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:49:05:066 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:49:05:066 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing
[2/20/13 14:49:05:066 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy invoke Exiting public AggregateMailClassTO[] getAggregateMailClassesForDomestic(...); -- 140ms.
[2/20/13 14:49:05:076 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession flushing
[2/20/13 14:49:05:076 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession clearing
[2/20/13 14:49:05:086 CST] 0000001b DebugProxy    I com.dps.nom.dops.util.DebugProxy closeSession closing

编辑 2:解决办法

我无法确定是什么原因导致了这个问题。最终我删除了服务器并重新创建了它,问题得到解决。所以我猜测可能是服务器需要进行某种配置更改。

如果有任何答案仍将不胜感激。


这个相关吗?http://stackoverflow.com/questions/10351753/java-not-writing-to-console/10351888#10351888 - maksimov
@dbreaux 我已经包含了你要求的日志文件。谢谢。 - Susie
我已经有一段时间没有使用WS了,所以无法提供太多细节,但是关于我提到的另一个问题,你的WS中必须有一个日志配置文件,你需要在其中指定要将输出发送到stdout。 - maksimov
输出在WebSphere的日志中,只是不在RAD的控制台中,所以这是一个RAD问题。(我知道这并不能为您解决问题,我只是试图确定问题出在哪里。) - dbreaux
@dbreaux @maksimov 谢谢。 - Susie
显示剩余2条评论
3个回答

1
控制台视图可以显示多种类型的控制台。在您的截图中,它正在显示Websphere服务器控制台。您期望看到的输出可能在不同的控制台上。在控制台选项卡右侧有一些按钮,您可以使用这些按钮切换到不同的控制台。 此页面描述了控制台视图和可用于切换到不同控制台的按钮。

谢谢您的回答,但是在任何控制台中都没有打印出任何内容。 - Susie

0
我刚刚关闭了“控制台”视图,然后选择了“窗口”>“显示视图”>“控制台”,这样问题就解决了。
这个答案是基于我在这里看到的第一张图片给出的,其中包含一个空的控制台视图。

0

我用了两种方法解决了这个问题:

  1. 最初,我只是删除了服务器实例并重新创建了它。

  2. Rick 点击了 RAD/Eclipse 图标并选择了“以管理员身份运行”。

如果你想默认以管理员身份启动 Rad 或 Eclipse 实例,请按照以下步骤操作:

Right click on the shortcut > Properties > Advanced > check the box "Always run as 

administrator > OK > Apply > OK 

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接