当前位置:网站首页>踩坑:nacos利用startup.cmd -m standalone启动错误
踩坑:nacos利用startup.cmd -m standalone启动错误
2022-04-23 05:31:00 【正在努力打工...】
1.报错信息:
PS D:\SpringCloud\nacos\nacos\bin> startup.cmd -m standalone
startup.cmd : 无法将“startup.cmd”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,
请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ startup.cmd -m standalone
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (startup.cmd:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: 找不到命令 startup.cmd,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加 载命令。如果信任此命令,请改为键入“.\startup.cmd”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
PS D:\SpringCloud\nacos\nacos\bin>
2.解决方法:
Suggestion [3,General]: 找不到命令 startup.cmd,但它确实存在于当前位置。默认情况下,Windows PowerShell 不会从当前位置加 载命令。如果信任此命令,请改为键入“.\startup.cmd”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
PS D:\SpringCloud\nacos\nacos\bin> .\startup.cmd -m standalone
"nacos is starting with standalone"
,--.
,--.'|
,--,: : | Nacos 1.4.1
,`--.'`| ' : ,---. Running in stand alone mode, All function modules
| : : | | ' ,'\ .--.--. Port: 8848
: | \ | : ,--.--. ,---. / / | / / ' Pid: 4992
| : ' '; | / \ / \. ; ,. :| : /`./ Console: http://192.168.174.1:8848/nacos/index.html
' ' ;. ;.--. .-. | / / '' | |: :| : ;_
| | | \ | \__\/: . .. ' / ' | .; : \ \ `. https://nacos.io
' : | ; .' ," .--.; |' ; :__| : | `----. \
| | '`--' / / ,. |' | '.'|\ \ / / /`--' /
' : | ; : .' \ : : `----' '--'. /
; |.' | , .-./\ \ / `--'---'
'---' `--`---' `----'
就是我按照提示在命令前面加上了一个 .
也就是输入了 .\startup.cmd -m standalone
这个命令就启动好了。
(具体原因我也不知道是为什么)
3.踩坑2:
后来我复制他输出的网页(http://192.168.174.1:8848/nacos/index.html)使用360浏览器搜索,但是一直没有启动出来,直接是什么都没有显示的状态。
解决方法:后来我又换了一个 浏览器就可以搜索到页面了!
版权声明
本文为[正在努力打工...]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43899452/article/details/124340013
边栏推荐
- Uniapp hot update with progress bar
- Multiple mainstream SQL queries only take the latest one of the data
- Use pagoda + Xdebug + vscode to debug code remotely
- 狼叔来找翻译人员了--plato--持续翻译中.....
- Call the interface to get the time
- Intel SGX preliminary learning and understanding notes (continuously updated)
- OSI层常用协议
- Xiuxian real world and game world
- MySQL series - install MySQL 5.6.27 on Linux and solve common problems
- Use of qwbengneview and qwebchannel.
猜你喜欢
After adding qmenu to qtoolbutton and QPushButton, remove the triangle icon in the lower right corner
QSS, qdateedit, qcalendarwidget custom settings
跨域CORS的情缘~
Laravel routing settings
what is wifi6?
2021-10-12
phphphphphphphp
Box collapse and margin collapse
Cross platform packaging of QT packaging program
Intel SGX preliminary learning and understanding notes (continuously updated)
随机推荐
Use of uniapp native plug-ins
JVM memory and memory overflow exceptions (personal summary)
Executable program execution process
After adding qmenu to qtoolbutton and QPushButton, remove the triangle icon in the lower right corner
Excel 2016 打开文件第一次打不开,有时空白,有时很慢要打开第二次才行
catkin_package到底干了什么
史上最强egg框架的error处理机制
分支与循环语句
创建进程内存管理copy_mm - 进程与线程(九)
es6数组的使用
Add two pointers? (legal or illegal)
Several examples of pointer transfer, parameter transfer, value transfer, etc
弘玑Cyclone RPA为国金证券提供技术支撑,超200个业务场景实现流程自动化
Edit, cancel, pull up menu
Traversal array, object parent-child communication props / $emit
Xiuxian real world and game world
selenium預先加載cookie的必要性
弘玑|数字化时代下,HR如何进行自我变革和组织变革?
open3d材质设置参数分析
Some pits used by uni