알 수없는 Tomcat 버전이 tomcat-7.0.42로 지정되었습니다.
내 이클립스에 최신 tomcat-7.0.42를 추가하고 싶습니다. 아마도 eclipse tomcat 서버 어댑터 7은 tomcat 버전 7.0.12까지만 지원합니다 ..
그러니 tomcat-7.0.42로 어떻게 내 이클립스를 구성 할 수 있습니까?
Tomcat 소스 디렉토리를 지정하고 있습니다.
CATALINA_HOME이라고도하는 tomcat 바이너리 설치 루트 디렉토리를 지정해야합니다.
일반적으로 여기에서 apache-tomcat-7.0.42.tar.gz
파일 압축을 풉니 다 .
Tomcat이 아직 다운로드 중이기 때문에 이런 일이 발생했습니다 ( Download and Install
). 메시지는 몇 분 후에 사라졌습니다.
Eclipse 창에는 실제로 다운로드 상태를 보여주는 진행률 표시기가 있어야합니다.
LINUX의 경우 Tomcat 7의 설치 디렉토리는 다음과 같습니다. / usr / share / tomcat7
이 구성을 사용하십시오.
더 여기 : http://gridlab.dimes.unical.it/lackovic/eclipse-tomcat-ubuntu-jersey/
Tomcat 설치 폴더를 인식하기 위해 Eclipse는 다음 파일을 스캔합니다.
conf/catalina.policy
conf/server.xml
conf/web.xml
conf/context.xml
conf/tomcat-users.xml
conf/catalina.policy
conf/catalina.properties
lib/catalina.jar
따라서 올바른 위치를 가리키고 있고 올바른 읽기 권한이 있는지 확인하십시오.
예
- OS X (를 통해 설치 한 경우
brew
) :/usr/local/opt/tomcat/libexec
- Linux / Ubuntu : 참조 : Tomcat 및 Eclipse 통합 오류
아마도 소스 폴더가있는 tomcat 디렉토리를 가리 키려고 할 것입니다. 여기 에서 tomcat 바이너리 버전을 다운로드 하세요 . Linux 환경의 경우 core 섹션에서 .zip 및 .tar.gz 파일을 찾을 수 있습니다. 다운로드하고 추출하십시오. 그 후이 추출 된 디렉토리를 가리키면 eclipse가 tomcat 버전을 식별 할 수 있습니다. 지적한 디렉토리에 conf 폴더가 포함되어 있지 않기 때문에 Eclipse는 tomcat의 버전을 찾을 수 없습니다. 도움이 되었기를 바랍니다!
Tomcat을 설치해야하는 디렉토리를 제공하고 확인을 클릭하면 Eclipse의 진행률 탭에서 다운로드 및 설치가 시작되는 것을 확인할 수 있습니다.
프로세스를 완료하면 오류가 자동으로 사라집니다.
Note: It is not mandatory to name your folder CATALINA_HOME
. I have tested this with windows. Cannot assert the same for Linux but IMO same rule should apply.
I got the same error and resolved it by giving enough permissions to the folder. I gave full permissions by (you can try limited permissions which is enough for eclipse to run tomcat)
sudo chmod -R 777 apache-tomcat-8.5.33/
FYI, I encountered this error on my mac, but I think it should be same for ubuntu system too.
Just in case... Apache Tomcat 8.5.X is not compatible with Apache Tomcat 8.0 server selection in eclipse. And it gives this error.
Go to "Window -> preferences -> Server -> Runtime Environments"
Remove the existing servers they might not have downloaded completely.
Add new Server
I am on MacOS and installed tomcat using homebrew, Following path fixed my problem
/usr/local/Cellar/tomcat/9.0.14/libexec
For Windows Users,
Use the Tomcat Service Installer from the Apache tomcat downloads page. You will get a .exe file. which Installs the service for windows. It will usually install Apache tomcat at "C:\Program Files\Apache Software Foundation\Tomcat 8.0" and its easily recognized in eclipse.
Having installed tomcat with brew the solution for me was:
sudo chmod -R 777 /usr/local/Cellar/tomcat/<your_version>
You are pointing to the source directory. You can run a build by running ant from that same directory, then add '\output\build' to the end of the installation directory path.
it throws the same error for me too that brought me here.
However, I just waited for some time and it got installed without doing anything.
hope this helps
'IT TIP' 카테고리의 다른 글
간단한 NGINX 로그 파일 분석기 (0) | 2020.11.23 |
---|---|
: before 및 : after로 인라인 스타일을 만드는 방법 (0) | 2020.11.23 |
컨트롤러에서 $ inject 사용을 이해하지 못합니다. (0) | 2020.11.23 |
이름이 'default'인 구성을 찾을 수 없습니다. (0) | 2020.11.23 |
android.support.v7.widget.Toolbar 클래스를 확장하는 중에 오류가 발생 했습니까? (0) | 2020.11.23 |