我试图通过netbeans在我的电脑上启动TomCat实例用于测试目的...我首先从网站下载Tomcat 7.0.69,然后在我的doc文件夹中解压缩并在NetBeans 8中创建一个新服务器(工具 - >服务器 - >添加服务器)。当我运行服务器时,我收到此消息:
“127.0.0.1”非èriconosciuto来自comando interno o esterno, un programma eseguibile o un file batch。
翻译:
“127.0.0.1”不被识别为内部或外部命令,可操作程序或批处理文件。
怎么了?我该如何解决这个问题?
谢谢!
答案 0 :(得分:2)
in bin/catalina.bat, change from
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%"
到
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
REF:this
答案 1 :(得分:0)
对于apache-tomee-plume-8.0.0,我修改了catalina.bat:
来自:
set "JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS%"
rem Register custom URL handlers
rem Do this here so custom URL handles (specifically 'war:...') can be used in the security policy
set "JAVA_OPTS=%JAVA_OPTS% -Djava.protocol.handler.pkgs=org.apache.catalina.webresources"
收件人:
set JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS%
rem Register custom URL handlers
rem Do this here so custom URL handles (specifically 'war:...') can be used in the security policy
set JAVA_OPTS=%JAVA_OPTS% -Djava.protocol.handler.pkgs=org.apache.catalina.webresources