摘要: 一、Java智能提示 (1). 打开Eclipse,选择打开" Window - Preferences"。 (2). 在目录树上选择"Java-Editor-Content Assist",在右侧的"Auto-Activation"找到"Auto Activation triggers for java"选项。默认触发代码提示的就是"."这个符号。 (3). 在"Auto Activatio... 阅读全文
posted @ 2017-10-13 22:15 长情白月光 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 一、异常描述: 二、错误分析:缺少日志文件。 三、解决方法:在src/main/resources上面右键 New—>File,File name: log4j.properties。 文件内容如下: 完整配置如下: 问题补充: 若加入 log4j.properties 日志文件后,警告信息变成了如 阅读全文
posted @ 2017-10-13 18:36 长情白月光 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: 当你在使用Eclipse运行web项目时,你可能会看到控制台出现: 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server 阅读全文
posted @ 2017-10-13 15:29 长情白月光 阅读(816) 评论(0) 推荐(0) 编辑