SyntaxFix
Write A Post
Hire A Developer
Questions
Check your imports. There could be two classes with the same name. Either from your code or from a library you are using. Personally that was the issue.