简体   繁体   中英

“Using unpublished class” Eclipse warning

I'm getting the following warning message from Eclipse (yellow triangle near the code):

Multiple markers at this line
- Using unpublished class 
  package.SomeInterface
- Using unpublished class 
  package.SomeClass

Couldn't find references to the error message using search engines. Any ideas?

Edited: The class is public. The code is compiling and executing without any issues.

Maybe you've declared as private your class, you should post your code

public class SomeInterface{
...
code
}

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