Java. lang. NoClassDefFoundError: ognl/PropertyAccessor solution, ognl expression

Source: Internet
Author: User
Tags propertyaccessor

Java. lang. NoClassDefFoundError: ognl/PropertyAccessor solution, ognl expression

I didn't want to write a special article for this article, but I found that no one answered such a simple question. From the perspective of convenient search, I took this question specially.

In fact, the solution is to add the jar package of ognl. For example, I use ognl3.0.6, as shown in:


Struts2 cannot run. There is a pilot package, but it is 404

Struts2-gxp-plugin-2.3.16.3.jar this package seems incomplete
 
Myeclipse tomcat startup error javalangNoClassDefFoundError: ognl/PropertyAccessor

This package was added later, and has it been re-released in tomcat; otherwise, there is no package in tomcatl.

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.