求教!!!之前是好的,今天启动突然报错了 [问题点数:20分,结帖人weixin_44610199]

Bbs1
本版专家分:0
结帖率 100%
Bbs2
本版专家分:116
Bbs1
本版专家分:0
数据库突然错了???
在向数据库里插入内容时包了如下错误:Duplicate entry '255' for key 1rnrn以前一只是好的。<em>求教</em>高手???rnrn
启动oracle是报错了
我在<em>启动</em>oracle报了下面的错误rnrnjava.lang.NullPointerExceptionrn at oracle.ewt.lwAWT.BufferedApplet.(Unknown Source)rn at oracle.net.ca.NetCA.(Unknown Source)rn at oracle.net.ca.NetCA.main(Unknown Source)rnOracle Net Services configuration failed. The exit code is -1rnrn各位大虾该怎么解决阿
连接串跟查询串之前都可以的,怎么突然错了呢。。。
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Threading.Tasks;rnusing System.Windows.Forms;rnusing System.Data.OleDb;rnusing System.Drawing.Printing;rnrn private void button1_Click(object sender, EventArgs e)rn rn OpenFileDialog ofd= new OpenFileDialog();rn ofd.Title = "选择数据库";rn ofd.Filter = "数据库文件(*.mdb) | *.mdb";rn ofd.ShowDialog();rn this.Text= ofd.FileName;rn label2.Left = label1.Width+button1.Width;rn OleDbConnection kq_conn = new OleDbConnection("provider = Microsoft.Jet.Oledb.4.0; Data Source = "+label1.Text);rn kq_conn.Open();rn OleDbCommand kq_cmd = new OleDbCommand();rn kq_cmd.CommandText = "SELECT * FROM userinfo";rn kq_cmd.Connection = kq_conn;rn kq_cmd.ExecuteNonQuery();rn rn OleDbDataAdapter kq_adapter = new OleDbDataAdapter(kq_cmd);rn DataSet ds = new DataSet();rn kq_adapter.Fill(ds,"userinfo");rn dataGridView1.DataSource = ds;rn dataGridView1.DataMember = "userinfo";rn kq_conn.Close();rn rn“System.Data.OleDb.OleDbException”类型的未经处理的异常在 System.Data.dll 中发生 rn哪位高手知道哪里<em>错了</em>。。。rn
错了错了
for(int i=0;i;rn da=s.parse(a2); //报错rn rn rnrn使用Calendar这个类里面的方法
启动tomcat4.1报错了-哪儿错了
dos窗口的信息(部分):rnrn2004-9-17 17:51:45 org.apache.commons.digester.Digester fatalErrorrn严重: Parse Fatal Error at line 13 column 2: The markup in the document followinrng the root element must be well-formed.rnorg.xml.sax.SAXParseException: The markup in the document following the root elernment must be well-formed.
为什么以前编译好的东西,今天突然就报错了?***在线等待*******
我以前用Servlet写了一个调用数据库的程序。数据库用的是SQL server 2000rn连接数据库用的是微软JDBCrnrn以前编译成功,<em>今天</em><em>突然</em>就出问题了rn报错如下:rnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: JVM_recv in socket input stream readrnrn at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rnrn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rnrn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rnrn请问高手指教 谢谢
刚才还好好的,突然就报错了
rn错误 13 验证 (XHTML 1.0 Transitional): 属性“language”不是元素“input”的有效属性。 rn所有带 类似 language="javascript" 的标记的地方都报这个错误。应该怎么办呀?
我的机器今天错了,无法启动?????
我的机器<em>今天</em>报了这样一个错误rnA disk read error occurred press Ctrl+Alt+Del to restartrn请问大家如何解决,这个提示与软区没有关系,我把软区禁用了还是提示这样的错误,硬盘故障请大家帮忙分析一下??????
求教 是哪里错了
刚接触VB,在做这个登陆页面时 获取ID和PWD文本框的值 代码如下。怎么不正确。报错 实时错误‘91’ 对象变量或With块变量未设置rn Private Sub But_login_Click()rn If Text_Id.Text = "" Or Text_Pwd.Text = "" Thenrn MsgBox "账号或密码不能为空", "提示"rn Elsern Adodc1.Recordset.Find ("AdminID='" & Trim(Text_Id.Text) & "'")rn If Adodc1.Recordset.EOF Thenrn MsgBox "没有找到相关信息 请重新输入", , "提示"rn ElseIf Adodc1.Recordset.Fields("PassWord") = Trim(Text_Pwd.Text) Thenrn MsgBox "欢迎使用图画书借阅系统", , "提示"rn rn Elsern MsgBox "密码错误,请重试", , "提示"rn Text_Pwd.Text = ""rn End Ifrn End Ifrn rnEnd Sub
项目启动错误,之前是好的
最近发现以前的项目<em>启动</em>不了,<em>之前</em>是可以<em>启动</em>的.rn[code=XML]rn2012-5-7 19:07:24 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_16\bin;D:\Tomcat 6.0\binrn2012-5-7 19:07:24 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-5-7 19:07:24 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 688 msrn2012-5-7 19:07:24 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-5-7 19:07:24 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.20rn2012-5-7 19:07:24 org.apache.tomcat.util.digester.Digester fatalErrorrn严重: Parse Fatal Error at line 1 column 1: Premature end of file.rnorg.xml.sax.SAXParseException: Premature end of file.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1628)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:941)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)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:583)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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-5-7 19:07:24 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory oatestrnorg.xml.sax.SAXParseException: Premature end of file.rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1628)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:941)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)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:583)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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-5-7 19:07:24 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-5-7 19:07:24 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-5-7 19:07:24 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/51 config=nullrn2012-5-7 19:07:24 org.apache.catalina.startup.Catalina startrn信息: Server startup in 238 msrnrn[/code]rn这个项目以前是可以<em>启动</em>的,现在不行,不知道是什么问题,大家帮我看一下
求助,俺是菜鸟,启动的时候报错了
2013-11-14 11:01:33 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.6.0_10\bin;D:\apache-tomcat-6.0.36\binrn2013-11-14 11:01:33 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-11-14 11:01:33 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 422 msrn2013-11-14 11:01:33 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-11-14 11:01:33 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.36rn2013-11-14 11:01:33 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2013-11-14 11:01:34 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2013-11-14 11:01:34 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2013-11-14 11:01:34 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2013-11-14 11:01:34 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2013-11-14 11:01:34 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2013-11-14 11:01:34 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ldyrnlog4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).rnlog4j:WARN Please initialize the log4j system properly.rn2013-11-14 11:01:34 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter strutsrnUnable to load configuration. - bean - jar:file:/D:/apache-tomcat-6.0.36/webapps/ldy/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:47:178rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: Unable to load configuration. - bean - jar:file:/D:/apache-tomcat-6.0.36/webapps/ldy/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:47:178rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 29 morernCaused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/D:/apache-tomcat-6.0.36/webapps/ldy/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:47:178rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/servlet/ServletFileUploadrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getDeclaredConstructors(Class.java:1836)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:211)rn ... 34 morernCaused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.servlet.ServletFileUploadrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 38 morern2013-11-14 11:01:34 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-11-14 11:01:34 org.apache.catalina.core.StandardContext startrn严重: Context [/ldy] startup failed due to previous errorsrn2013-11-14 11:01:35 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2013-11-14 11:01:35 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-11-14 11:01:35 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-11-14 11:01:35 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/18 config=nullrn2013-11-14 11:01:35 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1363 msrn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img][/code]
Tomcat启动一闪而过(控制台报错了)
tomcat<em>启动</em>时如果执行startup.bat一闪而过,则可以在cmd 命令行窗体中: [b]catalina debug run[/b] tomcat是web容器,不是JBoss那样的javaee服务器,你发布的时候有些jar是发布不到tomcat中的,要手动拷贝到tomcat中。 还有就是你项目中的jar有可能和tomcat中的重复 ...
eclips启动不了tomcat。。报错了 求救
java.net.BindException: Address already in use: JVM_Bindrn at java.net.DualStackPlainSocketImpl.bind0(Native Method)rn at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:96)rn at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175)rn at java.net.ServerSocket.bind(ServerSocket.java:376)rn at java.net.ServerSocket.(ServerSocket.java:237)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:779)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:725)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:601)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)rn
winxp 启动的时候报错了,怎么会这样?
<em>今天</em>早上开机的时候,winxp<em>突然</em>说<em>启动</em>错误,好像是缺少了system32厘的一个n*.*的文件,他要我修复。不过我重新<em>启动</em>以后就没事了。rnrn这是怎么回事?rnrn我装了98和xp两个系统。
急~!怎样启动Web服务器(之前是好的)
各位大大,在下的机子昨天还是好好的,<em>今天</em>上了会网,然后我进VS.NET2003时打开sln文件打不开,说"未<em>启动</em>Web服务器,请尝试<em>启动</em>Web服务器".运行iisreset后也不行.怎么回事啊?难道要俺重装IIS么?拜谢~~
错了
rn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)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:222)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:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)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:3830)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)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(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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)rn at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)rn at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)rn at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)rn at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)rn at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)rn at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)rn at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)rn at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)rn at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 39 morern2012-10-9 10:20:10 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-10-9 10:20:10 org.apache.catalina.core.StandardContext startrn严重: Context [/HSQ] startup failed due to previous errorsrn2012-10-9 10:20:10 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).rnlog4j:WARN Please initialize the log4j system properly.rn2012-10-9 10:20:31 org.apache.catalina.loader.WebappClassLoader loadClassrn信息: Illegal access: this web application instance has been stopped already. Could not load java.net.BindException. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at com.mysql.jdbc.CommunicationsException.(CommunicationsException.java:155)rn at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2723)rn at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1401)rn at com.mysql.jdbc.Connection.realClose(Connection.java:4882)rn at com.mysql.jdbc.Connection.cleanup(Connection.java:2062)rn at com.mysql.jdbc.Connection.finalize(Connection.java:3369)rn at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)rn at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)rn at java.lang.ref.Finalizer.access$100(Finalizer.java:14)rn at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)rn2012-10-9 10:20:36 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rn2012-10-9 10:20:40 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8888rn2012-10-9 10:20:40 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-10-9 10:20:40 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/111 config=nullrn2012-10-9 10:20:40 org.apache.catalina.startup.Catalina startrn信息: Server startup in 91799 msrn
错了!!!
rn foreach (DataRow dr in ((DataTable)Session["Cart"]).Rows)rn rn Order_detail or_de = new Order_detail();rn or_de.Order_id = T_orderManage.SelectId();rn or_de.Cnt = Convert.ToInt32(dr["number"]);rn or_de.Order_book = Convert.ToInt32(dr["bookId"]);rn or_de.Total = Convert.ToDouble(Request.Params["money"]);rn Order_detailManage.AddOrder_detail(or_de);rnrn rn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrnrn行 43: //rn行 44: rn行 45: foreach (DataRow dr in ((DataTable)Session["Cart"]).Rows)rn行 46: rn行 47: Order_detail or_de = new Order_detail();rn rnrn源文件: e:\S2项目\MyDictionaryShopp\Default2.aspx.cs 行: 45
springboot+jpa 单元测试的时候启动就报错了
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJp...
错了.
装完了DirectX SDK,竟然有约500M的Samples,呵呵.rnrn没用过DirectX,完了以后,我想用VC来做一个HELLO WORLD看看.于是将DirectX下include 文件和lib文件 都设到了VC的路径中去.rn先问一下,还应该有些什么设置吗?rnrn在VC程序中引入了几个DirectX的头文件,库文件. 然后什么也没做就报<em>错了</em>:rnE:\DIRETX9SDK\LIB\X64\d3d9.lib : fatal error LNK1113: invalid machine typern这是什么意思呢,错误的机器类型? 不会是硬件不支持吧?
各位看看哪里出错了启动tomcat时候报错了
各位看看哪里出<em>错了</em>,<em>启动</em>tomcat时候报<em>错了</em>!错误日志里的信息如下:2012-4-5 15:05:03 org.apache.catalina.startup.ContextConfig applicationWebConfigrn严重: Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xmlrnjava.lang.NullPointerExceptionrn at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)rn at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)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:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)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(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)rnCaused by: java.lang.NullPointerExceptionrn at org.apache.xerces.readers.MIME2Java.convert(MIME2Java.java:784)rn at org.apache.xerces.readers.UTF8Recognizer.recognize(UTF8Recognizer.java:123)rn at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:160)rn at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:491)rn at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)rn at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1080)rn ... 28 more
之前都好好地,今天突然编译的dll 在别的电脑上Loadlibrary报14001
我编译出来的 在自己的电脑上loadlibrary没问题,别的电脑就会失败rn14001是GetLastError()的结果
hadoop-2.2.0namenode今天突然无法启动
这是namenode的错误日志:rn[img=https://img-bbs.csdn.net/upload/201506/19/1434719932_148193.png][/img]
今天突然发现!...........................
String str="a . b . c";rn String[] list=str.split(".");rn list为什么为空呢?rn
赶在今天过去之前
现在是凌晨零点12分,准备搭建毕设环境。 首先安装jdk   在1.4和1.8之间果断选了后者这里都是32位的,希望不要让我失望。 安装路径  C:\Program Files\Java\jdk1.8.0_60\   零点30分  注册完CSDN博客,扯完蛋开始配置环境变量 Path               C:\Program Files\Java\jdk1.8.0_60\lib;
网站一直正常打开,今天突然就报错了,大家帮我看看
一下是首页打开的报错信息:rnrn“/”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn运行时错误 rn说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。 rnrn详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 标记。然后应将此 标记的“mode”属性设置为“Off”。rnrnrnrnrnrn rn rn rnrn rnrn注释: 通过修改应用程序的 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。rnrn
git fetch时报错,之前使用没有问题,今天就报错了
error: insufficient permission for adding an object to repository database .git/objects
xampp突然错了
输入localhost,过一会提示rn错误rn您所请求的网址(URL)无法获取rnrn在FF chrome中提示这样错误rn但在IE中一切正常了,奇怪了,关机时一切都是好好的,开机就成这样了rn各端口都打开了,配置文件应该没有问题,不然IE也不应正确打开rn不知原因可能在哪些方面rn没用代理上网,装的是360rn虽然我扫过两遍毒了,但还是怀疑是病毒造成的rn如何能更改过来呢,最后再考虑重装
mysql数据库突然错了
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in D:\wamp\www\login.php on line 15nn最近不知道配置php.ini改了哪些地方,<em>之前</em>能连数据库的代码和程序<em>突然</em>都不能用来,不想重新装环境,有什么解决办法吗?
MyEclipse突然就不能文件名报错了,请问怎么解决?
昨天下午,因为要开新的项目,于是创建了一个新的项目名(例如abc)。因为很久都没这样做过了,我都忘记了应该选“Web Project”还是选“Web Service Project”。于是就先试着用“Web ServiceProject”。结果后来发现不是以前的步骤,于是又退回重新做。rn问题一:“Web Project”和“Web Service Project”有什么不同呢?rnrn然后就用“Web Project”建了一个新项目:abc。但其实,我还是不肯定是不是以前的那种“项目”。rn然后把其他项目中,我自己写的,通用的.java文件复制到abc项目里面,相应的“包(Package)”里面。rn然后<em>突然</em>发现,那些刚复制过去的java文件,应该报错的,居然都没有报错(就是在文件名左边打红X)!rn但点击打开文件之后,在文件里面就会有红线报错!rn搞了好一会儿,才发现,连<em>之前</em>那些项目,除了昨天下午<em>之前</em>,就已经提示报错的文件之后,昨天下午新出现的错误,都不会在文件名左边出现红X报错。rn[img=https://img-bbs.csdn.net/upload/201905/22/1558514337_740822.jpg][/img]rn问题二:请问我是哪里设置<em>错了</em>?rnrn谢谢!
项目突然乱码然后功能也报错了
[img=https://img-bbs.csdn.net/upload/201802/28/1519823000_366837.jpg][/img][img=https://img-bbs.csdn.net/upload/201802/28/1519823009_728749.jpg][/img][img=https://img-bbs.csdn.net/upload/201802/28/1519823020_463250.jpg][/img]rn项目上午还没问题,下午不知道是怎么了<em>突然</em>就成这样了。找了网上的也没解决。求帮助
关于struts报错了是咋了
严重: Servlet.service() for servlet action threw exceptionrnjava.lang.IllegalArgumentException: Path result.jsp does not start with a "/" characterrn at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:368)rn at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:196)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Unknown Source)rn2010-11-24 14:53:52 org.apache.catalina.core.StandardWrapperValve invoke
这个是哪里出错了,一直报?
代码:rnrnrnrnapache tomcat common\lib里有sqljdbc.jarrn报错:rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Exception in JSP: /rvis/test.jsp:5rnrn2: rn3: );rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn org.apache.jsp.rvis.test_jsp._jspService(org.apache.jsp.rvis.test_jsp:111)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrn
错了求教求教
mysql已经<em>启动</em>了。我运行phpMyAdmin时出现这样的错误:rnErrorrnMySQL said: rn#2003 - Can't connect to MySQL server on 'localhost' (10061)rnFatal error: Call to undefined function: pma_showmysqldocu() in E:\php\www\phpMyAdmin\libraries\common.lib.php on line 468rnrn请高手帮帮我。
电脑主机突然启动不了是怎么回事呢?
电脑的主机<em>突然</em><em>启动</em>不了,昨天还好好的,<em>今天</em>按<em>启动</em>键和重启键都没有反应,是怎么回事呢?插座是有电的,键盘的指示灯也不亮,是电源坏了吗?还是主板坏了?如果是电源坏了,是去修理下好还是换一个新电源好?现在一个电源大概得多少钱呢?如果去修理店修得话,是否容易修,大概得多少钱?
昨天晚上还好好的,今天tomcat8.0就报错了
昨天晚上还好好的,<em>今天</em>打开tomcat8.0就报<em>错了</em>,网上找了一圈,没找出个解决办法,试着来CSDN求助大神啊啊啊啊
为什么今天用delete的时候又报错了
为什么<em>今天</em>用delete的时候又报<em>错了</em>?rnrn<em>今天</em>写了这样的代码:[code=c]CString m_strname;rnint len = m_strname.GetLength();rnchar* p = new char [len];rnstrcpy(p, f(m_strname, m_strname.GetLength()));//f是一个将CString转换为字符串的一个函数,返回字符串rndelete [] p;[/code]然后这里delete [] p的时候就报<em>错了</em>,我把new的大小改为:char* p = new char[len + 1];memset(p + len, 0, 1);之后delete就没事了,这是为什么?求指导~rnrndelete的时候,系统指导这个new的空间是多大的吗?是怎么记录这个new空间有多大的呢?
今天新搭了一个SSH框架但是报错了
description The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjava.lang.NullPointerExceptionrn com.jxdb.action.UserAction.execute(UserAction.java:19)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:585)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:440)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:279)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:163)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:93)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:128)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:148)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:128)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:76)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.rn本人刚开始接触java几个月,不知道这个问题怎么解决
今天用mybatis报错了There is no getter for property named 'is_partner' in ‘xx'
[code=Caused by: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'is_partner' in 'class com.xfj.base.bossapp.domain.SellerAgent'rn at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:365)rn at com.sun.proxy.$Proxy42.update(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:251)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:82)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)rn at com.sun.proxy.$Proxy98.updateByPrimaryKeySelective(Unknown Source)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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)rn at com.xfj.base.common.service.LogAopService.doBasicProfiling(LogAopService.java:52)rn at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)rn at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)rn at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn at com.sun.proxy.$Proxy99.updateByPrimaryKeySelective(Unknown Source)rn at com.xfj.base.bossapp.service.impl.CompanyAddressBookServiceImpl.changeDeptAgent(CompanyAddressBookServiceImpl.java:745)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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)rn at com.xfj.base.common.service.LogAopService.doBasicProfiling(LogAopService.java:52)rn at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)rn at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)rn at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn at com.sun.proxy.$Proxy120.changeDeptAgent(Unknown Source)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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)rn at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)rn ... 110 more][/code]rnrnrn自己查一下有人说在xml里面参数要写成_parameter,rn但是我这里用的方法是生成好的update方法,不应该出现这种的rn
今天突然发现全部下载币不见,好奇怪
<em>今天</em>打开下载资源,却<em>突然</em>发现全部的下载币都不见了,什么原因呢?又找不着下载过的扣费经过.好奇怪.好奇怪.
birt出现的错误,前两天还是好的,今天突然坏了!怎么回事
数据库是好的!数据源用的是index索引!rn前两天一直是好的,<em>今天</em><em>突然</em>坏了,怎么回事??rn希望大家给以解决!rn高分相许!rn2007-4-25 9:02:25 org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMetarn警告: Unable to determine data types from resultsetrn2007-4-25 9:02:25 org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMetarn警告: Unable to determine data types from resultsetrn2007-4-25 9:02:25 org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMetarn警告: Unable to determine data types from resultsetrn2007-4-25 9:02:25 org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMetarn警告: Unable to determine data types from resultsetrn2007-4-25 9:02:25 org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMetarn警告: Unable to determine data types from resultsetrn2007-4-25 9:02:26 org.eclipse.birt.chart.exception.ChartException logThisrn严重: Exceptionrnorg.eclipse.birt.chart.exception.ChartException: Empty dataset foundrn at org.eclipse.birt.chart.datafeed.DataSetProcessorImpl.populate(DataSetProcessorImpl.java:248)rn at org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillSeriesDataSet(DataProcessor.java:1516)rn at org.eclipse.birt.chart.internal.datafeed.DataProcessor.fillSeriesDataSet(DataProcessor.java:1485)rn at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:976)rn at org.eclipse.birt.chart.internal.datafeed.DataProcessor.generateRuntimeSeries(DataProcessor.java:721)rn at org.eclipse.birt.chart.factory.Generator.bindData(Generator.java:559)rn at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:399)rn at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:651)rn at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:359)rn at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:58)rn at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:111)rn at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:38)rn at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layoutChildren(HTMLPageLM.java:123)rn at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:81)rn at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:80)rn at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:194)rn at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)rn at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)rn at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown Source)rn at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown Source)rn at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)rn at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(Unknown Source)rn at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(Unknown Source)rn at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Unknown Source)rn at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(Unknown Source)rn at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(Unknown Source)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:154)rn at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)rn at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)rn at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)rn at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)rn at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:488)rn at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:353)rn at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:957)rn at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:910)rn at _jsp._view._medicalmaterial._country__jsp._jspService(_country__jsp.java:72)rn at com.caucho.jsp.JavaPage.service(JavaPage.java:61)rn at com.caucho.jsp.Page.pageservice(Page.java:577)rn at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:190)rn at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)rn at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)rn at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)rn at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)rn at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591)rn at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)rn at java.lang.Thread.run(Thread.java:619)rn2007-4-25 9:02:26 org.eclipse.birt.chart.exception.ChartException logThisrn严重: Exceptionrnorg.eclipse.birt.chart.exception.ChartException: Empty dataset found
严重问题(今天电脑启动突然要输入密码)
我用的是Windowsserver2003系统rn<em>今天</em>不知道怎么回事rn<em>启动</em>电脑<em>突然</em>要求输入用户名和密码rn以前用户名是administratorrn没有用过密码rn直接确定就进了rnrn昨晚安装了oracle10g后rn应该和oracle10g无关rnrn高手请指教是那里出了问题
昨天JS还能调用 今天突然没办法调用了 求教
query($sql);rn // $rs->num_rows判断上面的执行结果是否含有记录,有记录说明登录成功rn if ($rs && $rs->num_rows > 0) rn // 在实际应用中可以使用前面提到的重定向功能转到主页rn $errmsg = "登录成功!";rn rn else rn $errmsg = "用户名或密码不正确,登录失败!";rn rn rn // 关闭数据库连接rn $db->close();rn rn rnrn if ($rs && $rs->num_rows > 0) rn // 使用session保存当前用户rn session_start();rn $_SESSION['uid'] = $username;rn rn // 在实际应用中可以使用前面提到的重定向功能转到主页rn $errmsg = "登录成功!";rn rn // 更新用户登录信息rn $ip = $_SERVER['REMOTE_ADDR']; // 获取客户端的IPrn $sql = "UPDATE t_user SET f_logintimes = f_logintimes + 1,";rn $sql .= "f_lasttime=now(), f_loginip='$ip' ";rn $sql .= " WHERE f_username='$username'";rn $db->query($sql);rn rnrn?>rnrnrn rn 登录rn rn rnrnrnrnrn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn 阿萨德飞过后 rn rn rn 用户rn rn rn rn rn rn rn rn rn 密码rn rn rn rn rn 验证码rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrnrnrn//-----------------------------rnrnrn rnrnrn rn rn rn用户名:rn rnrn 密码:rn rnrn rn rn rn rnrnrnrnrnrnrn
strut 昨天是好的 今天就坏了!!!
1jbuilder 里有错误org.apach.包丢失rn2 页面可以显示中文 可错误信息是乱码 就是资源文件里的rnrn快救命啊 急rn
mysql每次都可以正常启动今天突然无法启动
日志信息是这样的:rn这是正常<em>启动</em>时候的信息:rn090216 14:46:03 mysqld startedrn090216 14:46:03 InnoDB: Database was not shut down normally!rnInnoDB: Starting crash recovery.rnInnoDB: Reading tablespace information from the .ibd files...rnInnoDB: Restoring possible half-written data pages from the doublewriternInnoDB: buffer...rn090216 14:46:03 InnoDB: Starting log scan based on checkpoint atrnInnoDB: log sequence number 0 18825290.rnInnoDB: Doing recovery: scanned up to log sequence number 0 18825290rnInnoDB: Last MySQL binlog file position 0 1797119, file name ./mysql-bin.000031rn090216 14:46:04 InnoDB: Started; log sequence number 0 18825290rn090216 14:46:04 [Note] /usr/libexec/mysqld: ready for connections.rnVersion: '5.0.22' socket: '/var/run/mysql/mysql.sock' port: 3306 Source distributionrn[b]紧接着就是<em>今天</em>的日志信息,报<em>错了</em>[/b]rn090217 08:35:43 mysqld startedrn090217 8:35:43 InnoDB: Database was not shut down normally!rnInnoDB: Starting crash recovery.rnInnoDB: Reading tablespace information from the .ibd files...rnInnoDB: Restoring possible half-written data pages from the doublewriternInnoDB: buffer...rnInnoDB: Error: tried to read 16384 bytes at offset 0 819200.rnInnoDB: Was only able to read -1.rn090217 8:36:19 InnoDB: Operating system error number 5 in a file operation.rnInnoDB: Error number 5 means 'Input/output error'.rnInnoDB: Some operating system error numbers are described atrnInnoDB: http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.htmlrnInnoDB: File operation call: 'read'.rnInnoDB: Cannot continue operation.rn090217 08:36:19 mysqld endedrn--------后来又尝试几次,都是报同样的日志信息rn没找到类似的错误信息和解决办法,望高手不吝指教!rnrnrn
错了 这是为什么?
org.springframework.orm.hibernate3.HibernateSystemException: ids for this class must be manually assigned before calling save(): com.wsc.po.User; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.wsc.po.Userrn at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:676)rn at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)rn at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)rn at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)rn at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:694)rn at com.wsc.DAO.impl.UserDAOImpl.createUser(UserDAOImpl.java:22)rn at com.wsc.service.impl.Regeditimpl.saveUser(Regeditimpl.java:16)rn at com.wsc.action.RegeditController.onSubmit(RegeditController.java:34)rn at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)rn at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:265)rn at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)rn at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnrn
mvc 3 报错了
用户代码未处理 System.NotSupportedExceptionrn Message=Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions.rn Source=EntityFrameworkrn StackTrace:rn 在 System.Data.Entity.Internal.InternalContext.CompatibleWithModel(Boolean throwIfNoMetadata)rn 在 System.Data.Entity.Database.CompatibleWithModel(Boolean throwIfNoMetadata)rn 在 System.Data.Entity.DropCreateDatabaseIfModelChanges`1.InitializeDatabase(TContext context)rn 在 System.Data.Entity.Database.<>c__DisplayClass2`1.b__0(DbContext c)rn 在 System.Data.Entity.Internal.InternalContext.<>c__DisplayClass5.b__3()rn 在 System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)rn 在 System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()rn 在 System.Data.Entity.Internal.LazyInternalContext.b__4(InternalContext c)rn 在 System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)rn 在 System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)rn 在 System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()rn 在 System.Data.Entity.Internal.InternalContext.Initialize()rn 在 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)rn 在 System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()rn 在 System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()rn 在 System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName)rn 在 System.Data.Entity.Internal.Linq.InternalSet`1.Add(Object entity)rn 在 System.Data.Entity.DbSet`1.Add(TEntity entity)rn 在 XiAnITCommunity.Controllers.FiledTypesController.Create(FieldTypes fid) 位置 D:\XiAnITCommunity\XiAnITCommunity\XiAnITCommunity\Controllers\FiledTypesController.cs:行号 35rn 在 lambda_method(Closure , ControllerBase , Object[] )rn 在 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)rn 在 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)rn 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)rn 在 System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.b__12()rn 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)rn InnerException: rn
错了,帮帮我吧!
13:51:59,742 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@10e84b3 startedrn13:52:00,195 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'rn13:52:00,242 INFO [TomcatDeployment] deploy, ctxPath=/rn13:52:01,008 INFO [[/]] Initializing Spring root WebApplicationContextrn13:52:01,352 INFO [STDOUT] 0 [2010-03-02 13:52:01,336] [main] ERROR [org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:203)] - Context initialization failedrnorg.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/classes/com/contextconfigure/spring/applicationContext.xml]; nested exception is java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactoryrnCaused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactoryrn at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)rn at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:88)rn at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)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:3910)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)rn at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)rn at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)rn at org.jboss.web.deployers.WebModule.start(WebModule.java:97)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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)rn at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)rn at $Proxy36.start(Unknown Source)rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)rn at org.jboss.system.ServiceController.doChange(ServiceController.java:688)rn at org.jboss.system.ServiceController.start(ServiceController.java:460)rn at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)rn at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)rn at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)rn at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)rn at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)rn at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)rn at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)rn at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)rn at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:619)
错了,急
编译器错误信息: CS0118: “System.Web.Caching.Cache”是“类型”,但此处被当做“变量”来使用 rnrn源错误: rnrnrnrn行 29: rn行 30: rn行 31: DataSet dt = (DataSet)Cache["dtkey"]; rn行 32: if (dt == null) rn行 33: rnrnrnrn源代码 rnrnusing System; rnusing System.Data; rnusing System.Configuration; rnusing System.Collections; rnusing System.Web; rnusing System.Web.Security; rnusing System.Web.UI; rnusing System.Web.UI.WebControls; rnusing System.Web.UI.WebControls.WebParts; rnusing System.Web.UI.HtmlControls; rnusing System.Data.SqlClient; rnusing System.Web.Caching; rnrn/// rn/// DataBind 的摘要说明 rn/// rnpublic class DataBindop rn rnpublic DataBindop() rn rn// rn// TODO: 在此处添加构造函数逻辑 rn// rn rn public static void databinder(string str,DataList datalist) rn rn rn rn DataSet dt = (DataSet)Cache["dtkey"]; rn if (dt == null) rn rn dt = SqlHelper.ExcuteReadApdater(str, CommandType.Text, null); rn SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); rn SqlCommand cmd = new SqlCommand(str, conn); rn SqlCacheDependency sqlDepend = new SqlCacheDependency(cmd); rn Cache.Insert("dtKey", dt, sqlDepend); rn rn datalist.DataSource = dt; rn datalist.DataBind(); rn rn rn rn rnrnrn rnrnrnrnrn怎么修改啊 rn
错了,什么意思??????????????????????????
java.lang.NullPointerExceptionrn at org.apache.jsp.ly$jsp._jspService(ly$jsp.java:90)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)rn at java.lang.Thread.run(Thread.java:536)rnrn
ireport报表出错了
acitonrnrn[code=java]public class ReportAction extends BaseAction rn private static final long serialVersionUID = 1L;rnrn List myList = new ArrayList();rn @Autowiredrn private RoomDao RoomDao;rnrn public String execute() throws Exception rnrn myList = RoomDao.getRoom(); //数据库查出来的数据也不知道有没有用rn try rnrn String reportSource;rn reportSource = ServletActionContext.getServletContext().getRealPath("/jasper/report3.jrxml");rn File parent = new File(reportSource).getParentFile();rn // 将.jrxml模板文件编译成为.jasper文件,当然,其文件名可以指定,如果没指定,则与.jrxml文件名一样.只是后缀不同而已rn JasperCompileManager.compileReportToFile(reportSource, new File(parent, "compiled_jasper_template.jasper").getAbsolutePath());rn catch (Exception e) rn e.printStackTrace();rn return ERROR;rn rn return SUCCESS;rn rnrn public List getMyList() rn return myList;rn rn[/code]rnrnstruts2 配置文件rnrn[code=java]rnrnrn rn rn rn rn rn /jasper/report3.jasperrn rn myListrn PDFrn rn rnrn rn rn rn /jasper/report3.jasperrn rn myListrn HTMLrn rn rnrn rn rn rn /jasper/report3.jasperrn rn myListrn XMLrn rn rnrn rn rn rn /jasper/report3.jasperrn rn myListrn CSVrn rn rnrn rn rn rn /jasper/report3.jasperrn rn myListrn XLSrn rn rnrn rn[/code]rnrnjsprn[code=java]rnrnrnrnrn Struts2+ JasperReports 使用示例rn rnrn rn HTMLrn rn PDFrn rn XMLrn rn CSVrn rn XLSrn rnrn[/code]rnrnrnrn我现在不太清楚这个流程,点级pdf时候就出<em>错了</em>rnrnrn八月 16, 2014 11:02:50 上午 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet default threw exceptionrnjava.lang.NoSuchMethodError: net.sf.jasperreports.engine.util.JRLoader.loadObject(Ljava/lang/String;)Ljava/lang/Object;rn at org.apache.struts2.views.jasperreports.JasperReportsResult.doExecute(JasperReportsResult.java:324)rn at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)rn at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)rn at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.kingree.plan.webapp.filter.AuthCheckFilter.doFilter(AuthCheckFilter.java:160)rnrn
错了,求调试。。。
[code=C/C++]rn#include "stdafx.h"rn#include rnusing std::cout;rnusing std::endl;rnrnclass B;rnrnclass Arnrnpublic:rn A() i = 1;rn ~A() rn void dis(B &b) cout<
implements SessionBean 报错了
package ejb_test;rnimport javax.ejb.*;rnrnpublic class HelloBean implements SessionBean rnrn private SessionContext ctx;rn public void ejbCreate()rn System.out.println("ejbCreate()");rn rn public String hello()rn System.out.println("hello()");rn return "hello world";rn rnrnrn错误如下:rn"HelloBean.java": ejb_test.HelloBean is not abstract and does not override abstract method ejbPassivate() in javax.ejb.SessionBean at line 4, column 1rnrn刚学ejb,不懂这是怎么回事,照着书上抄的啊
in语句报错了,怎么回事?
rnexec('select ts_slaveselections into ##tmp_subhuiftype from ts_msselection where ts_masterselectionid='+@subtype)rnrnexec('select ts_name,ts_id into ##tmp_subtypelist from ts_selections a ,##tmp_subhuiftype b where a.ts_id in (b.ts_slaveselections)')rnrnts_slaveselections的类型是:textrna.ts_id 的类型是:intrnrnrnrn服务器: 消息 306,级别 16,状态 1,行 1rn不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。rnrnrnrnrn
错了,请指教 :)
就是这条语句:rnrnselect distinct kmbh as 科目编号,kmmc as 科目名称, 2002 as 年度 from XT_KMB_1011001012002 T rnWhere not exists(select KMBH from XT_KMB_1011001012002 where KMBH<>T.kmbh and KMBH like rtrim(T.KMBH)+'%') and not exists(select KMBH from XT_KMB_1011001012002 where KMBH<>T.kmbh and T.KMBH like rtrim(KMBH)+'%') order by kmbhrnrn执行后报错如下:rnrn进程 ID 51 试图解锁不属于该进程的资源 PAG: 7:1:1256。rnrn连接中断rnrn不知何原因
无缘无故就报错了~!!!!!!~!!!!!!!!!!!!!!!!!!
请尝试执行下列操作:rnrn单击刷新按钮,或稍后重试。rnrn打开 192.168.24.3:81 主页,然后查找与所需信息相关的链接。 rnHTTP 错误 500.100 - 内部服务器错误 - ASP 错误rnInternet 信息服务rnrn--------------------------------------------------------------------------------rnrn技术信息(用于支持人员)rnrn错误类型:rnMicrosoft VBScript 运行时错误 (0x800A000D)rn类型不匹配: 'formatnumber'rn/baobiao_yybghz.asp, 第 349 行rnrnrn浏览器类型:rnMozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; MAXTHON 2.0) rnrn网页:rnGET /baobiao_yybghz.asp rnrn时间:rn2008年5月7日, 8:17:45 rnrnrn详细信息:rnMicrosoft 支持 rnrnrn代码是以前没改过的,以前可以运行,为什么无缘无故就不行了啊~!!!rn与IE设置有没有关系啊~!!!!!rn
Hibernate报错了:org.hibernate.PropertyAccessException
错的:rnorg.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of com.hejianjiao.vo.Email.?rnrn配置文件:rnrn rn rn rn rn rn rn rnrn rn rn rn rnrnrnrnrnComponent.java:rn private String id;rn private String username;rn private String password;rn private int age;rn private Set emails = new HashSet();rnrnEmail.java:rnprivate String email;rnrnrn说是getter错误,但是我的getter,setter方法都生成了啊;rn请大师们帮个忙;多谢谢啊rnrnrn[color=#339966]--------------------------------------------------------------------rn以下内容为自动编辑的内容,并非楼主的发贴内容,此仅用于显示而已,并无任何其他特殊作用rn楼主【anysky130】截止到2008-08-04 20:12:00的历史汇总数据(不包括此帖):rn发帖的总数量:20 发帖的总分数:1224 每贴平均分数:61 rn回帖的总数量:296 得分贴总数量:138 回帖的得分率:46% rn结贴的总数量:20 结贴的总分数:1224 rn无满意结贴数:3 无满意结贴分:41 rn未结的帖子数:0 未结的总分数:0 rn结贴的百分比:100.00% 结分的百分比:100.00% rn无满意结贴率:15.00 % 无满意结分率:3.35 % rn敬礼![img=http://p.blog.csdn.net/images/p_blog_csdn_net/java2000_net/381633/o_medal1.gif][/img][/color]rn取消马甲机器人,请点这里:[url=http://www.java2000.net/mycsdn/robotStop.jsp?usern=anysky130][/url]
强数据类型报错了
用向导生成的强数据类型方法GetLoginMsgDataByAccount()。在向导中测试时,可以得到正确的DataTable对象。但是到了程序里面时,调用 DataTable LoginDt = adapt.GetLoginMsgDataByAccount(this.tbAccount.Text.Trim())就报<em>错了</em>:未能启用约束,一行或多行中包含违反非空、唯一或外键约束的值。。。rnGetLoginMsgDataByAccount()无论怎么改在程序里都报这个错。。。。。。求高手!
gtk编程的报错了
rn进行第一个GTK编程时,进行编译时报gtk/gtk.h No such file or directory rn是什么意思呀?rnrn请高手指导!rn谢谢!
哥,真报错了!
为什么rn[code=Java]rnpublic class B rn rn public int b(int x,long y)return 1; rn public double b(double x,int y)return 1; rn public static void main(String[] args) rn rn System.out.println(new B().b(3,3)); rn rnrn[/code]rn这段代码报错.rn而rn[code=Java]rnpublic class Brnrn public int b(long y)return 1;rn public double b(double y)return 1;rn public static void main(String[] args)rn rn System.out.println(new B().b(3));rn rnrn[/code]rn这段代码不报错?求解...!!!
rst.AbsolutePosition=rstPosition 报错了?!
rstPosition 是我保存得记录指针的位置,这句话在一些的机器上运行没有任何问题,但是在有几台机器上运行时就会报错:rnADODB.Recordset 错误 '800a0bb9' rn参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。 rnrn请问是怎么一回事?能解决么?
网站发布之后报错了...
Server Error in '/iis' Application.rn--------------------------------------------------------------------------------rnrnParser Error rnDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. rnrnParser Error Message: Could not load the assembly 'App_Web_aeqwpg2h'. Make sure that it is compiled before accessing the page.rnrnSource Error: rnrnrn[color=#FF0000]Line 1: rnLine 2: rnLine 3: rn rnrnSource File: /iis/Default.aspx Line: 1 rnrn
EF6.0 怎么报错了
错误 CS0012 类型“DbSet<>”在未引用的程序集中定义。必须添加对程序集“EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。rnrn我刚刚接触EF6.0,我几年前用的MVC4+EF,都快忘记完了,这两天捣鼓捣鼓 EF,怎么会这个错误呢?网上说的那些解决办法都不顶用啊,rn什么NuGet里面添加啊什么的,怎么这么复杂了?<em>之前</em>我记得调用一下就可以读取数据了。
堆栈的问题 报错了
[code=C/C++]#includern#includern#includern#define MAXSIZE 1024rntypedef char datatype;rnrntypedef struct nodern datatype data;rn struct node *next;rnStackNode,* LinkStack;rnrnLinkStack Init_LinkStack()rnrn return NULL;rnrnrnint Empty_LinkStack(LinkStack top )rnrn if(top==NULL) return 1;rn else return 0;rnrnrnvoid Push(LinkStack *top, datatype x) //要想对指针本身进行操作,就必须定义双重指针!rn //*top就是双重指针rn StackNode *s;rn s=(StackNode *)malloc(sizeof(StackNode));rn s->data=x;rn s->next=*top;rn *top=s;rnrnrndatatype Pop(LinkStack * top)rnrn datatype x;rn StackNode *p;rn if (top==NULL) x=' ';return;//当栈为空时,x返回空rn else x = (*top)->data;rn p = *top;rn *top = (*top)->next;rn free (p);rn rn return x;rnrnrnint Is_Match(char s[])rnrn int length=strlen(s);rn LinkStack L;rn L=Init_LinkStack();rn int i=0;rnrn for(i;i
错了,帮帮我
10:40:48,281 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/ state=Create mode=Manual requiredState=Installedrnorg.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/setup/jboss-5.0.1.GA/server/default/deploy/WLOA.war/rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:189)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)rn at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)rn at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)rn at org.jboss.web.deployers.WebModule.start(WebModule.java:97)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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)rn at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)rn at $Proxy36.start(Unknown Source)rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)rn at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:619)rn10:40:48,281 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/F:/setup/jboss-5.0.1.GA/server/default/deploy/WLOA.war/ state=PreReal mode=Manual requiredState=Realrnorg.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/setup/jboss-5.0.1.GA/server/default/deploy/WLOA.war/rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:189)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)rn at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)rn at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)rn at org.jboss.web.deployers.WebModule.start(WebModule.java:97)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn ……rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)rn at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)rn at org.jboss.system.ServiceController.doChange(ServiceController.java:688)rn at org.jboss.system.ServiceController.start(ServiceController.java:460)rn at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)rn at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)rn at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)rn at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)rn at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)rn at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)rn ……rn at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:619)rn10:40:48,375 INFO [TomcatDeployment] deploy, ctxPath=/jmx-consolern10:40:48,500 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):rnrnDEPLOYMENTS IN ERROR:rn Deployment "vfsfile:/F:/setup/jboss-5.0.1.GA/server/default/deploy/WLOA.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/setup/jboss-5.0.1.GA/server/default/deploy/WLOA.war/rnrn10:40:48,531 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080rn10:40:48,578 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009rn10:40:48,593 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 1m:10s:484msrn
今天突然发现一个问题。
#includernint main(void)rnrn char array[20];rn gets(array);rn puts(array);rn gets(array);rn puts(array);rn getchar();rn return 0; rnrnrn先输入一个,test 输出test  然后输入一个tes,输出仍然是tes.rn我的最初想法: 第一个没有什么好讲的, 关键是第二个,我的想法是第二个输入tes 覆盖test的tes,留下t,我的想法是第二次输出的结果是 test 但是输出的结果是tes 。rn是不是第一次输出test 的时候就清空了 array[20] 里的所以数据?rn猜想:是不是因为array[20] 是一个自动变量类型的数组,然后第一次输出后 释放了原有有数据?
今天突然有了一种失落感
以前,一直只是让她等着我的消息; <em>今天</em>我有点得闲了,就一直等待着她的消息,可是<em>今天</em>她却很忙, 不知道是聊到去哪儿提不起兴趣还是真的<em>今天</em>有些忙,说到出去旅游,虽然还没到,但是心里还是很激动; 毕竟没有这么正式的专门出去旅游过,还是很期盼的,希望十一我们有一个愉快的假期!更希望这段时间我们之间不会有什么 不开心的东西! 时不时的去看下有没有她的消息过来,等了一下午了,终于来了一条消息,打开...
今天iis突然无法启动了,怎么办?
点击那个图标,什么反应也没有,但在进程表里却出现了mmc的进程,怎么回事?
(RCP)插件开发 报错了
建一插件开发工程,配完工程后,导出,就是运行不了。我辛苦了两天,找不到原因。rn求高手帮忙!!! 报错日志文件如下:rnrn!SESSION 2009-11-25 11:01:40.078 -----------------------------------------------rneclipse.buildId=unknownrnjava.version=1.6.0_10-rc2rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnCommand-line arguments: -os win32 -ws win32 -arch x86rnrn!ENTRY org.eclipse.osgi 4 0 2009-11-25 11:01:40.968rn!MESSAGE Application errorrn!STACK 1rnjava.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1311)rnrn配置文件内容如下:rn#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParserrn#Wed Nov 25 11:00:46 CST 2009rnosgi.bundles=reference\:file\:RCP_start_1.0.0.200911251059.jar@4,reference\:file\:com.ibm.icu_4.0.1.v20090415.jar@4,reference\:file\:org.eclipse.core.commands_3.5.0.I20090525-2000.jar@4,reference\:file\:org.eclipse.core.contenttype_3.4.0.v20090429-1800.jar@4,reference\:file\:org.eclipse.core.databinding_1.2.0.I20090604-2000.jar@4,reference\:file\:org.eclipse.core.databinding.observable_1.2.0.I20090604-2000.jar@4,reference\:file\:org.eclipse.core.databinding.property_1.2.0.I20090526-2000.jar@4,reference\:file\:org.eclipse.core.expressions_3.4.100.v20090429-1800.jar@4,reference\:file\:org.eclipse.core.jobs_3.4.100.v20090429-1800.jar@4,reference\:file\:org.eclipse.core.runtime_3.5.0.v20090525.jar@4,reference\:file\:org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800/@4,reference\:file\:org.eclipse.equinox.app_1.2.0.v20090520-1800.jar@4,reference\:file\:org.eclipse.equinox.common_3.5.0.v20090520-1800.jar@4,reference\:file\:org.eclipse.equinox.launcher_1.0.200.v20090520.jar@4,reference\:file\:org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519/@4,reference\:file\:org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar@4,reference\:file\:org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar@4,reference\:file\:org.eclipse.help_3.4.0.v20090526.jar@4,reference\:file\:org.eclipse.jface_3.5.0.I20090525-2000.jar@4,reference\:file\:org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar@4,reference\:file\:org.eclipse.swt_3.5.0.v3550b.jar@4,reference\:file\:org.eclipse.swt.win32.win32.x86_3.5.0.v3550b.jar@4,reference\:file\:org.eclipse.ui_3.5.0.I20090604-2000.jar@4,reference\:file\:org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar@4rneclipse.application=RCP_start.applicationrnosgi.bundles.defaultStartLevel=4rnosgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v20090520.jarrneclipse.product=RCP_start.product1rnosgi.framework.extensions=rneclipse.p2.data.area=@config.dir/../p2/rneclipse.p2.profile=profilern
UPDATE报错了
cmd = New OleDb.OleDbCommand("update a set a.库存=b.盘点数 from 商品信息 a left join 盘点明细 b on a.商品代码=b.商品代码 and b.状态='未审核'", conn)rn cmd.ExecuteNonQuery()rnrn语法错误 (操作符丢失) 在查询表达式 'b.盘点数 from 商品信息 a left join 盘点明细 b on a.商品代码=b.商品代码 and b.状态='未审核'' 中。rnrn字段都是存在的,是语法错误吗?
紧急求助,报错了
Server Error in '/' Application.rn--------------------------------------------------------------------------------rnrnThe process cannot access the file 'D:\CSDN Web Site\CSDN Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml' because it is being used by another process. rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.IO.IOException: The process cannot access the file 'D:\CSDN Web Site\CSDN Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml' because it is being used by another process.rnrnSource Error: rnrnAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. rnrnStack Trace: rnrnrn[IOException: The process cannot access the file 'D:\CSDN Web Site\CSDN Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml' because it is being used by another process.]rn System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014461rn System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998rn System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +115rn System.IO.StreamWriter.CreateFile(String path, Boolean append) +58rn System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +91rn System.IO.StreamWriter..ctor(String path) +27rn Dottext.Framework.BuildStaticPage.Helper.WriteConfig(BlogConfig userConfig) +75rn Dottext.Framework.BuildStaticPage.ConfigBuilder.Build() +10rn Dottext.Framework.Data.SqlDataProvider.WriteConfigFile(BlogConfig config) in D:\CSDN Web Site\Csdn Blog\Src\Library\Data Providers\Dottext.SqlDataProvider\SqlDataProvider.cs:1552rn Dottext.Common.Config.MultipleBlogConfig.BuildConfig(String host, String application, HttpContext context) in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Common\Config\MultipleBlogConfig.cs:119rn Dottext.Common.Config.MultipleBlogConfig.GetConfig(HttpContext context) in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Common\Config\MultipleBlogConfig.cs:64rn Dottext.Framework.Configuration.Config.CurrentBlog(HttpContext context) +30rn Dottext.Web.UI.Globals.Skin(HttpContext context) in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Web\UI\Globals.cs:27rn Dottext.Web.UI.WebControls.MasterPage.get_TemplateFile() in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Web\UI\WebControls\MasterPage.cs:38rn Dottext.Web.UI.WebControls.MasterPage.BuildMasterPage() in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Web\UI\WebControls\MasterPage.cs:66rn Dottext.Web.UI.WebControls.MasterPage.OnInit(EventArgs e) in D:\CSDN Web Site\Csdn Blog\Src\Library\Dottext.Web\UI\WebControls\MasterPage.cs:59rn System.Web.UI.Control.InitRecursive(Control namingContainer) +321rn System.Web.UI.Control.InitRecursive(Control namingContainer) +198rn System.Web.UI.Control.InitRecursive(Control namingContainer) +198rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692rnrn rnrnrn--------------------------------------------------------------------------------rnVersion Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
安卓报错了.........
1.EditText editview=(EditText)findViewById(R.id.editview);rn//为什么这里的EditText 前面要加上final??rn button.setOnClickListener(new OnClickListener()rn rn rn @Overridern public void onClick(View v) rn String s1=editview.getText().toString();rnrn为什么会提示:rnrnError:Cannot refer to a non-final variable editview inside an inner class defined in a different methodrnrn2.requestWindowFeature( )方法是哪个类的方法?为什么不需要实例化该类就可以调用它rnrn3.代码:SmsManager smsManager =SmsManager.getDefault();是实例化的过程rn为什么不该是SmsManager smsManager =new SmsManager.getDefault();rn为什么Intent intent=new Intent( );就要加上new呢?rnrn4.请问sendtextmessage().start();是怎么一回事?手册上没有写start()啊?start()是从哪来的??rn谢谢!rn5.android代码中,不能在一个函数中定义另一个函数么?为什么?
tiles报错了怎么办?..
每次做项目,做的好是好,一旦报一些异常解决不了就不知道该怎么办了rn然后也没法继续做下去,请问该怎么办?
不解为什么报错了
============================================PLATFORM_VERSION_CODENAME=RELPLATFORM_VERSION=4.3.1CM_VERSION=10.2-20131107-UNOFFICIAL-i9300TARGET_PRODUCT=cm_i9300TARGET_BUILD_VARIANT=userdebugTARGET_BU...
又报错了,static
// struc1.cpp : Defines the entry point for the console application.rn//rnrn#include "stdafx.h"rnrnint main(int argc, char* argv[])rn rnint x1[10];rnint y1[10];rnint xh;rn;rn static POINT aptFigure [10] = 10,70, 50,70, 50,10, 90,10, 90,50, 30,50, 30,90, 70,90, 70,30, 10,30 ;rnstatic POINT aptFigure1 [10] = 10,70, 50,70, 50,10, 90,10, 90,50, 30,50, 30,90, 70,90, 70,30, 10,30 ;rn xh=aptFigure[1].x;rnprintf("Hello World!\n");rnfor(int i=0;i++;i : undeclared identifierrnrn1.谁能帮我改错?rn2.vc6里面如何用watch 看static 变量? 谢谢
pthread_create报错了!!!
#include rn#include rnrnvoid *connect(void* str)rnrn printf("here");rnrnrnrnint main()rnrn pthread_t pid = 0;rn pthread_create(&pid, NULL, (void *)&connect, NULL);rnrnrnrn写了一天的代码了,头都大了,多线程的程序都写不出来了,我能意识到这是一个很低级的错误,但就是找不出来,脑袋要炸掉了,希望好心的网友给看看到底是哪出<em>错了</em>,我回去睡一觉,希望明天看看答案。谢谢了,各位热心的网友。rn错误信息是这样的:test.cpp:16: error: invalid conversion from ?.oid*?.to ?.oid* (*)(void*)?rntest.cpp:16: error: initializing argument 3 of ?.nt pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)?rnpthread_create处于16行;
mysql报错了。。
在执行如下代码时报错:rnrn SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_name LIKE 'radacct_201005';rnrn错误信息:rn ERROR 1018 (HY000): Can't read dir of './data/' (errno: 13)rnrnrn请各位高手帮帮忙。。。谢谢了。。
nokia sdk报错了
jar file could not be initialized 的错误rnrneclipse中运行j2me程序,选择emulation项的device为s60 3rd edtion FP2 SDK for MIDP时报出。如果选择sun Java(TM) wireless Toolkit 2.5 for CLDC则正常运行,由于开发出来的程序将来是要用到nokia s60平台上的,所以得用NOKIA的SDK。rnrn大家谁知道这个问题,给个意见。
为什么delete报错了
为什么delete报<em>错了</em>?rnrn<em>今天</em>delete的时候报<em>错了</em>,很奇怪,怎么前面new的指针后面delete就报<em>错了</em>呢?后来看了半天,代码是这么写的:rnchar* p = new char[100];rnCBigInt* D = (CBigInt*)P;rndelete [] p;rn...rn之后有对D进行操作,是因为将P转换为CBigInt*类型,delete后,系统会对p所指的内存回收,然后后面又操作D的原因吗?rnrn编译没有问题,就是运行的时候,程序关闭了。。。不设断点,直接调试运行又没事,这是为什么呢?
VS报错了、、
<em>今天</em>上班手欠。。 点了更新、、rnrn结果出现 rnrn未能正确的加载“diffpackage”rnrn的错误~~ rnrnSOS
Spring定时器报错了
2013-03-18 23:07:31,609 INFO core.SchedulerSignalerImpl (SchedulerSignalerImpl.java:63) -Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImplrn2013-03-18 23:07:31,625 INFO core.QuartzScheduler (QuartzScheduler.java:215) -Quartz Scheduler v.1.6.4 created.rn2013-03-18 23:07:31,625 INFO simpl.RAMJobStore (RAMJobStore.java:141) -RAMJobStore initialized.rn2013-03-18 23:07:31,625 INFO impl.StdSchedulerFactory (StdSchedulerFactory.java:1229) -Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.rn2013-03-18 23:07:31,625 INFO impl.StdSchedulerFactory (StdSchedulerFactory.java:1233) -Quartz scheduler version: 1.6.4rn2013-03-18 23:07:31,625 INFO core.QuartzScheduler (QuartzScheduler.java:2094) -JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@a0ebc2rn2013-03-18 23:07:31,625 INFO quartz.SchedulerFactoryBean (SchedulerFactoryBean.java:626) -Starting Quartz Scheduler nowrn2013-03-18 23:07:31,625 INFO core.QuartzScheduler (QuartzScheduler.java:461) -Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.rn2013-03-18 23:07:31,625 ERROR core.JobRunShell (JobRunShell.java:211) -Job DEFAULT.jobDetailBeanLc threw an unhandled Exception: rnorg.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'getMesLc' on target class [class com.common.util.SpringQuarteData] failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'SearDataDao' is definedrn at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:269)rn at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)rn at org.quartz.core.JobRunShell.run(JobRunShell.java:202)rn at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'SearDataDao' is definedrn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:968)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)rn at com.common.util.SpringQuarteData.getMesLc(SpringQuarteData.java:52)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.util.MethodInvoker.invoke(MethodInvoker.java:276)rn at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)rn ... 3 more
安装vue-cli报错了
[img=https://img-bbs.csdn.net/upload/201708/16/1502872733_903119.png][/img]
官方minJQuery报错了
我项目中要用JQuery,于是在官网下了个1.7min版的,但是引入到项目中就报<em>错了</em>,以前的开发人员版就没这错啊,这个最小版咋就报<em>错了</em>呢?官网下得啊。报错说少“)”和“”,我就不懂了。
weblogic报错了
谁能帮我看看怎么回事??rnrn这是vo类:rnrnpublic class DefectBugName rn private int bugNameId;rn private String bugName;rn private String bugRemark;rn //private int bugCatalogId;rn private DefectBugCatalog bugcatalog;rn public String getBugName() rn return bugName;rn rn public void setBugName(String bugName) rn this.bugName = bugName;rn rn public int getBugNameId() rn return bugNameId;rn rn public void setBugNameId(int bugNameId) rn this.bugNameId = bugNameId;rn rn public String getBugRemark() rn return bugRemark;rn rn public void setBugRemark(String bugRemark) rn this.bugRemark = bugRemark;rn rn public DefectBugCatalog getBugcatalog() rn return bugcatalog;rn rn public void setBugcatalog(DefectBugCatalog bugcatalog) rn this.bugcatalog = bugcatalog;rn rn rnrn下面是映射文件:rnrnrnrn rn rn rn rn rn rn rn rn rnrn这是getBugId方法:rnpublic List getBugId(int bugcatalogId) rn String sql = "select * from nb_tbugname where bugcatalog_id = "+bugcatalogId+"";rn Query query = getSession().createSQLQuery(sql);rn List result = query.list();rn return result;rn rn这是删除的方法:rnpublic void deleteBugNames(int bugcatalogId) rn DefectBugName bugname = new DefectBugName();rn List result = this.getBugId(bugcatalogId);rn System.out.println(result.size());rn for(int i= 0;i
又报错了java.lang.NullPointerException
正在学习JSP。rn做了一个BEAN叫basicJDBC.java,用于连接数据库。做了一个servlet叫login.java,用于验证输入的用户和口令。还有一个index.jsp.rnBasicJDBC.java:rn...rnpublic java.sql.Connection getConn() rn try Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();rn conn =DriverManager.getConnection( "jdbc:oracle:thin:@10.0.0.1:1521:db","test","test");rn catch (Exception e) e.printStackTrace();rn return conn;rnrn...rn------login.java--------------------------------------------rn...rndoPostrnif(IsValid(name,pswd))rn ServletContext context = getServletContext(); rn context.getRequestDispatcher("/index.jsp").forward(req,resp);rn...rnrnrnrnprivate boolean IsValid(String name, String pswd) throws SQLException rn boolean okey=false;rn BasicJDBC conDB = null;rn conDB.getConn)();rn String str="xxx";rn if(conDB.executeSql(str).next())rn okey=true;rn elsern okey=false;rn return okey;rnrn...rnrn在index.jsp中输入用户和口令提交后,提示java.lang.NullPointerException错误,请问怎么解决啊?另外,我的编写方式对不对啊?rn多谢了!!!!
configSections报错了
rnrnrnrnrn [/color]rnrn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn现在这段(标注红色)是注释的,为什么我不注释iis就报错 ?
这里报错了怎么办
错误代码: 1064rnYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USE travel;rn-- 创建表rn/*===================================================' at line 4[img=https://img-bbs.csdn.net/upload/201903/13/1552446298_123962.png][/img]rn
程序报错了 5555555555
void CMyClass::Proc(LPVOID param) //静态函数rn CMyClass* p = (CMyClass*)param;rn CString str = "";rn p->FunctionA(str);rnrnrnCWinThread* CMyClass::BeginThread()rnrn return AfxBeginThread(Proc,(LPVOID)this);rnrnrn程序报<em>错了</em> rnd:\vss\TreeQdzm.cpp(536): error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (LPVOID)'rn为什么啊?
服务器数据库连接报错了。。。。
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. rn我有两个个网站和一个数据库,分别放在三个服务器上面,因为<em>今天</em>早上重启了数据库服务器后,有个网站就不能访问了,报了这个错,我查了很多资料,都说是没有关闭连接,但是很奇怪的是,其中一个服务器的网站能访问,另外一个服务器的网站确报了这个错,网站程序都是一样的,只是不同的域名,我把数据库服务器的防火墙关闭了也没有用,我在想如果是连接到了上限,那为什么另外一个服务器的网站用户能正常访问呢?到底是为什么??
安装ubuntu14.10报错了
EasyBCD 2.2 在 win7 32位下安装 ubuntu14.10, 在安装 ubuntu 系统过程中出现错误rnrn错误提示如下:rnrn安装程序向硬盘复制文件时遇到错误:[Errno 5] Input/output error此个别错误往往由有缺陷的CD/DVD光盘或CD/DVD驱动器导致,或者由有缺陷的硬盘导致。清洁CD/DVD、用低速刻录CD/DVD,或者清洁CD/DVD驱动器光头(清洁用品通常可以在电子器材公司买到),检查硬盘是否太旧而需要更换,或者把系统转移到温度更低的环境,或许有助于解决该问题。rnrn扫过硬盘, 没有发现坏道。 不知道怎么回事, 求解答。
天线下倾角的计算方法下载
天线下倾角的计算方法 天线下倾角的计算方法 相关下载链接:[url=//download.csdn.net/download/jonson_qf/2177234?utm_source=bbsseo]//download.csdn.net/download/jonson_qf/2177234?utm_source=bbsseo[/url]
JSP操作xml下载
还在为不会使用JDom发愁吗?轻松学会并且使用jsp操作xml, 相关下载链接:[url=//download.csdn.net/download/wyz441275951/3834887?utm_source=bbsseo]//download.csdn.net/download/wyz441275951/3834887?utm_source=bbsseo[/url]
网页如何有效调用exe下载
基于浏览器的应用,表现力始终不够丰富,我们常常会想,在一个网页中,点一下某个链接,能够直接调用安装好的可执行程序有多好啊。按照微软的推荐,应该是通过ActiveX,把可执行程序嵌入到网页中,例如flash的ActiveX。这样,我们就要购买ActiveX的签名,不通过签名的东西,在IE6中是无法加载的,为一个小项目购买ActiveX的签名,代价太昂贵了。另外,很多时候还要考虑如果用户突然关闭了浏览器该怎么办。这对播放个flash、歌曲之类的没多大影响,但是很多时候,不能在关闭前清扫战场,带来的后果是灾难性的。通常,在企业应用中,我们总是通过IE直接调用exe。 相关下载链接:[url=//download.csdn.net/download/wlha9999/4816144?utm_source=bbsseo]//download.csdn.net/download/wlha9999/4816144?utm_source=bbsseo[/url]
我们是很有底线的