java - 端口打开时tomcat服务器未启动
问题描述
我使用调试器模式运行我的 tomcat9 服务器并出现以下错误
'#export' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#export' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#JDK_JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.
'#CATALINA_HOME' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'#CATALINA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
'LOGGING_MANAGER' is not recognized as an internal or external command,
operable program or batch file.
'LOGGING_CONFIG' is not recognized as an internal or external command,
operable program or batch file.
'JAVA_OPTS' is not recognized as an internal or external command,
operable program or batch file.
Using CATALINA_BASE: "C:\Program Files\Tomcat-9"
Using CATALINA_HOME: "C:\Program Files\Tomcat-9"
Using CATALINA_TMPDIR: "C:\Program Files\Tomcat-9\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk-11.0.4"
Using CLASSPATH: "C:\Program Files\Tomcat-
9\bin\bootstrap.jar;C:\Program Files\Tomcat-9\lib\log4j-jul-
2.6.2.jar;C:\Program Files\Tomcat-9\lib\log4j-core-2.6.2.jar;C:\Program
Files\Tomcat-9\lib\log4j-api-2.6.2.jar;C:\Program Files\Tomcat-
9\bin\tomcat-juli.jar"
我的java版本是11,我正确设置了路径,没关系,我还尝试使用“catalina.bat jpda start”命令使用不同的端口号启动tomcat9服务器,但出现上述错误,这是什么原因?
解决方案
推荐阅读
- angular - SyntaxError:“JSON.parse:JSON 数据第 1 行第 1 列的意外字符”
- javascript - 在 audio.play() 歌曲未触发
- excel - 从特定工作表复制数据并保存在现有工作表“草稿”中
- javascript - 如何禁用轨迹球旋转事件并调用自定义旋转事件并在自定义事件中设置旋转速度
- arrays - typescript 是否能够理解数组是否为非空并相应地推断某些数组方法的类型?
- angular - 与全局变量的两种方式绑定
- angularjs - 在组件angularjs中单击提交时调用父函数
- python - PyQt5 - 调整大小(限制最大大小)输入对话框
- css - 固定 JSF 页面对话框中按钮的位置
- javascript - 数据表隐藏/显示列