1 function getOsInfo() { 2 var userAgent = navigator.userAgent.toLowerCase(); 3 var name = 'Unknown'; 4 var version = "Unknown"; 5 if(userAgent.indexO ...
分类:
Web程序 时间:
2018-08-02 13:17:25
阅读次数:
227
错误提示: 可能原因 1. 引入的entity包有错误,应该引入: 2. 没有在hibernate.cfg.xml中指定注解类 ``` 如果是使用注解,参考上面第二条 ...
分类:
Web程序 时间:
2018-08-01 22:25:20
阅读次数:
210
https://www.cnblogs.com/chase-wind/p/5644838.html 空接口可以指向任何数据对象,所以可以使用interface{}定义任意类型变量,同时interface{}也是类型安全的。 变长int类型的参数 变长不定类型的参数, 判断参数类型 arg.(type ...
分类:
其他好文 时间:
2018-08-01 18:26:18
阅读次数:
155
使用如下命令推流时: ffmpeg -re -i a.mp4 -vcodec libx264 -acodec aac -f flv rtmp://172.31.102.165:1935/myapp 可能会出现如下错误: Unknown encoder 'libx264' 即,缺少libx264库,需 ...
分类:
Web程序 时间:
2018-08-01 14:00:53
阅读次数:
4613
编译SpringBoot当前项目时,problemwasencounteredwhilebuildingtheeffectivemodelfororg.springframework.boot:spring-boot-maven-plugin:[unknown-version],双击问题跳到了其他项目的POM文件中。错误提示:problemwasencounteredwhilebuildingth
分类:
编程语言 时间:
2018-07-31 17:05:12
阅读次数:
1631
错误描述: 现象: 解决方案: i do as the following steps and it works for me: input "docker network ls" to figure out the name of the network( it is "buildblockcha ...
分类:
移动开发 时间:
2018-07-31 15:35:12
阅读次数:
841
环境:VS2015,CMake3.12.0。 问题一: 解决办法:下载并安装Windows SDK version 8.1。 问题二: 解决办法:这个问题百度了半天也没找到合适的办法,好多博客都是复制来复制去得,无语。换了Bing,得,一下子就出来了。 stackoverflow链接:https:/ ...
分类:
其他好文 时间:
2018-07-31 11:03:36
阅读次数:
2575
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column …… 出现这个异常的很大可能性是 数据库是没有问题的!关键原因是:你从传过来的参数是String类型的,我们在操作数据库时String类型的参数必须要用 ...
分类:
数据库 时间:
2018-07-28 21:46:12
阅读次数:
190
虚拟机软件:VMware Workstaion12 操作系统:Ubuntu14.04 1、修改Ubuntu14.04的apt源为国内的阿里源: 注:若出现:W: Unknown Multi-Arch type 'no' for package 'compiz-core'则说明ubuntu版本与apt ...
分类:
系统相关 时间:
2018-07-28 15:23:26
阅读次数:
216
Qt Creator: Unknown debugger type “No engine” Qt Creator 找不到调试器的解决办法: 1、下载并安装 Debugging Tools for Windows: http://www.remkoweijnen.nl/blog/2013/06/13/ ...
分类:
其他好文 时间:
2018-07-28 13:46:07
阅读次数:
1186