ikismail / ShoppingCart

E-Commerce Website Using Java - Spring MVC in Maven - PROJECT IS NOT MAINTAINED
MIT License
360 stars 406 forks source link

Home page is showing 404 error #28

Closed pallesp closed 6 years ago

pallesp commented 6 years ago
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: cartitem
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: customer
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: customerorder
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: item
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: query
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: shippingAddress
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: users
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: authorities
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: billingAddress
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: cart
Jun 06, 2018 11:27:31 AM org.hibernate.tool.hbm2ddl.DatabaseMetadata getTableMetadata
INFO: HHH000262: Table not found: cartitem

I see the tomcat is starting properly and home page is not loading and its showing 404. How should I configure database, do I need to add entried into the tables before the start of application ?

ikismail commented 6 years ago

This issue will happen when the DB does not contains the tables, Can you please login to DB and check the tables exist or not ?

pallesp commented 6 years ago

I am not sure how to login into DB ? I tried opening the console from Libraries (h2.jar), some time its opening the console in browser and sometimes it shows error? Could how tell me how should I open console. If possible send me the notes about how to add the db config.

On Wed, Jun 6, 2018 at 11:38 AM, Mohammed Ismail notifications@github.com wrote:

This issue will happen when the DB does not contains the tables, Can you please login to DB and check the tables exist or not ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ikismail/ShoppingCart/issues/28#issuecomment-394951233, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBQfZSHwQOzqU6UECuWukbrMPDx7PZcks5t53HvgaJpZM4UcB9u .

-- sai krishna

pallesp commented 6 years ago

I logged in and I could see the tables are there in the DB

On Wed, Jun 6, 2018 at 11:57 AM, palle sai krishna pallesai1995@gmail.com wrote:

I am not sure how to login into DB ? I tried opening the console from Libraries (h2.jar), some time its opening the console in browser and sometimes it shows error? Could how tell me how should I open console. If possible send me the notes about how to add the db config.

On Wed, Jun 6, 2018 at 11:38 AM, Mohammed Ismail <notifications@github.com

wrote:

This issue will happen when the DB does not contains the tables, Can you please login to DB and check the tables exist or not ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ikismail/ShoppingCart/issues/28#issuecomment-394951233, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBQfZSHwQOzqU6UECuWukbrMPDx7PZcks5t53HvgaJpZM4UcB9u .

-- sai krishna

-- sai krishna