开发
初学者5213
一个学习嵌入式开发的初学者
展开
-
Python用yolox对物品进行检测定位的测试以及步骤
yolox使用步骤原创 2022-10-26 21:42:24 · 829 阅读 · 0 评论 -
yolox报 text = ‘{}:{:.1f}%‘.format(class_names[cls_id], score * 100) IndexError: tuple index out of r
text = '{}:{:.1f}%'.format(class_names[cls_id], score * 100) IndexError: tuple index out of range原创 2022-10-26 09:06:10 · 359 阅读 · 0 评论 -
Vue第一天报错记录UncaughtReferenceError: Vue is not defined
这个问题是导入的文件vue.js路径有问题,请注意检查原创 2022-03-24 11:01:19 · 143 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘userName‘ in ‘where claus
{“code”:204,“message”:"\r\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘userName’ in ‘where clause’\r\n### The error may exist in file [C:\Users\zz\IdeaProjects\springboot-chat\target\classe原创 2021-12-08 11:20:00 · 1216 阅读 · 0 评论 -
springboot 使用websocket 步骤
直接上步骤1.创建好springboot项目,如果不会创建可以参考我博客中分享的创建springboot项目步骤2.导入pom.xml依赖org.springframework.bootspring-boot-starter-websocket3.在项目的启动入口加入类上面加入@EnableWebSocket 注解,并且在类中加入 一个bean方法,注意启动类的位置,如果和我不一样,可能你要理解一下@SpringBootApplication的作用范围,这一步完成,只要在网上找一点websoc原创 2021-12-06 16:23:05 · 2835 阅读 · 0 评论 -
idea搭建springboot2021-12-2
这两天在研究springboot,之前没学过,在网上看了一些视频,加上网上教程(springboot入库教程)就把springboot框架搭起来了 ,搭建框架要注意maven是否已经装好,不然会有很多问题,我也在网上看过别人搭建的项目,但是还是有点懵,所以我也分享一个,但我这个仅仅限于学过springboot不太会搭建框架的人看1.打开idea创建一个项目,选择Project—》New Progect,如果idea和我的一样就可以按照我的步骤走2.选择Spring initializr 选项,当然也可原创 2021-12-02 13:14:40 · 2459 阅读 · 0 评论 -
初学maven运行mvn compile命令报错 lugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugin原创 2021-11-26 16:37:14 · 581 阅读 · 0 评论 -
java SSM jsp页面跳转404
今天遇到一个404问题 jsp页面往其他jsp页面跳转 一直在报404问题 仔细看发现路径多了 最后发现是jsp里面的 base标签没有这个标签没有 就会出现 路径会多出一级 导致404 各位小伙伴用jsp注意点原创 2021-09-09 19:55:13 · 996 阅读 · 0 评论 -
window下使用Linux,VmWare安装Ubuntu系统详细教程2021/07/19
今天简单介绍一下Ubuntu在window下使用VmWare安装Ubuntu,因为我用的是vmware。第一步 先安装vmware我的是新版本vmware16.2,之前是vm10但是安装有问题所有就换了新版本,如果你已经安装了vm那下载vm的步骤就可以跳过了。1.vm下载,vm官网https://www.vmware.com/cn/worldwide.html,这个是vm的官网,2.注意有的可能是英文,我这里谷歌给我翻译了。3.点击产品下载。4.找到VMware Workstation Pro然原创 2021-07-19 10:35:06 · 369 阅读 · 0 评论 -
zbar源码的使用\条码识别(zbar、opencv)
zbar我就不多介绍了哈 既然你都搜索了 就应该大概也了解了 我主要是用来识别条码(一维条码 和二维码)。这两天 同事要搞一个识别图片条码的功能 开始我做了一个用java和Zing做了一个效果出来 但是用起来感觉效率可能不够好 识别率也有点不够,最后同事就找到了zbar 使用感觉挺不错 ,然后就开始在网上找代码,在zbar的官网可以下载,但是 下载下来有一堆代码 ,根本不知道咋用 ,坑也多的很而且官网的zbar是32位的,如果系统是64位的 用vs跑源码还有可能出问题,最后我在网上找了很多人写的博客 ,大原创 2021-06-30 22:53:10 · 299 阅读 · 1 评论 -
java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_eye(III)J
/* String model = System.getProperty(“sun.arch.data.model”);// the path the .dll lib locationString libraryPath = “G:\opencv\build\java\x64\”;// check for if system is 64 or 32if(model.equals(“64”)) {libraryPath = “G:\opencv\build\java\x64\”;}// set原创 2021-06-27 18:18:31 · 302 阅读 · 0 评论 -
layui中 数据表格table 获取后台 对象中包含的对象数据
table.render({ elem: '#test' ,url:'userManager/doList?userName='+name ,cols: [[ {field:'userId', title:'ID', width:80, fixed: 'left', unresize: true, sort: true} ,{field:'userName', title:'用户...原创 2021-04-30 14:57:21 · 2298 阅读 · 4 评论 -
Uncaught TypeError: Cannot create property ‘LAY_TABLE_INDEX‘ on string ‘[‘
这个问题是数据格式错误这个返回的data 数据是"[{},{}]" 而layui需要的数据格式是[{},{}] 注意多了一个字符串 用json的时候用 阿里巴巴的别用org这个 不然转换出来不能用用这个就可以了...原创 2021-04-30 00:02:20 · 1515 阅读 · 2 评论 -
layui中 使用iframe标签 子类调用父类方法 并且 点击子类里面的按钮 在父类新增选项卡
function add() {var doms=window.parent.tabs('4444',555,'dptManager/list');console.log(doms);} //这个add方法是子类的 在子类里面调用父类的添加选项卡方法原创 2021-04-29 17:14:46 · 334 阅读 · 0 评论 -
vue-resource-1.3.4.js:7 POST http://127.0.0.1:8080/mgsys/Login/doLogin 404
今天用vue的http.post 请求mvc后台接口 报vue-resource-1.3.4.js:7 POST http://127.0.0.1:8080/mgsys/Login/doLogin 404这个错是因为我后面mvc的方法没加@ResponseBody注解 导致一直报错 各位注意一下原创 2021-04-01 14:32:55 · 225 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): zz.pet.mapper.PetTy
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for zz.pet.mapper.PetTypeMapper.petList org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:775) org.apache.ibatis.session.Configuration.getMapp.原创 2021-03-08 21:36:23 · 76 阅读 · 0 评论 -
IndentationError: unexpected indent
刚学python 报IndentationError: unexpected indent 这个是缩进的问题原创 2021-03-05 13:07:35 · 73 阅读 · 0 评论 -
The method filterRequest(FlowRequest) of type new FlowFilter(){} must override a superclass method
myeclipse 报The method filterRequest(FlowRequest) of type new FlowFilter(){} must override a superclass method解决方案选择当前项目换成1.7就可以了原创 2021-01-26 18:04:19 · 70 阅读 · 0 评论 -
C++ string 转int int 转 string string 转char
string str ="123";int ms = atoi(str .c_str()); //string 转int---------------------------------------------------char* st=str.data();//string 转char--------------------------------------------------------stringstream loginFlg;loginFlg<< ms..原创 2021-01-21 11:30:26 · 61 阅读 · 0 评论 -
C++ error C1189: #error : “No Target Architecture” 的错误
error C1189: #error : “No Target Architecture” 的错误这个错误可能是缺少某个头文件 也可能是缺少#include <windows.h> 这个头文件原创 2021-01-17 14:34:38 · 501 阅读 · 2 评论 -
java swing JButton按钮 通过代码代替鼠标的手动点击效果
JButton submitBtn = new JButton(); submitBtn.setText("submit"); submitBtn.setBounds(300, 280, 80, 30); submitBtn.doClick();//鼠标点击 //效果和手动用鼠标去点击按钮是一样的submitBtn.addActionListener(new ActionListener() { @Override ...原创 2021-01-05 12:59:37 · 515 阅读 · 0 评论 -
Java swing 选项卡 如何实现 通过代码切换选项卡中的内容页
JTabbedPane jTabbedpane = new JTabbedPane();// 存放选项卡的组件 JPanel register= new JPanel(); jTabbedpane.addTab("Register", null, register, "first");// 加入第一个页面 jpanelSecond.setLayout(null);//需要设置内容排版格式 不然可能会出现排版混...原创 2021-01-05 12:41:54 · 480 阅读 · 0 评论 -
2020-12-10
Cause: java.sql.SQLDataException: Cannot determine value type from string ‘手持机’这个错是实体类的字段类型和数据库的字段类型不符标题 Cause: java.sql.SQLDataException: Cannot determine value type from string ‘手持机’...原创 2020-12-10 22:36:46 · 71 阅读 · 0 评论 -
2020-12-10
java.lang.IllegalStateException: Ambiguous mapping found. Cannot map ‘applyForContoller’ bean method此错误为 controller里面的r@RequestMapping方法重复了改个方法名就解决了原创 2020-12-10 17:34:04 · 57 阅读 · 0 评论 -
2020-12-10
easyui 在新打开的选项卡里面 再添加一个选项卡附上代码function abw(title, url) {var parent=top.jQuery;var fag= parent(’#tt’).tabs(‘exists’, title);var content = ‘’;jq(’#tt’).tabs(‘add’,{//不存在,则添加一个title:title,content:content,closable:true});};#tt是你自己的## 标题easyui 在新打原创 2020-12-10 16:30:23 · 64 阅读 · 0 评论 -
2020-12-10
Error querying database. Cause: java.lang.NumberFormatException: For input string: “null”Cause: java.lang.NumberFormatException: For input string: “null”] with root cause这个问题是配置导致的这个状态是integer类型的 如果判断字符串就会出错## Error querying database. Cause: java.lan原创 2020-12-10 16:24:34 · 121 阅读 · 0 评论 -
org.springframework.web.util.NestedServletException
今天在ssm中写sql语句报了这个错 原因是 大于符合和小于符合的问题错误写法<if test=' minmj != 0 and and maxmj !=0'> and mj >=#{minmj} and mj <=#{maxmj} </if>正确写法<if test=' minmj!= null and maxmj !=null'> ...原创 2020-05-14 16:59:47 · 178 阅读 · 0 评论 -
Parameter index out of range (1 > number of parameters, which is 0).
今天写模糊查询的时候报错了SELECT COUNT(1) FROM houseinfo where address like '%?%'这个错原因是在xml文件里面的sql写错了 address like '%#{address}%'正确的应该是concat('%',#{address},'%') 应该是要转义的意思...原创 2020-05-14 12:23:30 · 84 阅读 · 0 评论 -
SMM报错:Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tmdb.userinfo' do
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: com.mysql.jdbc....原创 2020-05-08 13:53:45 · 227 阅读 · 0 评论 -
SSM整合 报org.springframework.beans.factory.BeanCreationException:
今天做ssm报了一个错 :org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userInfoController': Injection of autowired dependencies failed; nested exception is org.springfr...原创 2020-05-08 13:48:50 · 411 阅读 · 0 评论 -
想做一个旅游网站试试
今天突然心血来潮想做个旅游网站试试 不知道老铁们有没有什么好的建议 我该怎么下手会比较好一点原创 2019-07-17 10:35:53 · 367 阅读 · 0 评论 -
NC开发获取表头和表体数据代码
NC在该类中类创建其他接口代码IIAMaintain iaitf = NCLocator.getInstance().lookup(IIAMaintain.class);解释: IIAMaintain表示接口的名称NC如何获取页面上表头和表体的数据代码第一步:先把页面的数据转换成当前模块的VO 因为VO里面包含了 表体和表体的数据PurchaseInVO purvo = (Purchase...原创 2019-03-12 17:56:40 · 4172 阅读 · 1 评论 -
练习NC主子报单据项目保存数据报null错误
这个错是主子表单据选择功能的时候没全部选完原创 2019-03-11 17:11:45 · 1209 阅读 · 0 评论