`
wxinpeng
  • 浏览: 581654 次
  • 性别: Icon_minigender_1
  • 来自: 青岛
社区版块
存档分类
最新评论
文章列表
项目跑的好好的。突然之间报错,不能tomcat启动。 报错如下: Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering. at org.apache.t ...
服务器:Centos7 ,Tomcat8 ,JDK8 项目启动报错: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000077d800000, 362807296, 0) failed; error='Cannot allocate memory' (errno=12)   # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) fa ...
当我们用ionic创建好app后,默认的logo及spash页面均是cordova的图标,显的不太好看,如何使用自己的icon和splash页呢? 1、icon生成 生成一个192*192px的logo,保存为icon.png,icon.ai或icon.psd(只支持这三种格式),图片不要有圆角(每个平台会自己给图片加效果,如ios会自动给logo加圆角效果)。 在ionic的根目录下有一个resources的目录,将icon的图片放在这个目录下。 运行命令,生成不同平台的icon。 $ ionic resources --icon 运行命令后,会发现生成了一系列的不同尺寸的 ...
Caused by: java.sql.SQLException: The server time zone value...  原因:     在使用mysql的jdbc驱动最新版(6.0+)时,遇到数据库和系统时区差异引起的问题。 解决方法:     一种是降版本,这个我们知道就行了,并不推荐;还有一种是在jdbc连接的url后面加上serverTimezone=UTC或GMT即可,如果指定使用gmt+8时区,需要写成GMT%2B8,否则可能报解析为空的错误。示例如下:  jdbc.url=jdbc:mysql://localhost:3306/demo?serverTimezone= ...
如题,spring mvc直接提交Date类型参数会报错,400 bad request的错误。在controller里加上 @InitBinder protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { // DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); DateForm ...
I'm new to Ionic. I have started project with super template. But when I try to run the app in browser. It throws an error saying: ReferenceError: webpackJsonp is not defined at http://localhost:8100/build/main.js:1:1   解决: This is a breaking change in Ionic-App-Scripts https://github.com/ ...
最近从npm4升级成npm5,在运行 npm install 时,报如下错误: Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-7kVpawZ+S98Vw5VnEKTDbBfY+PA= integrity checksum failed when using sha1: wanted sha1-7kVpawZ+S98Vw5VnEKTDbBfY+PA= but got sha512-39w19Mseg83z68JsIdcuFH3Z+BR/Jc3gRBB4Pn/a ...
最近Ionic2项目安装cordova-plugin-camera插件,一直报错。(已经Add了android的platform),大概的错误信息如下。 [ERROR] Cordova encountered an error. You may get more insight by running the Cordova command above directly. [ERROR] An error occurred while running cordova plugin add cordova-plugin-camera --save (exit code 1): Installi ...
使用maven下载jar包,经常会遇到下载失败的情况,如果失败的jar包过多,或是不清楚到底有那些jar包在下载过程中出现了问题.可通过maven命令重新批量下载未成功的jar包.   1,打开cmd ,进入命令提示符. 2,导航到你的项目目录下,保证与你项目的pom.xml的同目录 3,执行 mvn clean install -U  4,等待执行完成
mysql的root账户,我在连接时通常用的是localhost或127.0.0.1,公司的测试服务器上的mysql也是localhost所以我想访问无法访问,测试暂停. 解决方法如下: 1,修改表,登录mysql数据库,切换到mysql数据库,使用sql语句查看”select host,user from user ;” mysql -u root -pvmwaremysql>use mysql;       mysql>update user set host = ‘%’ where user =’root’;       mysql>select host, u ...
rtsp://218.204.223.237:554/live/1/0547424F573B085C/gsfp90ef4k0a6iap.sdp rtsp://116.199.127.68/huayu    ----华数有地址的  网络视频文件. ================================================================================================== 1. rtsp://218.204.223.237:554/live/1/66251FC11353191F/e7ooqwcfbqjoo80j.sd ...
1,确认已联网,输入命令 sudo apt-get install ssh  2,配置免密码登录本机    2-1,查看用户名下是否存在.ssh文件夹 (xxxx为你的用户名) ls -a/home/xxxx    一般来说,安装SSH会自动在当前用户下创建这个隐藏文件夹,如没有,可手动创建。    2-2,输入命令 ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa     这个命令会在.ssh文件夹下创建id_dsa和id_dsa.pub两个文件,这是SSH的一对私钥和公钥,类似与钥匙和锁。把id_dsa.pub(公钥)追加到授权的key中去 ...
1,下载jdk-7u45-linux-x64.tar.gz       网址:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 2, 解压JDK          进入JDK的下载目录 sudo tar zxvf jdk-7u45-linux-x64.tar.gz -C /usr/lib/jvm  3,设置环境变量(全局) sudo gedit /etc/profile    打开profile文件输入 export JAVA_HOME=/usr/lib ...
jQuery1.8.3在IE9中attr方法保存。解决方案如下:   修改2321行 ret = elem.getAttribute( name );  修改为: ret = elem.getAttribute ? elem.getAttribute(name) : null;   注:要修改的行数根据不同版本自己去查找
          使用惯了Hibernate, model类之间都会书写关联关系。现在使用  Mybatis,在Mybatis中如何映射类之间的关联关系,今天举例说一下一对一的关联关系在Mybatis中如何映射。           例:  Blog与Author是一对一的关联关系            model类的代码如下:   public class Blog implements Serializable { private static final long serialVersionUID = 1L; private Integer rowId; priv ...
Global site tag (gtag.js) - Google Analytics