- 博客(8)
- 收藏
- 关注
原创 Java Eclipse 双击项目下的任何文件都是空白
好久没用Eclipse了,今天打开点击任意一个项目下的任意一个文件都是空白。用了各种姿势百度。下面是按照百度教的方法出现的各种提示。。Unable to create the selected property page. An error occurred while automatically activating bundle。。。Eclipse Unable to cre
2017-05-09 19:11:45 5417
转载 WebSocket 是什么原理?为什么可以实现持久连接?
内容转自知乎:http://www.zhihu.com/question/20215561一、websocket与httpWebSocket是HTML5出的东西(协议),也就是说HTTP协议没有变化,或者说没关系,但HTTP是不支持持久连接的(长连接,循环连接的不算)首先HTTP有 1.1 和 1.0 之说,也就是所谓的 keep-alive ,把多个HTTP请求合并为一个,但
2017-05-08 20:07:00 264
转载 Struts2中关于"There is no Action mapped for namespace / and action name"
作者:孤旅者出处:http://www.cnblogs.com/gulvzhe/一、struts.xml文件错误。这种错误又分为以下几种:1,struts.xml文件名错误。一定要注意拼写问题;2,struts.xml文件放置路径错误。一定要将此文件放置在src目录下。编译成功后,要确认是否编译到classes目录中;3,struts.xml文件内容错误。下面给出一个正确的
2017-03-30 17:41:45 234
原创 java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputSt
java.lang.NumberFormatException: For input string: ""at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)at java.lang.Integer.parseInt(Integer.java:592)at java.lang.I
2017-03-13 19:57:40 1425
原创 java.lang.ClassCastException: com.huihui.sms.bean.Student cannot be cast to java.util.List at com.h
java.lang.ClassCastException: com.huihui.sms.bean.Student cannot be cast to java.util.Listat com.huihui.sms.serviceImpl.StudentServiceImpl.listBySage(StudentServiceImpl.java:75)at com.huihui.sms.t
2017-03-11 15:11:54 503
原创 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; che
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Sname=
2017-03-11 14:37:54 601
原创 Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was n
新建了一个jsp页面将光标放到出错的地方显示Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决:右键项目-build path-configure
2017-03-10 20:33:04 11620
转载 端口占用问题,今天学习的时候又出现了这个问题,找了度娘,特此记录以下。第一次写博客,希望自己能坚持下来。大家共同进步
端口占用(这张图是百度搜的,我的端口改了是8888,即(8005,8888,8009))在运行界面中输入cmd命令:能进入Dos窗口:如图所示接着假如被占用的端口号是"8888"(Tomcat默认端口号8080),此时我们就需要在Dos界面里输入命令:netstat -aon
2017-03-10 19:35:12 338
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人