javax.servlet.ServletException: org.springframework.orm.hibernate3.HibernateQueryException: users is not mapped. [select us from users us where us.username=? and password=?]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: users is not mapped. [select us from users us where us.username=? and password=?]
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)是哪里错了?提示是DAO类里?
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)是哪里错了?提示是DAO类里?
如果是sql :select us.* from users us where us.username=? and password=?]
如果是sql :select us.* from users us where us.username=? and password=?]