Kettle 连接数据库错误报错如图,如何解决,求大神。

图片说明
点击打开转换出现的问题。
org.pentaho.di.core.exception.KettleDatabaseException:
Unable to populate tree with repository objects

Unable to get list of repository objects

MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS]
Unparseable date: "2016-07-28 15:31:56"

at org.pentaho.di.ui.repository.RepositoryDirectoryUI.getTreeWithNames(RepositoryDirectoryUI.java:193)
at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.refreshTree(SelectObjectDialog.java:433)
at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.setSort(SelectObjectDialog.java:420)
at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.getData(SelectObjectDialog.java:453)
at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.open(SelectObjectDialog.java:344)
at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3731)
at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3682)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:38)
at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:85)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7051)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8311)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

Caused by: org.pentaho.di.core.exception.KettleException:
Unable to get list of repository objects

MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS]
Unparseable date: "2016-07-28 15:31:56"

at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getRepositoryObjects(KettleDatabaseRepositoryConnectionDelegate.java:1469)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getRepositoryObjects(KettleDatabaseRepository.java:717)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getTransformationObjects(KettleDatabaseRepository.java:702)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobAndTransformationObjects(KettleDatabaseRepository.java:1761)
at org.pentaho.di.ui.repository.RepositoryDirectoryUI.getTreeWithNames(RepositoryDirectoryUI.java:115)
... 29 more

Caused by: org.pentaho.di.core.exception.KettleValueException:
MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS]
Unparseable date: "2016-07-28 15:31:56"

at org.pentaho.di.core.row.ValueMeta.convertStringToDate(ValueMeta.java:619)
at org.pentaho.di.core.row.ValueMeta.getDate(ValueMeta.java:1670)
at org.pentaho.di.core.row.RowMeta.getDate(RowMeta.java:245)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getRepositoryObjects(KettleDatabaseRepositoryConnectionDelegate.java:1462)
... 33 more

Caused by: java.text.ParseException: Unparseable date: "2016-07-28 15:31:56"
at java.text.DateFormat.parse(DateFormat.java:337)
at org.pentaho.di.core.row.ValueMeta.convertStringToDate(ValueMeta.java:614)
... 36 more

0

1个回答

0
yenuo4977
yenuo4977 不过谢谢啦
大约 3 年之前 回复
yenuo4977
yenuo4977 我试了试里面的方法,还是不可以诶
大约 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
连接数据库错误,如何解决?
System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.Data.SqlClient.SqlException: 用户 'scut' 登录失败。原因: 未与信任 SQL Server 连接相关联。 at System.Data.SqlClient.SqlConnection.Open() at MyecServices.Dbaccess.get_Conn() in C:\Inetpub\wwwroot\MyecServices\Dbaccess.cs:line 30 at MyecServices.UserServices.CheckLogin(String strUserName, String strPassWord) in c:\inetpub\wwwroot\myecservices\userservices.asmx.cs:line 57 --- 内部异常堆栈跟踪的结尾 --- rnrn===============================rn在别的机子可以调试通过,应该不是代码的问题,是不是SQL SERVER2000的设置问题?rnrn
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
求大神解决,sybase 报错 怎么解决
求大神解决,已经两天了 没有弄出来
语句错误 求大神解决
Select * From (Select RowNum As RN,tmptable.* From (Select * From employee Where 1=1 and (Memo is null or Memo='') Order by NAME) tmptable Where RowNum<11) Where rn>=1;rn有什么问题呢??rn报错误 rnEvery derived table must have its own aliasrn该怎么修改呢?
kettle连接数据库
刚开始出现的是没有驱动 下载了个6.XXX版本的ojdbc 的包放进lib文件夹就可以了 后面配置数据库 出现 IO 错误: Invalid connection string format, a valid format is: "host:port:sid" 去网上查了半天没解决 只能另辟蹊径 用jndi 把所有配置写在 然后 就可以了 特此记录 ...
ORA-00933 错误,求大神解决
select rn '$unitCode' as unit_code,rn a.patient_id ||'|'|| a.visit_id ||'|'|| a.item_no as pk,rn a.patient_id ||'|'|| a.visit_id as fk,rn a.patient_id as patient_id,rn a.visit_id as visit_id,rn a.item_no as item_no,rn a.item_class as item_class,rn a.item_name as item_name,rn a.item_code as item_code,rn a.item_spec as item_spec,rn a.amount as amount,rn a.units as units,rn a.ordered_by as ordered_by,rn a.performed_by as performed_by,rn b.doctor as doctor,rn a.costs as costs,rn a.charges as charges,rn a.billing_date_time as billing_date_timern from (select * from inp_bill_detail where patient_id='01165615' and visit_id='1') a left join rn (select rn t.ordering_dept,rn t.doctor from rn (select row_number() over(partition by o.ordering_dept order by count(*) desc) rk,rn o.ordering_dept,rn o.doctor,rn count(*) as order_rowsrn from orders o where o.patient_id = '01165615' and o.visit_id = '1' group by o.ordering_dept,o.doctor) t where t.rk = 1) brn on a.ordered_by=b.ordering_dept;rnrnrn小弟工作写了段这样的SQL,但是报错00933,我研究了半天,真心发现不了错误,求大神帮忙
toad连接数据库错误,求大神相助
这是错误信息rnDB2 Database Error: ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "119.224.88.11". Communication function detecting the error: "recv". Protocol specific error code(s): "*", "*", "0". SQLSTATE=08001 (Remembered answer: "OK". Enable)rncatalog,端口什么的设置都正确,连接其他网址的数据库正常
连接数据库java.lang.nullPointerException的错误如何解决?
小弟是初学者,在连接数库超老是报错rn系统环境:rn win2000rn JBuilder9rn SQL Server2000rnrnrnrn代码:rnrnpackage card;rnrnimport java.awt.*;rnimport java.awt.event.*;rnrnimport javax.swing.*;rnrnimport javax.swing.event.*;rnimport java.sql.*;rnrnpublic class loginFrame extends JFrame rn JPanel contentPane;rnrnrn private String CardID;rn private String loginQuery;rn private String passwordtemp;rn private PreparedStatement loginStmt;rn private Connection con;rn private ResultSet rs;rn rn ........rnrn JTextField jTextField1 = new JTextField();rn JPasswordField jPasswordField1 = new JPasswordField();rnrn public loginFrame() rn enableEvents(AWTEvent.WINDOW_EVENT_MASK);rn try rn jbInit();rn rn catch(Exception e) rn e.printStackTrace();rn rn rn rn private void jbInit() throws Exception rn contentPane = (JPanel) this.getContentPane();rn contentPane.setLayout(null);rn .......rnrn jTextField1.setText("");rn jTextField1.setBounds(new Rectangle(177, 102, 105, 22));rn jPasswordField1.setBounds(new Rectangle(178, 142, 107, 22));rnrn contentPane.add(jPasswordField1, null);rn contentPane.add(jTextField1, null);rnrnrnrnrnrnrn // join sql server2000rn Connection con=cardConnect.getconn();rn //建立对象,直接调用cardConnect的方法rn loginQuery="Select * from [dbo].card where CardID=? and UserID=?";rnrn PreparedStatement loginStmt = con.prepareStatement(loginQuery);rn rn //Overridden so we can exit when window is closedrn protected void processWindowEvent(WindowEvent e) rn super.processWindowEvent(e);rn if (e.getID() == WindowEvent.WINDOW_CLOSING) rn System.exit(0);rn rn rnrn void jButton1_actionPerformed(ActionEvent e) rnrn tryrn CardID = jTextField1.getText(); //提取Card值rn tryrn loginStmt.setString(1,CardID); rn catch(Exception ex)rn rn System.out.println(CardID+" "+ex);rn rnrnrn finallyrnrn cardConnect.close(rs);rn cardConnect.close(loginStmt);rn cardConnect.close(con);rn rnrnrn rnrnrnrnrnrnrnrnrnrnrnpackage card;rnimport java.sql.*;rnrnrnpublic class cardConnect rn public cardConnect() rn tryrnrn Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");rnrn rn catch(ClassNotFoundException ee)rn rn rnrnrnpublic static Connection getconn() throws SQLExceptionrnrn String url="jdbc:microsoft:sqlserver://192.168.1.4:1433;DatabaseName=java_test";rn String username="sa";rn String password="";rnrn return DriverManager.getConnection(url,username,password);rnrn rnpublic static void close(ResultSet rs)rn tryrn rs.close();rn rn catch(Exception ex)rn rnrnrnpublic static void close(Statement stmt)rn tryrn stmt.close();rn rn catch(Exception ex)rn rnrnrnrnpublic static void close(Connection conn)rn tryrn conn.close();rn rn catch(Exception ex)rn rnrnrnprivate static cardConnect dbconn=new cardConnect();rnrnrnrnrnrnrnrnrn当触发这个事件的时侯:jButton1_actionPerformed(ActionEvent e) rn报java.lang.nullPointerException的错误rnrn这种错误怎么解决 谢谢!rnrn
android studio发生如图错误,如何解决?
[img=https://img-bbs.csdn.net/upload/201804/18/1524027492_262526.jpg][/img]rn
执行eclipse.exe报错如图,请大神分析下
[img=https://img-bbs.csdn.net/upload/201803/19/1521447550_627278.png][/img]
DBExportDoc-For-MySQL连接数据库报错的解决
没有驱动要配置驱动mysql-connector-odbc-5.1.7-winx64,不然连接的时候会报错,试了5.3和5.5的版本的都不可以,5.1的成功了。。。
求大神 JDK8 Map Bookmap = new LinkedHashMap();一直报错 如图
[img=https://img-bbs.csdn.net/upload/201605/26/1464237029_24086.png][/img] 如图 求大神告诉要怎么改Map集合.
遨游崩溃,求解决如图
打开浏览器出现如图所示rnrn[img=http://img.album.pchome.net/54/69/81/15/1d555f31701cafc983a233270860b5cc.jpg][/img]rnrn用360怎么都恢复不了,求高手指点
Oracle11g创建数据库报错,请高手解决ORA-00119,ORA-00132错误,如图
[img=https://img-bbs.csdn.net/upload/201411/01/1414824212_232622.png][/img]rnrn我也用过的网上的方法还是不行,rnrn1、我发现我的数据库里面没有initSID.ora文件
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]
SSI整合报错,求大神解决
2013-09-16 11:36:25,609 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ECAS_SSI001].log] - Initializing Spring root WebApplicationContextrn2013-09-16 11:36:25,625 INFO [org.springframework.web.context.ContextLoader.initWebApplicationContext] - Root WebApplicationContext: initialization startedrn2013-09-16 11:36:25,703 INFO [org.springframework.web.context.support.XmlWebApplicationContext.prepareRefresh] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@a56214: display name [Root WebApplicationContext]; startup date [Mon Sep 16 11:36:25 CST 2013]; root of context hierarchyrn2013-09-16 11:36:25,859 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions] - Loading XML bean definitions from class path resource [spring.xml]rn2013-09-16 11:36:25,937 INFO [org.springframework.web.context.support.XmlWebApplicationContext.obtainFreshBeanFactory] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@a56214]: org.springframework.beans.factory.support.DefaultListableBeanFactory@93bca2rn2013-09-16 11:36:26,125 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties] - Loading properties file from class path resource [db.properties]rn2013-09-16 11:36:26,171 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@93bca2: defining beans [configBean,dataSource,sqlMapClient,transactionManager,baseTransactionProxy,tellerDAO,tellerService,tellerAction]; root of factory hierarchyrn2013-09-16 11:36:26,765 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@93bca2: defining beans [configBean,dataSource,sqlMapClient,transactionManager,baseTransactionProxy,tellerDAO,tellerService,tellerAction]; root of factory hierarchyrn2013-09-16 11:36:26,765 ERROR [org.springframework.web.context.ContextLoader.initWebApplicationContext] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tellerService' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.isEqualsMethod(Ljava/lang/reflect/Method;)Zrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)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:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.isEqualsMethod(Ljava/lang/reflect/Method;)Zrn at org.springframework.aop.support.AopUtils.isEqualsMethod(AopUtils.java:118)rn at org.springframework.aop.framework.JdkDynamicAopProxy.findDefinedEqualsAndHashCodeMethods(JdkDynamicAopProxy.java:131)rn at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:116)rn at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110)rn at org.springframework.aop.framework.AbstractSingletonProxyFactoryBean.getProxy(AbstractSingletonProxyFactoryBean.java:201)rn at org.springframework.aop.framework.AbstractSingletonProxyFactoryBean.afterPropertiesSet(AbstractSingletonProxyFactoryBean.java:173)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)rn ... 39 morern2013-09-16 11:36:26,781 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ECAS_SSI001].listenerStart] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tellerService' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.isEqualsMethod(Ljava/lang/reflect/Method;)Zrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at
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标签提示如下错误: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
ssh做导出报错!求大神解决!!!!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cronTriggerBean' defined in ServletContext resource [/WEB-INF/config/crontabServiceContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:rnPropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rnCaused by: rnorg.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:rnPropertyAccessException 1:rnorg.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rnCaused by: rnjava.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rn at org.quartz.CronExpression.storeExpressionVals(CronExpression.java:552)rn at org.quartz.CronExpression.buildExpression(CronExpression.java:430)rn at org.quartz.CronExpression.(CronExpression.java:255)rn at org.quartz.CronTrigger.setCronExpression(CronTrigger.java:460)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:821)rn at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)rn at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)rn at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1127)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-7-13 11:18:06 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cronTriggerBean' defined in ServletContext resource [/WEB-INF/config/crontabServiceContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:rnPropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rnCaused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:rnPropertyAccessException 1:rnorg.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rnCaused by: java.text.ParseException: '?' can only be specfied for Day-of-Month or Day-of-Week.rn at org.quartz.CronExpression.storeExpressionVals(CronExpression.java:552)rn at org.quartz.CronExpression.buildExpression(CronExpression.java:430)rn at org.quartz.CronExpression.(CronExpression.java:255)rn at org.quartz.CronTrigger.setCronExpression(CronTrigger.java:460)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:821)rn at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)rn at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)rn at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1127)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
这个报错一直解决不了,求大神解决!!!!!
可能存在类似的问题:n![图片说明](https://img-ask.csdn.net/upload/201707/20/1500542651_757372.png)
plsql登录的时候报错!!求大神解决
登录的时候显示[Window Title]rn(没有登录) - PL/SQL Developerrnrn[Content]rnAccess violation at address 074158C6 in module 'OraOCIICUS11.dll'. Read of address 529A6903rnrn
报错,不会解决了。。。求大神帮忙看一下
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.Runtime.InteropServices;rnusing System.Management;rnusing System.Net.NetworkInformation;rnusing System.Text.RegularExpressions;rnrn rnrnnamespace WebPagesrnrn public partial class Form1 : Formrn rn ConfigFile cf = ConfigFile.Instanse; rn public Form1()rn rn InitializeComponent();rn rnrn private void button1_Click(object sender, EventArgs e)rn rn DialogResult choice;  // 用户的选择rn choice = MessageBox.Show("确定要退出吗?", "退出系统", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);rnrn if (choice == DialogResult.OK)rn rn Application.Exit(); // 退出应用程序rn rn rnrnrn ////ShellExecute函数ShowCmd参数可选值 rnrn /// rn /// 小程序rn /// rnrnrn //开始删除IE缓存、打开计算器、打开记事本rnrn public enum ShowCommands : int rn rn SW_HIDE = 0, rn SW_SHOWNORMAL = 1, rn SW_NORMAL = 1, rn SW_SHOWMINIMIZED = 2, rn SW_SHOWMAXIMIZED = 3, rn SW_MAXIMIZE = 3, rn SW_SHOWNOACTIVATE = 4, rn SW_SHOW = 5, rn SW_MINIMIZE = 6, rn SW_SHOWMINNOACTIVE = 7, rn SW_SHOWNA = 8, rn SW_RESTORE = 9, rn SW_SHOWDEFAULT = 10, rn SW_FORCEMINIMIZE = 11, rn SW_MAX = 11 rn rn rn //调用Win32 API rn [DllImport("shell32.dll")] rn static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, rn string lpParameters, string lpDirectory, ShowCommands nShowCmd); rnrn private void button43_Click(object sender, EventArgs e)rn rn //删除IE临时文件rn ShellExecute(IntPtr.Zero, "open", "rundll32.exe",rn "InetCpl.cpl,ClearMyTracksByProcess 255", "", ShowCommands.SW_SHOWMAXIMIZED);rn rnrn private void button44_Click(object sender, EventArgs e)rn rn //调用calc.exe打开计算器 rn ShellExecute(this.Handle, "open", "calc.exe", null, null, ShowCommands.SW_FORCEMINIMIZE); rn rnrn private void button45_Click(object sender, EventArgs e)rn rn //调用NOTEPAD.EXE打开记事本 rn ShellExecute(this.Handle, "open", "NOTEPAD.EXE", null, null, ShowCommands.SW_SHOWNORMAL); rn rn //结束删除IE缓存、打开计算器、打开记事本rnrn ///rnrn #region 加载配置文件中的信息 rn /// rn /// 加载配置文件中的信息 rn /// rn protected void loadConfig() rn rn cf.fileName = AppDomain.CurrentDomain.BaseDirectory + "\\config.ini"; rn txtIP.Text = cf["ip地址"]; rn txtSubMark.Text = cf["子网掩码"]; rn txtGateWay.Text = cf["默认网关"]; rn txtDNS1.Text = cf["主DNS"]; rn txtDNS2.Text = cf["备用DNS"]; rn rn #endregion rn rn #region 设置ip信息到网卡 rn private void btnSettingNetwork_Click(object sender, EventArgs e) rn rn rn try rn rn if (!IsIpaddress(txtIP.Text.Trim())) rn rn MessageBox.Show("ip格式不正确!"); return; rn rn if (!IsIpaddress(txtSubMark.Text.Trim())) rn rn MessageBox.Show("子网掩码格式不正确!"); return; rn rn if (!IsIpaddress(txtGateWay.Text.Trim())) rn rn MessageBox.Show("网关格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS1.Text.Trim())) rn rn MessageBox.Show("DNS1格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS2.Text.Trim())) rn rn MessageBox.Show("DNS2格式不正确!"); return; rn rn string[] ip = new string[] txtIP.Text.Trim() ; rn string[] SubMark = new string[] txtSubMark.Text.Trim() ; rn string[] GateWay = new string[] txtGateWay.Text.Trim() ; rn string[] DNS = new string[] txtDNS1.Text.Trim(),txtDNS2.Text.Trim() ; rn SetIpInfo(ip, SubMark, GateWay, DNS); rn cf["ip地址"] = txtIP.Text.Trim(); rn cf["子网掩码"] = txtSubMark.Text.Trim(); rn cf["默认网关"] = txtGateWay.Text.Trim(); rn cf["主DNS"] = txtDNS1.Text.Trim(); rn cf["备用DNS"] = txtDNS2.Text.Trim(); rn MessageBox.Show("ip信息设置成功!","成功提示",MessageBoxButtons.OK,MessageBoxIcon.Information); rn rn catch(Exception er) rn rn MessageBox.Show("设置出错:"+er.Message,"出错提示",MessageBoxButtons.OK,MessageBoxIcon.Error); rn rn rn rn protected void SetIpInfo(string []ip,string []SubMark,string []GateWay,string []DNS) rn rn ManagementBaseObject inPar = null; rn ManagementBaseObject outPar = null; rn ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); rn ManagementObjectCollection moc = mc.GetInstances(); rn foreach (ManagementObject mo in moc) rn rn if (!(bool)mo["IPEnabled"]) continue; rn inPar = mo.GetMethodParameters("EnableStatic"); rn inPar["IPAddress"] = ip;//ip地址 rn inPar["SubnetMask"] =SubMark; //子网掩码 rn mo.InvokeMethod("EnableStatic", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetGateways"); rn inPar["DefaultIPGateway"] = GateWay; //设置网关地址 1.网关;2.备用网关 rn outPar = mo.InvokeMethod("SetGateways", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetDNSServerSearchOrder"); rn inPar["DNSServerSearchOrder"] = DNS; //设置DNS 1.DNS 2.备用DNS rn mo.InvokeMethod("SetDNSServerSearchOrder", inPar, null);// 执行 rn break; //只设置一张网卡,不能多张。 rn rn rn rn #endregion rn rn #region 从网卡获取ip设置信息 rn /// rn /// 从网卡获取ip设置信息 rn /// rn /// rn /// rn private void btnGetFromNetwork_Click(object sender, EventArgs e) rn rn NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); rn foreach (NetworkInterface adapter in nics) rn rn bool Pd1 = (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet); //判断是否是以太网连接 rn if (Pd1) rn rn IPInterfaceProperties ip = adapter.GetIPProperties(); //IP配置信息 rn if (ip.UnicastAddresses.Count > 0) rn rn txtIP.Text = ip.UnicastAddresses[0].Address.ToString();//IP地址 rn txtSubMark.Text = ip.UnicastAddresses[0].IPv4Mask.ToString();//子网掩码 rn rn rn if (ip.GatewayAddresses.Count > 0) rn rn txtGateWay.Text = ip.GatewayAddresses[0].Address.ToString();//默认网关 rn rn int DnsCount = ip.DnsAddresses.Count; rn Console.WriteLine("DNS服务器地址:"); rn if (DnsCount > 0) rn rn try rn rn txtDNS1.Text = ip.DnsAddresses[0].ToString(); //主DNS rn txtDNS2.Text = ip.DnsAddresses[1].ToString(); //备用DNS地址 rn rn catch(Exception er) rn rn throw er; rn rn rn rn rn rn #endregion rn rn #region 判断是否是正确的ip地址 rn /// rn /// 判断是否是正确的ip地址 rn /// rn /// rn /// rn protected bool IsIpaddress(string ipaddress) rn rn string[] nums = ipaddress.Split('.'); rn if (nums.Length != 4) return false; rn foreach (string num in nums) rn rn if ( Convert.ToInt32(num) < 0 || Convert.ToInt32(num) > 255) return false; rn rn return true; rn rn #endregion rn rn #region Form1_Load rn private void Form1_Load(object sender, EventArgs e) rn rn loadConfig(); rn rn #endregion rn rnrn rn rnrnrn报错:rn未能找到类型或命名空间名称“ManagementBaseObject”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementClass”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementObjectCollection”(是否缺少 using 指令或程序集引用?)rnrnrn
UCLINUX操作系统移植报错,求大神解决?
输出:rnBooting Linux...rnDEBUG: psr.impl = 0xf fsr.vers = 0x7rnrnBuilt 1 zonelists. Total pages: 3147rnrnKernel command line: console=ttyS0,38400 rdinit=/sbin/init rnrnPID hash table entries: 64 (order: 6, 256 bytes)rnrnTodo: init master_l10_counterrnrnDentry cache hash table entries: 2048 (order: 1, 8192 bytes)rnrnInode-cache hash table entries: 1024 (order: 0, 4096 bytes)rnrnpkbase: 0xfc800000 pkend: 0xfcc00000 fixstart 0xfcff1000rnMemory: 12064k/16384k available (960k kernel code, 4320k reserved, 112k data, 2472k init, 0k highmem)rnrnMount-cache hash table entries: 512rnrnKernel panic - not syncing: junk in compressed archivernrnPress Stop-A (L1-A) to return to the boot promrn
JSP页面报错,求大神解决啊
一跳转到那个JSP,就会报错,firefox报错如下:rnSyntaxError:rnrn我仔细检查了jsp代码,发现没漏也没多什么东西。不知道是哪里原因!!rn具体jsp代码如下:rn<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>rn<%rn String path = request.getContextPath();rn String basePath = request.getScheme() + "://"rn + request.getServerName() + ":" + request.getServerPort()rn + path + "/";rn%>rn<%@taglib prefix="s" uri="/struts-tags"%>rnrnrn rn rn 员工资料rn rn rn rn rn rn rn <%@include file="/resource/jscss.jsp"%>rn rn rn rn rn rn rn rn rn rnrnrn各位大神帮帮忙了,急!在线等,谢谢了!rn
动态二维数组赋值报错,求大神解决
int main(int argc)rn int** newmatrix = NULL;rn newmatrix = new int* [img_row]; //new出m个空间,里面存的都是地址rnrn for(int i = 0; i < img_row; i++) //做循环分配出m×n个空间rn newmatrix[i] = new int[img_col];rn rn cout<<"i'm done"; rnrn for (int j = 0; j < 1; j++)rn rn string bmp = ".bmp";rn stringstream str;rn str << j << bmp; rnrn char* t = NULL;rn t = new char[str.str().size() + 1]; //用NEW 的使用完了rn strcpy(t,str.str().c_str()); //拷贝rn cout << "=======================" << t ;rnrn int** fimg = readImg(t);rn int* p = getCol(fimg, img_row, img_col, 1);rn rn for (int i = 0; i < img_row; i++) //取出矩阵的第一列赋值给*prn rn cout<< p[i] <<"\t" ;rn rn [b] newmatrix[i][j] = p[i] ;//这儿出错了,报的是无法给newmatrix赋值[/b]rn cout << newmatrix[i][j];rn rnrn delete[] t; rnrn rnrn我进行调试后发现这句话报错,但是不知道怎么解决。。rn[b] newmatrix[i][j] = p[i] ;//这儿出错了,报的是无法给newmatrix赋值[/b]rnrn0xC0000005: 写入位置 0xfdfdfdfd 时发生访问冲突rn程序“[5412] opencv1.exe: 本机”已退出,返回值为 -1073741819 (0xc0000005)。
oracle 登录时报错,求大神解决~~
ERROR:rnORA-00604:error occurred at recursive SQL level 1rnORA-02248: invalid opetion for ALTER SESSIONrn之前改过数据库日期的显示格式 在用会话改过,后来就登录不了
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 <
SSAS部署失败,问题如图,怎么解决,求大神赐教
本人小白,刚开始学习,用的AdventureWorks2008示例数据库,遇到问题如下,求大神解惑rn[img=https://img-bbs.csdn.net/upload/201507/07/1436258534_739048.png][/img]
Java 连接数据库错误 求指导解决
[img=https://img-bbs.csdn.net/upload/201406/20/1403265132_596163.jpg][/img]
错误如图
[img=http://hi.csdn.net/attachment/201201/4/2638738_1325651173h3v4.jpg][/img]rn我什么都没改,今天一打开电脑就这样,用以前没改过的版本打开也报这个错!奇怪啦,是不是更新了什么补丁?rn麻烦各位大侠帮解释下这个错的原因!谢谢
连接数据库时报错,该如何解决?
我用JDBC驱动连接MSSQL数据库,需要的信息我都在WEB-INF下的web.xml中设置好了。rn我在启动Tomcat是报了下面的错rnjava.sql.SQLException: Connection refused: connectrn我在web.xml是这样设置的rnrnrnrnDataAdminrnrnDataHostrnlocalhostrndatahostrnrnrnDataPortrn1433rndataportrnrnrnDatarndatarndatarnrnrnUserrnuserrnuserrnrnrnPasswordrnpasswordrnpasswordrn启动Tomcat之后就报了上面的错误。rnrn
如图,debug检测的,求大神解释
[img=http://img.my.csdn.net/uploads/201212/04/1354631339_7188.png][/img]
机试题,如图,求大神解答,谢谢
![图片说明](https://img-ask.csdn.net/upload/201702/14/1487060460_919811.png)
新手 遇到问题 求大神解答 如图
[img=https://img-bbs.csdn.net/upload/201605/26/1464237535_428902.png][/img] JDK8要怎么用Map集合呢
如图,如何写sql啊,求大神帮助?
[img=https://img-bbs.csdn.net/upload/201708/25/1503651693_261940.png][/img]