" 'case' is not a Valid Java identifer"

Asked

Viewed 21 times

0

I have a question. I am trying to create a springboot project from scratch, but when I try to change the name of my package, I have this problem. When I put any name other than "case" in the middle of the package, sure. inserir a descrição da imagem aqui

1 answer

2


Alexsander,

Straightforward, case is a reserved word and cannot be used in the package name.

See the full list in the documentation here

I hope I’ve helped

Browser other questions tagged

You are not signed in. Login or sign up in order to post.