java2e
文章平均质量分 66
归遇卿
不会写代码的码农......
展开
-
/**.jsp (line: [1], column: [45]) The JSP specification requires that an attribute name is preceded
在Tomcat上部署完项目后输入访问地址访问出现如下错误错误原因:jsp两属性间必须有空格符 详情如图: 解决方法:将jsp文件中各属性间用空格符隔开即可! ...原创 2018-10-19 10:28:58 · 3595 阅读 · 0 评论 -
XML:The processing instruction must begin with the name of the target
在刚刚学习Hibernate时运行出现了下边的错误: Exception in thread "main" org.hibernate.MappingException: Could not read mappings from resource: com/j2ee/hibernate/User.hbm.xml at org.hibernate.cfg.Configuration.add...原创 2018-10-26 10:31:20 · 272 阅读 · 0 评论 -
Access denied for user 'root'@'localhost' (using password: YES)
在初次尝试使用hibernate连接数据库时建立连接出现: Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificExcept...原创 2018-10-26 10:37:39 · 276 阅读 · 0 评论 -
null, message from server: "Host 'DESKTOP-GT3N5PV' is not allowed to connect to this MySQL server"
使用Hibernate连接Mysql数据库时遇到下面的错误: Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificExcep...原创 2018-10-26 11:04:17 · 2472 阅读 · 0 评论 -
java RXTX串口通信
最近由于项目需求,参考网上大神们的代码,写了一个简单的串口通信小例子,有兴趣的同学可以点击下方百度云盘连接获取: 链接:https://pan.baidu.com/s/1i4t2ajLtsoP-7B54FCkMbg 提取码:5u0o 希望对各位小伙伴有用哦! ...原创 2019-05-21 10:54:15 · 308 阅读 · 0 评论