---
title: "CXF in Eclipse JEE"
author: "adapterofcoms"
date: "2014-04-23T07:02:41Z"
tags: []
categories: ["企业架构"]
slug: "cxf-in-eclipse-jee"
draft: false
lastmod: "2014-04-23T07:09:11Z"
id: 2052941
url: "https://adapterofcoms.iteye.com/blog/2052941"
---

Windows---&gt;Preferences--&gt;Web Service--&gt;CXF 2.x Preferences  add CXF runtime  
Endpoint Config--&gt;Use CXF Servlet

Windows---&gt;Preferences--&gt;Server--&gt; add new tomcat7 runtime environments

Windows---&gt;Preferences--&gt;Web Service--&gt;Server and Runtime--&gt; tomcat7 and CXF 2.x

Create web---&gt;Dynamic Web Project

**Copy CXF libs---&gt;WebContent/WEB-INF/lib    \[Optional]**

right-click your service class, Web Service---&gt;Create Web Service  ......