#java #tomcat #netbeans
#java #tomcat #netbeans
Вопрос:
This is how it worked for me. 1) Go to **/Downloads/apache-tomcat-9.0.37/conf** In the server.xml file, in the Connector element for HTTP/1.1, add the following attribute: server="Apache-Coyote/1.1". Example: <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" server="Apache-Coyote/1.1" /> 2) Go to netbeans8.2 . app -> right click show package contents ->contents->resources->netbeans->enterprise->modules-> then you can find and replace the file ("org-netbeans-modules-tomcat5.jar") with "https://issues.apache.org/jira/secure/attachment/12994224/org-netbeans-modules-tomcat5.jar"
https://issues.apache.org/jira/secure/attachment/12994224/org-netbeans-modules-tomcat5.jar
Ответ №1:
завершите процесс после поиска идентификатора процесса ps -ef|grep tomcat
затем kill -9 <processid>
Затем запустите tomcat снова.
Комментарии:
1. Проблема в netbeans. Сервер Apache tomact запускается нормально с ./catalina.sh запустить команду, но из netbeans она не запускается