Eclipse IDE – Tomcat Version 6.0 Only Supports J2EE 1.2, 1.3, 1.4, And Java EE 5 Web Modules 본문

Web/error

Eclipse IDE – Tomcat Version 6.0 Only Supports J2EE 1.2, 1.3, 1.4, And Java EE 5 Web Modules

미니모아 2016. 7. 27. 11:04
반응형

문제


Eclipse IDE – Tomcat Version 6.0 Only Supports J2EE 1.2, 1.3, 1.4, And Java EE 5 Web Modules


원인


Import a Java web project in Eclipse, build with Maven, once create a Tomcat server instance, unable to add the Java web project, and showing


해결 방법 


해당 프로젝트 안에  .settings 폴더 안에서 "org.eclipse.wst.common.project.facet.core.xml" 라는 이름의 파일을 찾고 installed facet="jst.web" version을 2.5나 2.4로 변경한다 


<?xml version="1.0" encoding="UTF-8"?>

<faceted-project>

  <fixed facet="java"/>

  <fixed facet="jst.web"/>

  <fixed facet="wst.jsdt.web"/>

  <installed facet="java" version="1.7"/>

  <installed facet="jst.web" version="2.5"/>

  <installed facet="wst.jsdt.web" version="1.0"/>

</faceted-project>




참고 http://lks21c.blogspot.kr/2014/06/eclipse-ide-tomcat-version-60-only.html

반응형
Comments