404 for http://localhost:8080/shop

151 views
Skip to first unread message

Subbu

unread,
Aug 27, 2020, 1:41:44 PM8/27/20
to Shopizer
Hi,

I am trying to run shopizer-2.11.0. 

Build is successful. Application start also was also fine without any errors, and could see the message " Started ShopApplication" in console.

But when I access http://localhost:8080/shop, get error 404. And a WARN message "firstResult/maxResults specified with collection fetch; applying in memory!" in console.

Please help.

carlo

unread,
Aug 28, 2020, 9:06:34 AM8/28/20
to Shopizer
What are the steps you used to build and how do you run the app ?

try as indicated:

cd shopizer
mvnw clean install
cd sm-shop
mvnw spring-boot:run

Subbu

unread,
Aug 28, 2020, 9:25:14 AM8/28/20
to Shopizer
Hi Carlo,

I ran the same commands, in same order you have mentioned. 

I think "shopizer" is the root folder of downloaded source. I my case I have left the folder name as "shopizer-2.11.0". 

During build I got one error:
                   
Caused by: java.net.ConnectException: Timeout connecting to [localhost/127.0.0.1:9200]
But all modules got build successfully: 
   [INFO] shopizer ........................................... SUCCESS
   [INFO] sm-core-model ...................................... SUCCESS
   [INFO] sm-core-modules .................................... SUCCESS
   [INFO] sm-core ............................................ SUCCESS
   [INFO] sm-shop-model ...................................... SUCCESS
   [INFO] sm-shop ............................................ SUCCESS

Application starts fine. But when I access http://localhost:8080/shop, get error 404.

Please help.

carlo

unread,
Sep 26, 2020, 8:46:14 PM9/26/20
to Shopizer
This is an issue when trying to connect to elasticsearch but it is not necessary

Any errors in the console during startup other than connect error to 9200 ?

Are you using

./mvnw clean install
cd sm-shop
./mvnw spring-boot:run
Reply all
Reply to author
Forward
0 new messages