typescript报错集锦 错误:Import sources within a group must be alphabetized.tslint(ordered-imports) 原因:import名称排序问题,要求按照字母从小到大排序: 解决方案:修改 tslint.json 中 rules 的规则 "ordered-imports" 为 false 即可. "rules": { "ordered-imports": false } vs…
Spark程序编译报错: [INFO] Compiling 2 source files to E:\Develop\IDEAWorkspace\spark\target\classes at 1567004370534[ERROR] E:\Develop\IDEAWorkspace\spark\src\main\scala\cn\itcast\wordCount\WordCount.scala:3: error: object apache is not a member of package…
添加OutLook API using OutLook = Microsoft.Office.Interop.Outlook; 发送邮件方法 public void SendEmail() { OutLook.Application app = new OutLook.Application(); OutLook.NameSpace ns = app.GetNamespace("mapi"); ns.Logon("ServerName\\UserName", &qu…