![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常记录
天高地阔
这个作者很懒,什么都没留下…
展开
-
The method setDefaultCloseOperation(int) is undefined for the type
public class MainFrame extends Frame implements ActionListener{ ....... this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) ........}在执行以上代码时this.setDefaultCloseOperation(JFram原创 2017-07-14 15:29:07 · 8744 阅读 · 1 评论 -
Java eclipse: errors exist in required project(s)
Eclipse中编辑好了一个类,点击运行时出现如图所示的现象,现在编辑好的这个类并无错误,点击Proceed可正常运行。按照字面意思就是,在这个“工程”中存在错误,打开工程列表----找到前边有红色叉叉的某个类,将错误去掉。这个弹窗也就不会在出现了。原创 2017-07-14 15:31:55 · 8061 阅读 · 1 评论 -
Windows XP系统下pyserial,提示AttributeError: function 'CancelIoEx' not found
这两天利用Python编写了一个串口工具,使用到pyserial 库。在Windows 7系统上执行正常,但是在Windows XP时报错,提示AttributeError: function 'CancelIoEx' not found。经过上网查询,才得知原因是CancelIoEx函数,只在Vista及以上版本运行,也就是需要低版本的pyserial库。目前我使用的是pyseria原创 2017-09-06 13:38:14 · 3419 阅读 · 0 评论