The type XXX cannot be resolved. It is indirectly referenced from required. class files error

Source: Internet
Author: User

When The type XXX cannot be resolved. It is indirectly referenced from required. class files error... is encountered, The solution is as follows:
I. Error message: It is indirectly referenced from required. class file error solution

Cause: The class you are about to use calls another class, and this class calls other classes. This relationship may have many layers. During this call, the missing package of a class will cause the above error.

Solution: import the missing package

II:
The project was not built since its build path is incomplete. Cannot find the class file for java. lang. Object. Fix the build path then try building this project

The type java. lang. Object cannot be resolved. It is indirectly referenced from required. class files

Outbound? Above? Why? How many times does zookeeper B exist ?? What is the version of jre or jdk ?? S. Ben ?? Is clipse being created? 0? R ,???? Why? Re road? Sword ???? Version?]? Method.
You can only hand it? Yong ?? Hellip;
1 .? Enter windowpreferencesjavaInstalled JREs
1) press Add
2 )? Enter JRE Name, for example, JDK1.5.0.03.
3) JRE home directory ,?? What is the path of Branch B?
4) Press OK
2 .? Enter ProjectpropertiesJava Bulid Path
1) Add library
2 )? After JRE System Library, press Next
3 )? Click finish after the workplace default JRE...

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.