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
then Spring Boot prints out an error and that's correct but in the second case it doesn't specify location of the class where bean is declared (just "null"):
Parameter 0 of method server in demo.AppConfig required a single bean, but 2 were found:
- demo.MemoryWriter: defined in null
- memoryWriter: defined in file [c:\demo\target\classes\demo\MemoryWriter.class]