阿里云官方的skd(aliyun-net-sdk-core,aliyun-net-sdk-dysmsapi)在dnc中发送短信会出错,nuget上的包貌似也一样不管用.直接改下sdk当然也可以,但就发个短信,官方的sdk实在是有点繁杂,其实可以简单化,一个类就搞定. using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Globalization; using System.Net;…
环境:myeclipse+tomcat6+jdk6 今天搭建了一个Java Web项目,访问index.jsp时报如下错误: 严重: Servlet.service() for servlet jsp threw exceptionjava.lang.NullPointerException at org.apache.jsp.front.index_jsp._jspInit(index_jsp.java:30) at org.apache.jasper.runtime.HttpJs…