6

I suddenly started facing a strange issue while working on my Grails application using IntelliJ. I have different domain classes and some other classes under src/groovy. When I open a class file to make some changes, I get an error that this class already exists in package which I don't have. I tried to rename the class using refactor but after that I still get the same error.

Can anybody suggest what's wrong here or if I did something wrong?

doelleri
  • 19,232
  • 5
  • 61
  • 65
Bilal Ahmed Yaseen
  • 2,506
  • 2
  • 23
  • 48
  • Now, Even I create a new Domain Class, Service or Grails Job for the very first time, I get this error – Bilal Ahmed Yaseen Dec 03 '14 at 07:21
  • Maybe related: https://stackoverflow.com/q/38722853/437212 or https://stackoverflow.com/q/26987237/437212 –  Mar 11 '20 at 20:41

1 Answers1

0

Try to "Clear" you project and build again.

Misha
  • 433
  • 4
  • 10