You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After generating pb files, I cannot rebuild the project with this error
Error:(10, 18) LoginFailed is already defined as case class LoginFailed
final case class LoginFailed(
Error:(56, 8) LoginFailed is already defined as object LoginFailed
object LoginFailed extends com.trueaccord.scalapb.GeneratedMessageCompanion[LoginFailed] {
The text was updated successfully, but these errors were encountered:
I found the problem. IntelliJ automatically marks two directories as "source root" so it tries to rebuild twice with the same files. Unmarking the "main" folder as a source root solves the problem.
After generating pb files, I cannot rebuild the project with this error
Error:(10, 18) LoginFailed is already defined as case class LoginFailed
final case class LoginFailed(
Error:(56, 8) LoginFailed is already defined as object LoginFailed
object LoginFailed extends com.trueaccord.scalapb.GeneratedMessageCompanion[LoginFailed] {
The text was updated successfully, but these errors were encountered: