Duplicate class error misleading

I get an error when trying to open a page. It says cannot inject a bean because its duplicate this is not the case. I ran a clean,

Now I cant logout

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Feb 27 21:22:19 CST 2022

There was an unexpected error (type=Internal Server Error, status=500).

BeanDefinitionOverrideException: Invalid bean definition with name ‘apt_SeleniumService’ defined in null: Cannot register bean definition [Generic bean: class [com.app.app.SeleniumService]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] for bean ‘apt_SeleniumService’: There is already [Generic bean: class [com.app.app.SeleniumService]; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\me\IdeaProjects\app\build\classes\java\main\com\app\app\SeleniumService.class]] bound.

when i refresh page i get.
{“timestamp”:“2022-02-28T03:27:34.705+00:00”,“status”:500,“error”:“Internal Server Error”,“path”:"/"}

Caused by: java.sql.SQLSyntaxErrorException: Table ‘app.persistent_logins’ doesn’t exist

this was the same issue with the buttons not working on my test screen… reverting to the previous version solved this for ONE run… second time… changes in the application were not reflecting.

2022-02-28 15:42:06.666 INFO 4124 — [nio-8080-exec-4] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’
2022-02-28 15:42:06.666 INFO 4124 — [nio-8080-exec-4] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’
2022-02-28 15:42:06.669 INFO 4124 — [nio-8080-exec-4] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
2022-02-28 15:42:07.153 WARN 4124 — [nio-8080-exec-8] c.v.spring.navigator.SpringViewProvider : No SpringViews found
2022-02-28 15:42:07.188 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.ScreensImpl@7dace42d] with name [ui_Screens] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.190 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.WebUrlRouting@2e592b14] with name [ui_UrlRouting] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.198 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.JmixApp@747594b2] with name [ui_App] in [SessionAwareBeanStore[id=57461588, name=Session:D7753FBAF88BE5486E9C746864F293E7]]
2022-02-28 15:42:07.203 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.exception.FileStorageExceptionHandler@65bb1edc] with name [ui_FileStorageExceptionHandler] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.494 INFO 4124 — [nio-8080-exec-8] io.jmix.ui.WindowConfig : WindowConfig initialized in 269 ms
2022-02-28 15:42:07.704 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.DialogsImpl@30af1841] with name [ui_Dialogs] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.711 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.NotificationsImpl@6cd053a6] with name [ui_Notifications] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.720 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.FragmentsImpl@7cf70189] with name [ui_Fragments] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:07.726 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.WebBrowserToolsImpl@6a9280b9] with name [ui_WebBrowserTools] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:08.712 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.WebHistory@7222e8c2] with name [ui_History] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:08.736 WARN 4124 — [nio-8080-exec-8] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.UrlChangeHandler@3df3934e] with name [ui_UrlChangeHandler] in [UIBeanStore[id=5aad71c6, name=UI:0]]
2022-02-28 15:42:09.035 WARN 4124 — [nio-8080-exec-2] org.atmosphere.util.IOUtils : More than one Servlet Mapping defined. WebSocket may not work org.apache.catalina.core.ApplicationServletRegistration@3b61405d
2022-02-28 15:42:28.032 INFO 4124 — [nio-8080-exec-2] eclipselink.logging.all : EclipseLink, version: Eclipse Persistence Services - 2.7.9.5-jmix