php执行shell脚本报错,求解决呀,大神们。。。

图片说明

2个回答

权限不够,查看一下sh文件的权限属性。

错误是:没有权限.在命令前面sudo试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
shell脚本报错,求大神帮忙解决
shell脚本内容如下rnrn#!/bin/shrnexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBKrnora_path='abp_query/bhp2pz_P@new_hss'rnrntable_name='tmp_pldx_warn'rnrn#获得文件地址rnrncd /home/abp/zjprnmyFile="`date '+%Y%m%d'`*.csv"rn echo $myFilern#检查文件是否存在 rn if [ ! -f "myFile" ]; rnthen rn#登录数据库 rn sqlplus -s $ora_path <
java执行shell脚本报错
在web项目中调用的一个验证域名和ip的shell脚本,rnrnshell是rn[code=Assembly]for x in `seq 1 50`;do echo $x;nslookup " + name + "-www$x.cdnmgmt.tudou.com|grep Address|grep -v '#53'; done[/code]rnrn错误如下:rnCannot run program "/bin/sh": java.io.IOException: error=12, Cannot allocate memoryrnrn代码如下:rn[code=Java]rnpublic Map runShell(String shStr, String name) throws Exception rn Map hiMap = new HashMap();rn Process process;rn process = Runtime.getRuntime().exec(new String[] "/bin/sh", "-c", shStr , null, null);rn InputStreamReader ir = new InputStreamReader(process.getInputStream());rn LineNumberReader input = new LineNumberReader(ir);rn String line;rn process.waitFor();rn String num = "";rn while ((line = input.readLine()) != null) rn hiMap.put(name + "-www" + num, line.substring(9, line.length()));rn num = line;rn rn return hiMap;rn [/code]rnrn网上查到说是java的bug,升级到1.7就可以了。整个环境都要变,这个不太可能。有没有别的办法?rnrn
安卓shell脚本执行报错。
连接上安卓电视,abd shell进入shell模式。rn1、在命令行中输入如下命令,几条语句都可以正常执行,输出结果到mem.log中:rnecho "time PID Vss Rss Pss Uss cmdline">>mem.logrnvar=`date +%H:%M:%S`rnecho -n $var >>mem.logrnprocrank |grep mango >>mem.logrnrn2、将上述命令写成test.sh文件:rn#!/system/bin/shrnecho "time PID Vss Rss Pss Uss cmdline">>mem.logrnvar=`date +%H:%M:%S`rnecho -n $var >>mem.logrnprocrank |grep mango >>mem.logrnrn3、+执行权限,然后用/system/bin/sh test.sh执行脚本。rn结果只有procrank |grep mango >>mem.log语句正常执行了。rn其他语句报错《: Invalid argumentcreate mem.log》rn求大神指点下如何解决?
求大神 速度 解决呀
[img=https://img-bbs.csdn.net/upload/201501/04/1420334225_782910.png][/img] 如图 我想 一点后面 那个向上的按钮 js弹出 文本框中的值 现在 我做的是 一点 就只是弹出1 求大神解决 在线等
eclipse配置报错!求大神的解决!
[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=3&mode=inline&l=read&action=open_attach][/img]rn[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=4&mode=inline&l=read&action=open_attach][/img]rnJDK1.6rneclipse启动后报错如图:我想请教一下,是不是问题就出在配置上。。。正确的配置是什么样的?麻烦详细点~~~rnrn我是个菜鸟~~求大神解决~~
求大神解决空指针报错!
activity.jsprnrnList beanListResult =(List)request.getAttribute("list");rnIterator iter_beanList = beanListResult.iterator();rnrnServletrnelse if("/background".equals(module_path))/*访问后台管理模块*/rn ActivityDao activityDao=new ActivityDao();rn if("queryList".equals(action))rn List list=activityDao.queryList(req);rn req.setAttribute("activity", list);rn req.getRequestDispatcher("/background/activity.jsp").forward(req,resp); rn rnrnDAOrnpublic List queryList(HttpServletRequest req)rnString sql="select * from company_acitvityenroll";rnList list=DbBuilder.getListBean(sql,Activity.class);rn return list;rnrnrnSEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [An exception occurred processing JSP page /background/activity.jsp at line 166rnrn163: rn164: <%rn165: List beanListResult =(List)request.getAttribute("list");rn166: Iterator iter_beanList = beanListResult.iterator();rn167: while (iter_beanList.hasNext()) rn168: Activity activity=iter_beanList.next();rn169: %>rnrnrnStacktrace:] with root causernjava.lang.NullPointerException
excel导出报错,求大神解决
程序在本机跑很好,发布在服务器上,开始也能导出excel,但是过一段时间,大概3天后,就导出报错,提示如下rnRetrieving the COM class factory for component with CLSID 00024500-0000-0000-C000-000000000046 failed due to the following error: 8000401a 因为配置标识不正确,系统无法开始服务器进程。请检查用户名和密码。 (Exception from HRESULT: 0x8000401A). rnrnMicrosoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();//这里报错的rnrn然后我又部署一个新版本上去,又好了,但是过几天后又出现这个问题,网上查应该是权限问题,试了几种方法都没有用,请大神们帮看看。rnrn
php编译一直报错,大神们速来
CentOS release 6.4 (Final)rn编译php-5.5.38rngcc-c++-4.4.7-17.el6.x86_64rngcc-4.4.7-17.el6.x86_64drn编译参数--prefix=/usr/local/php --with-config-file-path=/usr/local/php --enable-fpm --with-fpm-user=www --with-fpm-group=www --enable-mysqlnd --enable-opcache --enable-sockets --enable-soap --enable-mysqlnd --with-mysql-sock -with-mysql --with-mysqli --with-pdo-mysql --without-pearrnmake 1>/dev/nullrn/root/php-5.5.38/ext/session/session.c: 在函数‘ps_srlzr_decode_php_serialize’中:rn/root/php-5.5.38/ext/session/session.c:866: 警告:传递‘php_var_unserialize’的第 2 个参数时在不兼容的指针类型间转换rn/root/php-5.5.38/ext/standard/php_var.h:53: 附注:需要类型‘const unsigned char **’,但实参的类型为‘const char **’rn/root/php-5.5.38/Zend/zend_compile.c: 在函数‘zend_traits_copy_functions’中:rn/root/php-5.5.38/Zend/zend_compile.c:4021: 警告:赋值丢弃了指针目标类型的限定rnrn编译一直出错,换成CentOS7也一样出错,真搞不懂了,google一直解决不了,源码肯定没问题,大概都是依赖库版本问题?但是不知道是哪个rn
php执行shell脚本的问题
脚本命令:/home/center/wuchuan/web/get_user_bandwidth.sh 13669426412 rn直接在系统上是可以显示结果rn但是在php使用shell_exec没有结果返回,使用exec执行状态返回1rn求解啊rnrn脚本是用tcl写的,使用了数据库查询rn/home/center% /home/center/wuchuan/web/get_user_bandwidth.sh 13669426412 rn2M@0
关于php执行shell脚本
未完,待续……
php执行shell脚本问题
在ubuntu上搭的xamp环境平台。在使用php的shell_exec执行shell脚本的时候,只能执行部分命令,或者说只能执行echo命令,像cat ,more等等都不能执行,而且无任何返回信息,比如:rnecho "a"rncat a.txtrnmore b.txtrnecho "b"rn结果为: ab,中间的2条命令没有执行,也无任何反馈信息,这是为何?rn
php异步执行shell脚本
docker.php/** * 跨平台执行脚本 * * @return array * array['output'] 执行后的输出结果 * array['status'] 执行状态 0为正常 127 找不到脚本 126没有执行该shell脚本权限 */ function terminal($command) { // system if (function_exists ( 's
php 异步执行shell脚本
shell_exec(&quot;coscmd upload {$file['tmp_name']} {$targetFile} &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&quot;);  
大神们,救命呀
关于Lucene搜索框架中的问题rnrnrnpublic class Search rn rn rn public static void main(String[] args) throws Exceptionrnrn Search search = new Search();rn search.createIndex();rn search.indexSearch();rn rn rn public void indexSearch() throws Exceptionrn rn IndexSearcher searcher = new IndexSearcher(Config.INDEX_PATH);rn rn Term t = new Term("bookname", "钢铁");rn Query query = new TermQuery(t);rn rn Hits hits = searcher.search(query);rn rn for(int i = 0;i
大神们,救命呀!!!
程序总是提示:rn “/ASP.Web”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rn超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。rn异常详细信息: System.InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。rnrn但是我在本地测试是,没有问题,一旦发布到IIS ,通过其他客户端访问,如果访问比较频繁,就会出现这样的问题,rn我也查询了写, 我的Connection 关闭了呀 ,代码如下:rnrn[code=csharp]rnrn//rn public static SqlConnection getLocalStrConn()rn rn string strConn = "Data Source=xxx.xx.xx.158;database=xxxx;User ID=sa;Pwd=xxx#@!;";rn SqlConnection conn = new SqlConnection(strConn);rn return conn;rn rn //读取数据rn public static SqlDataReader GetReadSQL(string strSQL)rn rn SqlDataReader myReader;rn SqlConnection conn = SQL.getJayStrConn();rnrn SqlCommand comm = new SqlCommand(strSQL, conn);rn comm.CommandType = CommandType.Text;rn tryrn rn conn.Open();rn myReader = comm.ExecuteReader(CommandBehavior.CloseConnection);rn rn catchrn rn return null;rn rnrnrn return myReader;rnrn rn[/code]rnrn在线等呀 。。。。急死...............
求大神解决,sybase 报错 怎么解决
求大神解决,已经两天了 没有弄出来
解决ubuntu下shell脚本报错
今天在ubuntu下编译脚本时遇到 unexpected operator  的报错,脚本在其他平台可以正常运行,编码也没有问题。 搜索一番之后发现ubuntu系统默认的shell是用的dash shell,所以导致有的shell脚本会报错,使用 sudo dpkg-reconfigure dash 命令,然后选择 no 来移除默认 的dash。 然后再次编译可以正常运行。
求大神呀求大神
Android新手,求几个小项目接口,要面试了,惶恐呀惶恐[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/21.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/49.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/49.gif][/img]
一个报错,无法解决,求大神们指教
Http status: 200 OKrnajaxOptions: parsererrorrnthrownError: SyntaxError: Unexpected token
“ADODB.StreamClass”的 COM 报错.求大神们.
[img=http://hi.csdn.net/attachment/201112/31/3343207_1325321201qB5b.png][/img]rn这个问题.是读取后缀为 .eml 格式的时候 使用 ADODB.Stream读取报错.rnrn本地测试没问题.服务器就出错了.╮(╯▽╰)╭.rnrn自己弄了2天了,没解决.求大神帮助
php 的大神们 进来!!!!!
基于thinkphp5 写一个二维码生成 带参数
执行shell报错啊 求大神!!!
#!/bin/bashrnc=""rnecho "c=$c"rnlet "c+=1"rnecho "c=$c"rnecho "e=$e"rnlet "e+=1"rnecho "e=$e"rnrnshell文件是以上代码 名字是demo1.shrn执行shell的时候报错::rnjiangmingtian@renyuqing /cygdrive/d/shellrn$ sh demo1.shrnc=rn")syntax error: operand expected (error token is "rnc=rne=rn")syntax error: invalid arithmetic operator (error token is "rne=rnrnjiangmingtian@renyuqing /cygdrive/d/shellrn$rnrnrnrn但是这些语句每输入一句执行一次的话就不报错 为什么啊rn我用的是cygdrive 求大神帮忙!!
执行SQL报错,求大神指教!!
该SQL用本机访问数据库无问题,用服务器的应用访问就报一下错误!rnrn[INFO ][admin_1410801622342][09:36:59,186]结果集获取sql=select PROVNO,ORG_ID,ORG_NAME,ORG_DESC,ORG_TYPE,ORG_LEVEL,ABOVEPROVNO,ABOVE_ORG_ID,ACCTPROVNO,ACCTORGNO,CCPROVNO,CCORGNO,OUTPROVNO,OUTPROXYORG,INPROVNO,INPROXYORG,PAYSYSBKID,CLEARBKID,INNERPROVNO,INNER_ORG_ID,LINKNM,TEL,EMAIL,ORG_ADRESS,BAK1,BAK2,BAK3,AUTHLOWAMT,AUTHABOVEAMT,CREATETS,UPDATETS from t_org_cnaps order by org_id rnorg.springframework.jdbc.UncategorizedSQLException: StatementCallback; uncategorized SQLException for SQL [select PROVNO,ORG_ID,ORG_NAME,ORG_DESC,ORG_TYPE,ORG_LEVEL,ABOVEPROVNO,ABOVE_ORG_ID,ACCTPROVNO,ACCTORGNO,CCPROVNO,CCORGNO,OUTPROVNO,OUTPROXYORG,INPROVNO,INPROXYORG,PAYSYSBKID,CLEARBKID,INNERPROVNO,INNER_ORG_ID,LINKNM,TEL,EMAIL,ORG_ADRESS,BAK1,BAK2,BAK3,AUTHLOWAMT,AUTHABOVEAMT,CREATETS,UPDATETS from t_org_cnaps order by org_id ]; SQL state [null]; error code [-99999]; null; nested exception is com.ibm.db2.jcc.b.SqlException rnat org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:121)rnat org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322)rnat org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382) rnat org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:433) rnat com.hundsun.tamcx.database.JdbcDaoSupport.find(JdbcDaoSupport.java:185) rnat sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) rnat java.lang.reflect.Method.invoke(Method.java:611) rnat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) rnat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)rnat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)rnat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)rnat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rnat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) rnat $Proxy0.find(Unknown Source) rnat com.hundsun.tamcx.systemx.ext.util.dbUtil.ExtOrgDao.jgInit(ExtOrgDao.java:78) rnat com.hundsun.tamcx.systemx.ext.util.dbUtil.ExtOrgDao.(ExtOrgDao.java:44) rnat com.hundsun.tamcx.systemx.ext.util.dbUtil.ExtOrgDao.getInstance(ExtOrgDao.java:51) rnat com.hundsun.tamcx.systemx.ext.util.dict.TamcDict.tree(TamcDict.java:132) rnat com.hundsun.tamcx.systemx.ext.util.dict.TamcDict.exeAjax(TamcDict.java:496) rnat com.hundsun.tamcx.systemx.base.AjaxDictServlet.doPost(AjaxDictServlet.java:70) rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:647) rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:729) rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) rnat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) rnat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) rnat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) rnat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) rnat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) rnat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) rnat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) rnat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) rnat org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)rnat org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) rnat org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) rnat org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) rnat java.lang.Thread.run(Thread.java:736) rnCaused by: com.ibm.db2.jcc.b.SqlException rnat com.ibm.db2.jcc.b.s.a(s.java:1517) rnat com.ibm.db2.jcc.b.s.n(s.java:532) rnat com.ibm.db2.jcc.b.s.W(s.java:1436) rnat com.ibm.db2.jcc.b.kf.a(kf.java:1075) rnat com.ibm.db2.jcc.b.kf.getObject(kf.java:1062) rnat org.apache.commons.dbcp.DelegatingResultSet.getObject(DelegatingResultSet.java:286) rnat org.springframework.jdbc.support.JdbcUtils.getResultSetValue(JdbcUtils.java:137) rnat org.springframework.jdbc.core.ColumnMapRowMapper.getColumnValue(ColumnMapRowMapper.java:96) rnat com.hundsun.tamcx.database.util.CommonRowMapper.mapRow(CommonRowMapper.java:38) rnat org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:92)rnat org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:423) rnat org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371) rn... 34 more
大神们,帮忙解决下
输出一个字符串中子字符串(相同字符组成)出现的做多的次数。其中子字符串的字符相同的 。 rn比如 输入aaabbbbaaa,输出2;输入abab,输出0,给出代码(c语言)
关于phpExcel导入数据库的报错,求大神解答
用phpexcel导入数据库,提示如下报错:rn[img=https://img-bbs.csdn.net/upload/201803/12/1520860779_575907.png][/img]rnrnrn我的关键代码如下:rn[img=https://img-bbs.csdn.net/upload/201803/12/1520860801_741611.png][/img]rnrnrn从语法角度 没发现什么问题。报错提示中给出了K重庆市永川区……。但是我的通讯地址列应该是J,而不是K。rnrn我直接在数据库中导入表是没有问题的,但是通过phpexcel程序导入就出现了这个报错。求大神解答!
新人遇见困难求大神们解决
现在想在SQL里编写一个函数 要实现的是行列转换 可能会要用到SQL里的动态语句 但是不太会写,大神们能帮我解决这个问题么?最好有详细的讲解 在下不胜感激
Tomcat问题求大神们解决。。。!
Tomcat部署项目的时候总是只部署了包名,部署不了java文件。。rn测试是不是Tomcat的问题,我新建了一个项目并在项目里建了一个包,里面有action.javarn部署之后,打开Tomcat的部署路经 发现项目已经部署了 项目里的包也部署了 但是那个action.java却不见了 rn有解决方法吗!?????
求大神们帮解决一个小问题
import java.util.*;rnclass CollectionsDemornrn public static void main(String[] args) rn rn System.out.println("Hello World!");rn sortDemo();rn rn public static void sortDemo()rn rn List list = new ArrayList();rn list.add("dsa");rn list.add("dss");rn list.add("dssas");rn list.add("dsada");rn list.add("dssa");rn list.add("dsdas");rn list.add("dswa");rn sop(list);rn LengthComparator it= new LengthComparator();rn Collections.sort(list, it);rn sop(list);rnrn rn public static void sop(List list)rn rn System.out.println(list);rn rnclass LengthComparator implements Comparatorrn rn public int compare(String s1,String s2)rn rn if(s1.length()>s2.length())rn return 1;rn if(s1.length()
满地打滚求大神们帮忙解决
2014.07.24 15:40:04 INFO ContextLoader(272):? Root WebApplicationContext: initialization startedrn 2014.07.24 15:40:04 INFO XmlWebApplicationContext(500):? Refreshing Root WebApplicationContext: startup date [Thu Jul 24 15:40:04 CST 2014]; root of context hierarchyrn 2014.07.24 15:40:04 INFO XmlBeanDefinitionReader(315):? Loading XML bean definitions from file [C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\Students\WEB-INF\classes\applicationContext.xml]rn 2014.07.24 15:40:04 INFO DefaultListableBeanFactory(581):? Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@77eb97: defining beans [SQLServerDataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice,siteTableEntityDAOImpl,news]; root of factory hierarchyrn 2014.07.24 15:40:04 INFO Environment(514):? Hibernate 3.2.6rn 2014.07.24 15:40:04 INFO Environment(547):? hibernate.properties not foundrn 2014.07.24 15:40:04 INFO Environment(681):? Bytecode provider name : cglibrn 2014.07.24 15:40:04 INFO Environment(598):? using JDK 1.4 java.sql.Timestamp handlingrn 2014.07.24 15:40:04 INFO HbmBinder(300):? Mapping class: po.SiteTableEntity -> SiteTablern 2014.07.24 15:40:04 INFO LocalSessionFactoryBean(780):? Building new Hibernate SessionFactoryrn 2014.07.24 15:40:04 INFO ConnectionProviderFactory(72):? Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProviderrn 2014.07.24 15:40:19 WARN JDBCExceptionReporter(77):? SQL Error: 0, SQLState: nullrn 2014.07.24 15:40:19 ERROR JDBCExceptionReporter(78):? Cannot create PoolableConnectionFactory (通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。)rn 2014.07.24 15:40:19 WARN SettingsFactory(117):? Could not obtain connection metadatarn org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)rn at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:863)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:782)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:591)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn .......rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: com.microsoft.sqlserver.jdbc.SQLServerException: 通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。错误:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。rn at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)rn at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)rn at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)rn ........rn ... 46 morernrn 2014.07.24 15:40:19 ERROR ContextLoader(307):? Context initialization failedrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\Students\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilterrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:591)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn 10)rn at.......rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilterrn at org.hibernate.bytecode.cglib.BytecodeProviderImpl.getProxyFactoryFactory(BytecodeProviderImpl.java:33)rn at.........rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:863)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:782)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)rn ... 36 morernCaused by: java.lang.ClassNotFoundException: net.sf.cglib.proxy.CallbackFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 53 morern太长了省略了一大堆rn那个数据库不知道为什么也连不上 端口也对了 什么http://localhost/改127.什么 改本机IP都还不行 防火墙也关了 使用SQL身份验证登陆的, 这两个错误要死了rn求救啊[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
C# 面试题 求大神们解决一下
一串数字“1122331111155”,要输出到DataGridview控件上,但是要逐个数字读取,如果上一个数字与下一个相同,则排成一列,不相同,则另外排成一列。如“1122331111155”,输出的效果是,列一:11,列二:22,列三:33,列四:11111,列五:55。
急急急,求大神们解决啊。。。。。。。。。。。。。
急急急,求大神们解决啊。。。。。。。。。。。。。
正则表达式的相关问题,求大神们解决
<(a|A).*?[\u4e00-\u9fa5]8,19.*?(a|A)>rn这个事我的正则表达式,但是在过程中出现了个问题,就是如果[\u4e00-\u9fa5] 也就是汉子不够8个的时候,他会找出8~19个自己,求大神帮忙看看rn之后把表达式改成"<(a|A).*?(?!(<(a|A))).*?[\u4e00-\u9fa5]8,19.*?(a|A)>",但还是没什么作用,是不是我哪里写错了;rn最后一个问题:如果我不想用它进行查找,把思路变成删除它以外的内容的话,需要怎么操作,是个菜鸟,跪求大神援助
ubuntu下php调用执行shell脚本
ubuntu php调用执行shell
shell脚本程序大神求解答!!
shell脚本程序什么时候要用空格隔开什么时候不用空格隔开,,什么时候要用$符号。
tomcat链接oracle数据库报错 求大神解决
java.sql.SQLException: not support oracle driver 1.0rn at com.alibaba.druid.pool.DruidDataSource.initCheck(DruidDataSource.java:568)rn at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:390)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor.getAdvice(AbstractBeanFactoryPointcutAdvisor.java:80)rn at org.springframework.aop.aspectj.AspectJProxyUtils.isAspectJAdvice(AspectJProxyUtils.java:67)rn at org.springframework.aop.aspectj.AspectJProxyUtils.makeAdvisorChainAspectJCapableIfNecessary(AspectJProxyUtils.java:49)rn at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.extendAdvisors(AspectJAwareAdvisorAutoProxyCreator.java:101)rn at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:88)rn at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:68)rn at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359)rn at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1426)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rnrn
ssm框架报错。求大神解决
Struts Problem Reportrnrn Struts has detected an unhandled exception: rnrnrnMessages:A ResourcePool could not acquire a resource from its primary factory or source.rnConnections could not be acquired from the underlying database!rnCould not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!rnrnFile:com/mchange/v2/resourcepool/BasicResourcePool.javarnLine number:1,319rnrnrnStacktracesrnrnorg.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database! rn org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:241)rn org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)rn org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:417)rn org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:255)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn com.sun.proxy.$Proxy10.add(Unknown Source)rn com.njwangbo.action.UserAction.regist(UserAction.java:17)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn java.lang.reflect.Method.invoke(Method.java:606)rn ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:870)rn ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1293)rn ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)rn com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)rn com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)rn ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1369)rn ognl.ASTMethod.getValueBody(ASTMethod.java:90)rn ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)rn ognl.SimpleNode.getValue(SimpleNode.java:258)rn ognl.Ognl.getValue(Ognl.java:494)rn ognl.Ognl.getValue(Ognl.java:458)rn com.opensymphony.xwork2.ognl.OgnlUtil$2.execute(OgnlUtil.java:309)rn com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:340)rn com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:307)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:423)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:287)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:250)rn org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:125)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:564)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)rn org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)rn org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn java.lang.Thread.run(Thread.java:744)rn rnrn
ssh整合WebService报错,求大神解决
java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.isCglibProxyClass(Ljava/lang/Class;)Zrn at org.apache.cxf.common.util.SpringAopClassHelper.getRealClassInternal(SpringAopClassHelper.java:85)rn at org.apache.cxf.common.util.ClassHelper.getRealClass(ClassHelper.java:55)rn at org.apache.cxf.jaxws.EndpointImpl.getImplementorClass(EndpointImpl.java:215)rn at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:397)rn at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)rn at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)rn at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:537)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1706)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1645)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)rn at org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160)rn at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)rn at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71)rn at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)
ASP连接ACCESS报错,求大神解决
代码应该是没有错的,我是在网上下载的别人的 但是在我的电脑上打开就出现这个[img=https://img-bbs.csdn.net/upload/201605/26/1464262645_829459.png][/img]
使用C标签报错,求大神解决
使用C标签提示如下错误:rnorg.apache.jasper.JasperException: Validation error messages from TagLibraryValidator for c in /jsp/dcgl/fwgl/fwgl_page.jsp null: org.xml.sax.SAXParseException: duplicate attribute (found "align")rnrnrnrnrn
java log4j报错,急 求大神解决
rnrnrnrn```rn rn```rnrnlog4j:ERROR Could not parse url [file:/E:/大白科技/oms_empty/target/web-manage/WEB-INF/classes/log4j.xml].rncom.sun.org.apache.xerces.internal.util.URI$MalformedURIException: Path contains invalid character: 大rn at com.sun.org.apache.xerces.internal.util.URI.initializePath(URI.java:1109)rn rn http://jakarta.apache.org/log4j/这个是红色的,是这个原因吗rn
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池