Struts 사용시 경고 메시지 Server/Service/Engine/Host/Context 처리
-Tomcat6.0버전을 처음 사용해 보면서, 문제가 발생했다. 출처의 아티클을 보면 알겠지만, Tomcat 6.0부터 지원하는 source라는 Attribute 때문에 일어나는 문제라고 한다.
Warning:
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source'
to 'org.eclipse.jst.j2ee.server:demo' did not find a matching property
Solution:
Server's Properties -> General -> Location = /Servers/Tomcat v6.0 Server at localhost.server;
Project Explorer -> Servers -> Tomcat v6.0 Server at localhost.server, double click to open it.
Server Options -> Check "Publish module contexts to separate XML files".
Explaination:
- Tomcat of previous version doesn't support the "source" attribute in the "Context" node of "server.xml" file.
Result:
- A separate XML file named "demo.xml" was created in the "$server path$\conf\Catalina\localhost\".
Reference:
- http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/
-
Step:
- New -> Web -> Dynamic Web Project (Target Runtime:Apache Tomcat 6.0;Dynamic Web Module Version:2.5)
- Window -> Show View -> Servers, New-> Server, Add and Remove Projects...,Start (Server)
-
Step:
- New -> Web -> Dynamic Web Project (Target Runtime:Apache Tomcat 6.0;Dynamic Web Module Version:2.5)
- Window -> Show View -> Servers, New-> Server, Add and Remove Projects...,Start (Server)
댓글
댓글 쓰기
질문이나 의견은 요기에 남겨주세요 ^^,,