0

I am having a problem with a Java Class which keeps saying me the package I am trying to import doesn't exist but as you can see the package exist. The package name is SecuGen and it exist in the folder.

enter image description here

Community
  • 1
  • 1
  • Do you mean 'exist' instead of 'exit'? – Andrew Fan Jan 09 '19 at 15:30
  • 1
    Have you successfully imported this package into other classes? If not, maybe the uppercase is the problem, see [this question](https://stackoverflow.com/questions/12534302/why-should-java-package-name-be-lowercase) – deHaar Jan 09 '19 at 15:40
  • I tried lowercase still got the same problem, unfortunately – DoctorDroid Haiti Jan 09 '19 at 15:43
  • 1
    if you are using _Eclipse_ then try with _refresh_ and _clean build_. – Shaunak Patel Jan 09 '19 at 15:51
  • 1
    May [this post](https://stackoverflow.com/questions/5117237/why-is-my-eclipse-java-package-being-treated-as-a-folder) helps you? – juanlumn Jan 09 '19 at 15:51
  • What does say the package exists? Is it the IDE you're using or the Java compiler? If it is the IDE did you set the source path correctly? If it is the compiler how do you call it? You are also only showing us the directory `SecuGen` exists, what about the subdirectories? – Thomas Jan 09 '19 at 15:52
  • I fixed it , I don't really know what I did, but it seems to work know – DoctorDroid Haiti Jan 09 '19 at 15:59

1 Answers1

1

check your classpath in your IDE. do a clean and build