What does this error mean? and how can i possibly fix it?
Code:
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar []; nested exception is java.sql.SQLException: Table not found in statement [select photo0_.id as id, photo0_.location as location, photo0_.photographer as photogra3_, photo0_.datetaken as datetaken, photo0_.description as descript5_ from Photo photo0_]
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:406)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:358)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar []; nested exception is java.sql.SQLException: Table not found in statement [select photo0_.id as id, photo0_.location as location, photo0_.photographer as photogra3_, photo0_.datetaken as datetaken, photo0_.description as descript5_ from Photo photo0_]
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:224)
org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:364)
org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:351)
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:369)
org.springframework.orm.hibernate.HibernateTemplate.find(HibernateTemplate.java:705)
org.springframework.orm.hibernate.HibernateTemplate.find(HibernateTemplate.java:684)
src.db.PhotoDaoHib.getPhotoinfoList(PhotoDaoHib.java:17)
src.bus.PhotoManager.getPhotos(PhotoManager.java:18)
src.controller.PhotoinfoController.onSubmit(PhotoinfoController.java:23)