Question

I referred http://docs.broadleafcommerce.org/core/current/getting-started to get started with broadleaf commerce. While everything is good with installation, when i run the application as mentioned i get 2 errors. They are as below:

  1. Database creation error: This error comes while starting jetty server.

SchemaExport - HHH000389: Unsuccessful: alter table BLC_TRANS_ADDITNL_FIELDS drop constraint FK376DDE4B9E955B1D SchemaExport - user lacks privilege or object not found: PUBLIC.BLC_TRANS_ADDITNL_FIELDS

  1. Static resoure mapping error: This error comes while i load any page which has image on it. Below are the details.

StaticAssetViewController - Unable to retrieve static asset Failed to delete original file 'C:\user\AppData\Local\Temp\30\95\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg' after copy to 'C:\user\AppData\Local\Temp\img\sauces\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg'

Note: StaticAssetView issue was resolved in BLC 3.2.

No correct solution

OTHER TIPS

The database error shouldn't be an issue. When the app starts it first tries to clean the DB by dropping everything. If the tables or constraints don't exist you get this error and that is fine, later on in the start up sequence it will create all these DB objects.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top