`

It is indirectly referenced from required .class错误

 
阅读更多

在eclipse中遇到The type *** cannot be resolved。It is indirectly referenced from required .class files 的错误时,其解决方法如下:

1、因为类在调用时,估计有可能涉及到很多层,存在类缺失的问题,这个时候导入所缺少的包,就可以解决问题

 

2、正确的配置Java builder path

分享到:
评论

相关推荐

    Java编程排错技巧

    It is indirectly referenced from required .class files  调试Reflact时,Eclipse一直提示The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files。...

    apache-ant-1.8.2.jar

    The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files错误....., 解决办法:在工程中加入此jar包

    httpcomponents-client-4.5.5-bin和src_20180518.zip

    It is indirectly referenced from required .class > ★BasicNameValuePair cannot be resolved to a type > ★HttpPost cannot be resolved to a type > ★NameValuePair cannot be resolved to a type > ★...

    apache-ant-1.8.2.jar DDD

    The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files 部署openfire4.2.1

    j2objc-annotations-1.1.jar

    The type com.google.j2objc.annotations.ReflectionSupport$Level cannot be resolved. It is indirectly referenced from required .class files

    spring-tx-4.2.2.RELEASE.jar

    The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files 解决方法: 导入spring-tx-4.2.2.RELEASE.jar包。

    xmlpull_1_0_5.jar和xstream-1.4.jar

    The type org.xmlpull.v1.XmlPullParser cannot be resolved. It is indirectly referenced from required .class files报错时导入xmlpull_1_0_5.jar

    validation-api-2.0.0.Final.jar

    validation-api-2.0.0.Final.jar 主要用于支持Maven项目,缺失可引起以下异常The type javax.validation.Payload cannot be resolved. It is indirectly referenced from required .class files

    spring-tx.jar

    The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced异常缺少的包

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFlexControl.Invalidate and can be overriden (it is possible now to catch all object invalidation calls). - FIX: The TFlexPanel....

    The Component Object Model Specification

    Microsoft assumes no responsibility for any damages that might occur either directly or indirectly from these inaccuracies. Microsoft may have trademarks, copyrights, patents or pending patent ...

    Pro MERN Stack(Apress,2017)

    Facebook’s React is a technology that competes indirectly with AngularJS. It is not a full-fledged MVC framework. It is a JavaScript library for building user interfaces (in some sense the View part)...

    C# Game Programming Cookbook for Unity 3D - 2014

    4.2 The Timer Class....................................................43 4.2.1 Script Breakdown..........................................45 4.3 Spawn Scripts.............................................

    hibernate-shards.jar

    of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence ...

    .VMware.vSphere.5.x.Datacenter.Design.Cookbook.Jan.2014

    However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for...

    Universal-USB-Installer

    the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be ...

    微软内部资料-SQL性能优化2

    To reserve or commit memory and unintentionally not release it when it is no longer being used. A process can leak resources such as process memory, pool memory, user and GDI objects, handles, threads...

    BIP_v1.2.1.pdf

    in which it is contained – directly or indirectly. For example, the Basic Imaging profile is dependent on the Generic Object Exchange, Serial Port (for compatibility with devices implementing ...

    WizFlow网页编辑

    of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence ...

Global site tag (gtag.js) - Google Analytics