Open12

Hilla

Tomofumi Chiba@仙台Tomofumi Chiba@仙台

パッケージ違いの同名エンドポイントクラスが存在すると起動時にエラーになる。
frontend 側でディレクトリ違いで作成されるかと思ったがそうではない。
エラーで教えてくれるのでそれは嬉しいかもしれない。

Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'groceryEndpoint' for bean class [com.example.application.foo.GroceryEndpoint] conflicts with existing, non-compatible bean definition of same name and class [com.example.application.GroceryEndpoint]

パッケージ違いの同名モデルクラスが存在できる。