Setting property 'source' to 'org.eclipse.jst.jee.server: did not find a matching property.

2014. 1. 28. 15:03Was/Tomcat

반응형



오류 내역 :  Setting property 'source' to 'org.eclipse.jst.jee.server: did not find a matching property.


출처 : http://yisn.blogspot.com/2008/10/setpropertiesruleserverserviceenginehos.html


-Tomcat6.0버전을 처음 사용해 보면서, 문제가 발생했다. 출처의 아티클을 보면 알겠지만, Tomcat 6.0부터 지원하는 source라는 Attribute 때문에 일어나는 문제였다.


사용 소프트웨어

실행 단계

경고 메세지

해결책

원인 설명

해결책으로 인한 결과물

참고자료


Software:

apache-tomcat-6.0.18

eclipse-jee-ganymede-SR1-win32.zip(Version: 3.4.1,Build id: M20080911-1700)

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)

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/




반응형