弹簧引导提供了一个运行应用程序的演示示例./mvnw spring:在使用构建框架maven的情况下,在“完整”文件夹/目录中使用运行命令。我在windows power和命令提示符中尝试了这个命令,但是它显示了消息"Spring这次出乎意料“。
E:
├───src
├───main
│ ├───java
│ │ └───com
│ │ └───example
│ │ └───demo
│ └───resources
└───test
└───java
└───com
└───example
└───demo我正在使用Windows 7。命令提示符内容如下:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
E:\MyLearnings(Tech Front)\Spring Boot Learning\gs-spring-boot-master\gs-spring-boot-master\complete>mvnw spring-boot:run
\Spring was unexpected at this time.
E:\MyLearnings(Tech Front)\Spring Boot Learning\gs-spring-boot-master\gs-spring-boot-master\complete>./mvnw spring-boot:run
'.' is not recognized as an internal or external command, operable program or batch file.
E:\MyLearnings(Tech Front)\Spring Boot Learning\gs-spring-boot-master\gs-spring-boot-master\complete>.\mvnw spring-boot:run
\Spring was unexpected at this time.
E:\MyLearnings(Tech Front)\Spring Boot Learning\gs-spring-boot-master\gs-spring-boot-master\complete>发布于 2021-03-29 06:43:20
我能够在以下命令的帮助下运行应用程序:
mvn spring-boot:runhttps://stackoverflow.com/questions/66509025
复制相似问题