eclipse错误及解决方法。
拷贝过来了,供自己学习分享使用
1.不跳转。把struts.xml中/orders-index.jsp 的SUCCESS改为success 2.严重: Servlet.service() for servlet default threw exception java.sql.SQLException: ORA-00932: inconsistent datatypes: expected DATE got NUMBER。 3.严重: Servlet.service() for servlet default threw exception org.springframework.beans.PropertyBatchUpdateExcep
7.Could not initialize class. Cause: java.lang.ClassNotFoundE xception: gmt.boss.channel.ChannelCharge.Entity.Margin.MaginEntity ——————– <2008-11-24 上午10时18分35秒 CST> ssion data. java.io.NotSerializableException
——————
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
02008-8-20 8:01:15 org.apache.struts.action.RequestProcessor processException 警告: Unhandled Exception thrown: class java.lang.NullPointerException 2008-8-20 8:01:15 org.apache.catalina.core.ApplicationContext log 信息: java.lang.NullPointerException sqlServer没开,晕
严重: Exception loading sessions from persistent storage java.io.InvalidClassException: com.form.ApplicationForm; local class incompatible: stream classdesc serialVersionUID = -542564554742344487, local class serialVersionUID = 5322011595094940979
警告: Unhandled Exception thrown: class java.io.FileNotFoundException 2008-8-20 9:42:04 org.apache.catalina.core.ApplicationContext log 信息: D:\ex\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\Praxis\upload (拒绝访问。) GBK 上传文件那块的问题,当上传文件为空时就出现这样的问题
严重: Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException
GBK 0java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]将数据类型 nvarchar 转换为 numeric 时出错。 把数据库中的numeric改为varchar就可以了
警告: Cannot serialize session attribute ApplicationForm for session 37B0300C3E6AA8B4075ADE8C
严重: Invalid path /newOperation/newOperation was requested 超联接到NewOperationAction时出的,办理新业务即可
2008-8-18 21:54:14 org.apache.catalina.core.ApplicationContext log 信息: /newOperation/attachFile.jsp(62,4) The end tag “</logic:notEmpty” is unbalanced Jsp页面有错误
2008-8-18 21:56:22 org.apache.struts.action.RequestProcessor processMapping 严重: Invalid path /newOperation/action was requested GBK 和上上个问题一样
严重: Servlet action threw unload() exception javax.servlet.ServletException: Servlet.destroy() for servlet action threw exception
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlMapClient’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Document root element “sqlMapConfig”, must match DOCTYPE root “null”. Caused by: java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Document root element “sqlMapConfig”, must match DOCTYPE root “null”.
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.CannotLoadBeanClassExcep
警告: Unhandled Exception thrown: class java.io.FileNotFoundException 2008-8-21 6:35:30 org.apache.catalina.core.ApplicationContext log 信息: D:\ProgramFile\Tomcat 6.0\webapps\Praxis\upload\eclipceError.doc (系统找不到指定的路径。)
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Association references unmapped class: cn.wy.entity.TblFwxx Caused by: org.hibernate.MappingException: Association references unmapped class: cn.wy.entity.TblFwxx applicationContext.xml没配
严重: Servlet.service() for servlet default threw exception org.springframework.beans.factory.NoSuchBeanDefinitionExce
严重: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodException: com.highcom.action.InformationIssuance.getOneInfo() at java.lang.Class.getMethod(Unknown Source) Action的方法中不能有参数
严重: Servlet.service() for servlet default threw exception java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.highcom.bean.issuanceInfo.Issuanceinfo at com.highcom.dao.IssuanceinfoDAO.getInfo(IssuanceinfoDAO.java:41)
严重: Servlet.service() for servlet default threw exception org.apache.jasper.JasperException: /InformationIssuance/upd_information.jsp(23,64) equal symbol expected
” id=”loginUrl”>
获取的是值,不是对象 Action不能传对象
严重: Servlet.service() for servlet jsp threw exception java.lang.NoClassDefFoundError: org/apache/jsp/informationissuance/info_005findex_jsp (wrong name: org/apache/jsp/InformationIssuance/info_005findex_jsp) applicationContext.xml文件没改
Servlet.service() for servlet default threw exception java.lang.NullPointerException at com.highcom.action.informationissuance.InformationIssuance.execute(InformationIssuance.java:19)
严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘logicDAO’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean ‘issuanceinfoDAO’ while setting bean property ‘issuanceinfoDAO’; nested exception is org.springframework.beans.factory.CannotLoadBeanClassExcep
严重: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodException: com.highcom.action.informationissuance.InformationIssuance.create() Struts2的action中,方法没有参数,我在create()中加了参数
严重: Servlet.service() for servlet default threw exception org.hibernate.PropertyValueException: not-null property references a null or transient value: com.highcom.bean.Issuanceinfo.infoContent at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
严重: Couldn’t find a destroy method named ‘close’ on bean with name ‘sessionFactory’ 2008-9-22 10:26:34 org.springframework.web.context.ContextLoader initWebApplicationContex
严重: Servlet.service() for servlet default threw exception org.hibernate.hql.ast.QuerySyntaxException: station is not mapped [from station station ,stage stage where station.signs = '1' and station.stageByIntoStation.stageId = stage.stageId] Station原来HQL语句中也分大小写
严重: Servlet.service() for servlet default threw exception org.springframework.beans.PropertyBatchUpdateExcep
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlMapClient’ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath ‘/sqlMapConfig/sqlMap’. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence. Caused by: java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath ‘/sqlMapConfig/sqlMap’. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
2008-11-06 14:29:01 [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]-[INFO] Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2008-11-06 14:29:01 [org.springframework.jdbc.support.SQLErrorCodesFactory]-[INFO] SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] 什么都好使,也没有什么错误,就是无法插入到数据库 没有错误是因为你Try Catch了..。去掉后是java.sql.SQLException missing comma(逗号)错误.。是因为sql语句中多了一个单词
Caused by:
Root cause of ServletException. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘scopedTarget.clearArrearageCompanyApp
1.result ‘null’ not found,原因是中少了type=”redirect-action”
2.要放在
—————————————————————–
最近在使用Eclipse的debug功能时,出现了一个莫名其妙的错误:Cannot find a free socket for the debugger。
在网上找了好久都没有找到解答。大部分人说是防火墙没有关闭的问题。可我防火墙已经关闭了还是有这样的问题。看来jdt的源码,找到了抛出Cannot find a free socket for the debugger这个错误信息的原因是由于没有找到空闲的socket。后来发现了系统服务中ICS服务没有启动,手动启动该服务也不行。于是进入命令行:
>netsh winsock reset
执行完上述命令后,重启电脑,ICS服务能够自动启动了。