I added my java project to github using the git plugin in eclipse. I even added src directory and committed. After I committed The programs says that that class User which is in the package in.jcap.sanctuary.pojo is not a type.
I restarted the project many times, but after committing to the git repository if I create any new class in eclipse I get the same error as above. I get the following error "An error occurred at line: 14 in the generated java file Only a type can be imported. in.jcap.sanctuary.pojo.User resolves to a package"