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
I found how to fix it:
In com.jtspringproject.JtSpringProject.dao.userDao, funtion getUserByUsername, change:
"Query query = sessionFactory.getCurrentSession().createQuery("from User where username = :username", User.class);"
to
"Query query = sessionFactory.getCurrentSession().createQuery("from CUSTOMER where username = :username", User.class);".
The text was updated successfully, but these errors were encountered: