Eclipse errors and solutions (you should post the errors to comments and solve them together)

Source: Internet
Author: User
Tags truncated

1. Do not jump. Put <result name = "success">/orders-index.jsp </result> In struts. xml
Change success to success.
2. Severe: servlet. Service () for servlet default threw exception
Java. SQL. sqlexception: ORA-00932: inconsistent datatypes: Expected date got number.
3. Severe: servlet. Service () for servlet default threw exception
Org. springframework. Beans. propertybatchupdateexception; Nested propertyaccessexception details (1) are:
Propertyaccessexception 1:
Org. springframework. beans. typemismatchexception: failed to convert property value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype'; Nested exception is Java. lang. illegalargumentexception: cannot convert value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype': no matching editors or conversion strategy found
Caused by: Java. lang. illegalargumentexception: cannot convert value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype': no matching editors or conversion strategy found
-= -----------------------------------------
<! -- Query the total number of records --> one more>, error. sqlmap must match SQL * | select * | insert * | .........
-------------------
Pagenum. value cannot be found. Because the name of form is the same as the name of IFRAME
-----------------------
Attribute "parame
Rterclass "must be declared for element type" insert ". The path and name of the class are spelled incorrectly.
5. There is no readable pro
Perty named 'amount 'in class 'gmt. Boss. Channel. channelcharge. entity. Margin. marginentity'
Caused by: It's only because # amount # has an extra space.

7. cocould not initialize class. Cause: Java. Lang. classnotfounde
Xception: GMT. Boss. Channel. channelcharge. entity. Margin. maginentity
--------------------
<10:18:35 A.M. CST> <error> Ssion data.
Java. Io. notserializableexception: org. Apache. commons. DBCP. basicdatasource
At java. Io. objectoutputstream. writeobject0 (objectoutputstream. Java: 1156)
At java. Io. objectoutputstream. defaultwritefields (objectoutputstream. Java: 1509)
At java. Io. objectoutputstream. writeserialdata (objectoutputstream. Java: 1474)
At java. Io. objecttoutputstream. writeordinaryobject (objectoutputstream. Java: 1392)
At java. Io. objectoutputstream. writeobject0 (objectoutputstream. Java: 1150)
Truncated. See log file for complete stacktrace
>
-----------------------------------------------
Cause: COM. ibatis. sqlmap. Client. sqlmapexception: Error in xmlsqlmapc
Lientbuilder. Alias Name Conflict occurred. The alias 'channeldetail' is already mappe
D to the value 'null '.

------------------

Java. SQL. sqlexception: [Microsoft] [sqlserver 2000 driver for JDBC] Error establishing socket.

 

02008-8-20 8:01:15 org. Apache. Struts. Action. requestprocessor processexception
Warning unhandled exception thrown: Class java. Lang. nullpointerexception
8:01:15 org. Apache. Catalina. Core. applicationcontext log
Information: Java. Lang. nullpointerexception
SQL Server unavailable, dizzy

Severe: exception loading sessions from persistent Storage
Java. Io. invalidclassexception: COM. Form. applicationform; local class incompatible: stream classdesc serialversionuid =-542564554742344487, local class serialversionuid = 5322011595094940979

 

Warning unhandled exception thrown: Class java. Io. filenotfoundexception
9:42:04 org. Apache. Catalina. Core. applicationcontext log
Information: D:/EX/. Metadata/. plugins/COM. genuitec. Eclipse. easie. tomcat. myeclipse/tomcat/webapps/Praxis/upload (Access denied .)
GBK
This problem occurs when the file to be uploaded is empty.

Severe: exception loading sessions from persistent Storage
Java. Io. writeabortedexception: Writing aborted; Java. Io. notserializableexception: COM. VO. operationapplicationformvo

GBK
0java. SQL. sqlexception: [Microsoft] [sqlserver 2000 driver for JDBC] [sqlserver] An error occurred while converting the Data Type nvarchar to numeric.
Change numeric in the database to varchar.

Warning Cannot serialize session attribute applicationform for session 37b0300c3e6aa8b4075ade8c42116032
Java. Io. notserializableexception: COM. VO. operationapplicationformvo
When the server is restarted, the program is not affected, probably because sesseion has a value not closed.

Severe: Invalid path/newoperation was requested
<A href = ".../newoperation. do? Action = basicinfoformgo "> process new business </a>

21:54:14 org. Apache. Catalina. Core. applicationcontext log
Information:/newoperation/attachfile. jsp (62, 4) The end tag "& lt;/logic: notempty" is unbalanced
JSP page Error

21:56:22 org. Apache. Struts. Action. requestprocessor processmapping
Severe: Invalid path/newoperation/action was requested
GBK
Same as the previous issue

Severe: servlet action threw unload () exception
Javax. servlet. servletexception: servlet. Destroy () for servlet action threw exception

 

Severe: 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 ".

Severe: exception sending context initialized event to listener instance of class org. springframework. Web. Context. contextloaderlistener
Org. springframework. beans. factory. cannotloadbeanclassexception: cannot find class [gmt.boss.com. goldmind. qdgl. channelcleararrearage. action. arrearcompanydata. arrearcompanyapplyaction] for bean with name 'scopedtarget. cleararrearagecompanyapply 'defined in servletcontext resource [/WEB-INF/applicationcontext_test.xml]; Nested exception is Java. lang. classnotfoundexception: gmt.boss.com. goldmind. qdgl. channelcleararrearage. action. arrearcompanydata. arrearcompanyapplyaction
Caused by: Java. Lang. classnotfoundexception: gmt.boss.com. goldmind. qdgl. channelcleararrearage. Action. arrearcompanydata. arrearcompanyapplyaction

 

Warning unhandled exception thrown: Class java. Io. filenotfoundexception
2008-8-21 6:35:30 org. Apache. Catalina. Core. applicationcontext log
Information: D:/programfile/tomcat 6.0/webapps/Praxis/upload/ceceerror.doc (the specified path cannot be found .)

Severe: 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 Not Configured

Severe: servlet. Service () for servlet default threw exception
Org. springframework. Beans. Factory. nosuchbeandefinitionexception: No bean named 'issuanceinfologicdao 'is defined
Return (issuanceinfologicdao) webapplicationcontext. getbean ("issuanceinfologicdao") in the baseaction. Java file ");
Issuanceinfologicdao (in logicdao) corresponds to bean in Application

Severe: servlet. Service () for servlet default threw exception
Java. Lang. nosuchmethodexception: COM. highcom. Action. informationissuance. getoneinfo ()
At java. Lang. Class. getmethod (unknown source)
The action method cannot contain parameters.

Severe: 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)

Severe: servlet. Service () for servlet default threw exception
Org. Apache. Jasper. jasperexception:/informationissuance/upd_information.jsp (23, 64) equal symbol expected

<S: URL action = "Save? Issuanceinfo = <s: property value = "issuanceinfo"> "id =" loginurl "> </S: URL>
<S: form name = "theform" method = "Post" Action = "% {loginurl}">
<S: property value = "issuanceinfo"> the obtained value is not an object.
Action cannot be an object

Severe: 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 file not changed

Servlet. Service () for servlet default threw exception
Java. Lang. nullpointerexception
At com.highcom.action.informationissuance.informationissuance.exe cute (informationissuance. Java: 19)

Severe: 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. cannotloadbeanclassexception: cannot find class [COM. highcom. dao. infomationissuance. issuanceinfodao] for bean with name 'issuanceinfodao 'defined in servletcontext resource [/WEB-INF/applicationcontext. XML]; Nested exception is Java. lang. classnotfoundexception: COM. highcom. dao. infomationissuance. issuanceinfodao
The word spelling in applilcationcontext. XML is incorrect.

Severe: servlet. Service () for servlet default threw exception
Java. Lang. nosuchmethodexception: COM. highcom. Action. informationissuance. informationissuance. Create ()
In struts2 action, there is no parameter for the method. I added the parameter in create ().

Severe: 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)

Severe: couldn't find a destroy method named 'close' on bean with name 'sessionfactory'
10:26:34 org. springframework. Web. Context. contextloader initwebapplicationcontext
Severe: 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 'railwayinfodao 'while setting bean property 'railwayinfodao'; Nested exception is Org. springframework. beans. factory. nosuchbeandefinitionexception: No bean named 'railwayinfodao 'is defined
NO content in railwayinfodao or railwayinfoaciton

Severe: servlet. Service () for servlet default threw exception
Org. hibernate. hql. Ast. querysyntaxexception: station is not mapped [from station, stage where station. Signs = '1' and station. stageby1_station. stageid = stage. stageid]
The original hql Statement of station is also case sensitive.

Severe: servlet. Service () for servlet default threw exception
Org. springframework. Beans. propertybatchupdateexception; Nested propertyaccessexception details (1) are:
Propertyaccessexception 1:
Org. springframework. beans. typemismatchexception: failed to convert property value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype'; Nested exception is Java. lang. illegalargumentexception: cannot convert value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype': no matching editors or conversion strategy found
Caused by: Java. lang. illegalargumentexception: cannot convert value of Type [cn.com. goldmind. CRM. test. action. booktypeaction $ enhancerbycglib $20332272] to required type [cn.com. goldmind. CRM. test. entity. booktype] for property 'booktype': no matching editors or conversion strategy found
<Bean id = "booktype" in applicatcioncontext_text.xml"
Class = "cn.com. goldmind. CRM. Test. Action. booktypeaction"
Scope = "session">
<Property name = "booktypedao">
<Ref bean = "booktypedaoproxy"/>
</Property>
<AOP: S
Booktype and entity class are renamed again, just change it

Severe: 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.

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]
14:29:01 [Org. springframework. JDBC. support. sqlerrorcodesfactory]-[info] sqlerrorcodes loaded: [DB2, Derby, H2, hsql, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
There is no error, that is, it cannot be inserted into the database.
No error because you try to catch... Java. SQL. sqlexception missing comma (comma) error .. This is because one more word exists in the SQL statement.

Caused:
Org. springframework. AOP. Framework. aopconfigexception: cannot proxy target class because cglib2 is not available. Add cglib to the class path or specify proxy interfaces.
.. There are two other types of 317k available, with fewer errors

Root Cause of servletexception.
Org. springframework. beans. factory. beancreationexception: Error creating bean with name 'scopedtarget. cleararrearagecompanyapply ': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; Nested exception is Java. lang. illegalstateexception: no thread-bound request found: Are you referring to request attributes Outside of an actual Web request? If you are actually operating within a Web request and still receive this message, your code is probably running outside of dispatcherservlet/dispatcherportlet: in this case, use requestcontextlistor requestcontextfilter to expose the current request.
At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 302)
At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 160)
At org.springframework.aop.tar get. simplebeantargetsource. gettarget (simplebeantargetsource. Java: 33)
At org. springframework. AOP. Framework. cglib2aopproxy $ dynamicadvisedinterceptor. gettarget (cglib2aopproxy. Java: 662)
At org. springframework. AOP. Framework. cglib2aopproxy $ dynamicadvisedinterceptor. Intercept (cglib2aopproxy. Java: 612)
Truncated. See log file for complete stacktrace
Java. Lang. illegalstateexception: no thread-bound request found: Are you referring to request attributes outside of an actual Web request? If you are actually operating within a Web request and still receive this message, your code is probably running outside of dispatcherservlet/dispatcherportlet: in this case, use requestcontextlistor requestcontextfilter to expose the current request.
At org. springframework. Web. Context. Request. requestcontextholder. currentrequestattributes (requestcontextholder. Java: 102)
At org. springframework. Web. Context. Request. sessionscope. Get (sessionscope. Java: 88)
At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 283)
At org. springframework. Beans. Factory. Support. abstractbeanfactory. getbean (abstractbeanfactory. Java: 160)
At org.springframework.aop.tar get. simplebeantargetsource. gettarget (simplebeantargetsource. Java: 33)
Truncated. See log file for complete stacktrace

1. Result 'null' not found, because <result name = "error"> type = "Redirect-action" is missing"

2. <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/> to be placed above <titel> <title>, otherwise, it is not garbled or displayed.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.