I made some progress, but have another exception :
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.MappingException: Unknown entity: com.stockdomain.domain.Stock
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Meanwhile, I'll post the changes I did.
I added "<property name="annotatedClasses">" into the session bean Id.
the context xml
I also removed @Transactional annotation on the method in StockDAOImpl.java.
the class looks like this now.
I'll post a new
thread for this new exception.