[Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat

[Solved] Nacos1.3.2 Startup Error: Unable To Start Embedded Tomcat

Recently, I began to plan to study springcloud-alibaba, so I downloaded the Nacos set up bundle on the GitHub official web site, and located an error on startup.

Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

Error message: Unable to start embedded Tomcat
the built-in Tomcat can’t be loaded.

Opened the conf folder and noticed a nacos-mysql.sql
It appears to import a database script, so I created a database named nacos within the native database
and executed this sql script, which generated some tables.

With a database and tables, we should change the configuration.
So I opened utility.properties with an editor
I noticed that there’s a place to configure the db, so I modified it.

Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

After saving
enter the bin listing once more and double-click startbat.cmd to start.

I discovered that I nonetheless reported an error.

1662278914 467 Solved Nacos132 Startup Error Unable To Start Embedded Tomcat
Caused by: java.web.UnknownHostException: jmenv.tbsite.web

Here I’ve modified the configuration file once more, however it has no impact.

The key level is that in startup, I seen a message,
Nacos has been began in cluster mode. Cluster listing is []

I’m wondering if that is the issue, as a result of I clicked run and didn’t configure the Nacos cluster.

So I exploit the editor to open the startup.cmd within the dictory bin
see a key message

1662278918 145 Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

Here you’ll be able to configure click on mode startup, so attempt to change the startup configuration to click on mode startup

READ :  sql – Postgres trigger refreshing a materialized view not working after some time – Code Utility

1662278922 108 Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

Exit after saving. Double click on the startup file startup.cmd

It began usually this time.

1662278927 107 Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

Enter in Browser: localhost:8848/nacos/index.html

Normally entry the Nacos configuration heart.

1662278930 600 Solved Nacos132 Startup Error Unable To Start Embedded Tomcat

bazel Compile Error: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14…

An error is reported when compiling a software program utilizing bazel, and the error message is: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14...
Avatar Of Budi Setiawan Budi Setiawan
1 min read

Leave a Reply

Your email address will not be published.