摘要:
今天新建一个Springboot项目,然后在pom.xml就出现了Plugin ‘org.springframework.boot:spring-boot-maven-plugin:’ not found这个错误搜索了一圈找到一个好用的方法 只需要给他加上版本好就行了,至于为什么我也不清楚,希望知道 阅读全文
摘要:
问题为 http协议版本不适配,改为HttpVersion.Version10即可 阅读全文
摘要:
HTTP/0.9 HTTP协议的最初版本,功能简陋,仅支持请求方式GET,并且仅能请求访问HTML格式的资源。 HTTP/1.0 请求行必须在尾部添加协议版本字段(http/1.0);必须包含头消息 在0.9版本上做了进步,增加了请求方式POST和HEAD;不再局限于0.9版本的HTML格式,根据C 阅读全文
摘要:
当传入发送邮箱正确的用户名和密码时,总是收到到:邮箱不可用. has no permission 这样的错误,英文错误为:Mailbox unavailable. The server response was: User has no permission。 其实我们用.Net发送邮件时相当于自定 阅读全文
摘要:
否则报错 阅读全文
摘要:
只需要将[System.Web.Script.Services.ScriptService]这一行取消注释就可以// [System.Web.Script.Services.ScriptService]public class WebService : System.Web.Services.Web 阅读全文
摘要:
问题:无法启程序,拒绝访问 你在写程序的时候,是否遇到类似的问题:无法启动程序"XXX.exe",拒绝访问,解决方案 这样的问题遇到多次了,就也有了解决方案。 解决方案 使用管理员权限运行VS2008,如下图: 再次打开项目,运行试试。如果不起作用,再试试第二步。 发生这样的事情可能是因为,程序正在 阅读全文
摘要:
Align String with Space This example shows how to align strings with spaces. The example formats text to table and writes it to console output. To ali 阅读全文
摘要:
Oracle 表删除大量数据后,即使表中只有几行记录,但用select count(*) from table 来查询发觉都不会马上出来,原因是该表的空间大了,查询起来很慢。解决的方法是把该表所占用的表空间缩小,或者说释放表空间。alter table XXXX move; 这样处理后就释放了表空间 阅读全文
摘要:
using DevExpress.XtraPrinting; using DevExpress.XtraReports.UI; // ... private void button1_Click(object sender, System.EventArgs e) { ReportPrintTool 阅读全文