代码改变世界

阅读排行榜

关于MyEclipse启动报错:Error starting static Resources;下面伴随Failed to start component [StandardServer[8005]]; A child container failed during start.的错误提示解决办法.

2018-02-04 16:51 by yanch1, 2393 阅读, 收藏,
摘要: 最后才发现原因是Tomcat的server.xml配置文件有问题:apache-tomcat-7.0.67\conf的service.xml下边多了类似与 <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="t 阅读全文

linux下启动weblogic

2018-03-31 14:19 by yanch1, 2167 阅读, 收藏,
摘要: cd /home/weblogic/bea/user_projects/domains/base_domain/bin 执行命令启动服务器 nohup sh startWebLogic.sh & [weblogic@localhost ~]$ su - root 关闭防火墙 service ipta 阅读全文

xshell中的nohup与&的含义

2018-03-30 14:59 by yanch1, 1959 阅读, 收藏,
摘要: (1)&是在后台执行,当执行./startWebLogic.sh & 的时候,即使ctrl+c,startWebLogic.sh仍然执行;但当关掉shell后,startWebLogic.sh进程同样消失。(2)nohup是不挂断运行,当执行nohup ./startWebLogic.sh,关闭sh 阅读全文

linux环境开机自启动nginx

2018-04-02 12:01 by yanch1, 1860 阅读, 收藏,
摘要: 1 开机自启动nginx 1.1 编写shell脚本 这里使用的是编写shell脚本的方式来处理 vi /etc/init.d/nginx (输入下面的代码) #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v 阅读全文

eclipse启动服务报错:Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0

2018-03-17 17:16 by yanch1, 1552 阅读, 收藏,
摘要: 原因查找:1,首先在eclipse中查看配置的jdk:windows->preferences->java->installed jres 2,经百度得知在cmd命令 java -version 和javac -version得出的jdk版本不一样,原因是在环境变量path数据库(数据库自带jdk版 阅读全文