简体   繁体   中英

The hierarchy of the type CLASSNAME is inconsistent when extending DefaultFtpSessionFactory

I'm brand new to Spring, and I'm facing a real problem, and I didn't know how to solve

when I extend DefaultFtpSessionFactory , the compiler gets annoyed telling me that The hierarchy of the type CLASSNAME is inconsistent .

I searched a lot and found that this could happen when there are classes that are needed, which are not in the Build path.

Does anybody know the how-to deal with such compilation issue ?

Thanks in advance.

我想知道您是否使用了一些有用的“依赖关系管理”工具,例如Maven或Gradle,并将spring-integration-ftp作为项目的依赖项,并允许该工具选择所需的可传递依赖项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM