Could not initialize class Org.apache.xpath ...

Source: Internet
Author: User
Tags xpath

Phenomenon
Eclipse/idea Tomcat does not start

[2018/04/26 14:42:24.893] [RMI TCP Connection (3) -127.0.0.1] WARN O.s.b.f.s.defaultlistablebeanfactory-bean creation exception on Non-lazy factorybean type Check:org.springframewo Rk.beans.factory.UnsatisfiedDependencyException:Error creating Bean with Name ' qsw0102mapper ' defined in file [D:\HR\ Ttap\quotation\svnhr\trunk\quotation_src\01 develop\quotation-web\target\quotation\web-inf\classes\com\ Quotation\web\workflow\mapper\qsw0102mapper.class]: Unsatisfied dependency expressed through Bean property ' Sqlsessionfactory ': Error creating Bean with Name ' sqlsessionfactory ' defined in URL [file:/d:/hr/ttap/quotation/svnhr/ Trunk/quotation_src/01%20develop/quotation-web/target/quotation/web-inf/classes/spring/applicationcontext.xml] : Invocation of Init method failed; Nested exception is java.lang.StackOverflowError; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Sqlsessionfactory ' defined in URL [file:/d:/hr/ttap/quotation/svnhr/trunk/quotation_src/01%20develop/quotation-web/target/quotation/web-inf/classes/spring/applicationcontext.xml ]: Invocation of Init method failed;  Nested exception is JAVA.LANG.STACKOVERFLOWERROR[2018/04/26 14:42:24.943][rmi TCP Connection (3) -127.0.0.1] WARN O.s.b.f.s.defaultlistablebeanfactory-bean creation exception on Non-lazy factorybean type check: Org.springframework.beans.factory.UnsatisfiedDependencyException:Error creating Bean with Name ' Qsw0102mapper ' defined in file [D:\HR\TTAP\Quotation\svnHR\trunk\Quotation_src\01 develop\quotation-web\target\quotation\web-inf\ Classes\com\quotation\web\workflow\mapper\qsw0102mapper.class]: Unsatisfied dependency expressed through bean Property ' Sqlsessionfactory ': the Error creating Bean with the name ' sqlsessionfactory ' defined in URL [file:/d:/hr/ttap/quotatio n/svnhr/trunk/quotation_src/01%20develop/quotation-web/target/quotation/web-inf/classes/spring/ Applicationcontext.xml]: Invocation of Init method failed; Nested exception is Java.lang.Noclassdeffounderror:could not initialize class org.apache.xpath.compiler.FunctionTable; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Sqlsessionfactory ' defined in URL [file:/d:/hr/ttap/quotation/svnhr/trunk/quotation_src/01%20develop/quotation-web /target/quotation/web-inf/classes/spring/applicationcontext.xml]: Invocation of Init method failed; Nested exception is java.lang.NoClassDefFoundError:Could not initialize class org.apache.xpath.compiler.FunctionTable

Reason
Multiple versions of the JDK are installed, and the environment variable java_home, the JDK version specified by the project, and the JDK version specified by Tomcat are not uniform.

Could not initialize class Org.apache.xpath ...

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.