---
title: "Eclipse No embedded stylesheet instruction for file"
author: "ydsakyclguozi"
date: "2012-06-29T17:47:34Z"
tags: []
categories: ["编程语言"]
slug: "eclipse-no-embedded-stylesheet-instruction-for-file"
draft: false
lastmod: "2012-06-29T17:47:59Z"
id: 1571233
url: "https://52347.iteye.com/blog/1571233"
---

原因：  
          我点击“运行”按钮的时候，是在client.xml配置文件下，而不是在main()所在的文件  
原理：  
         Eclipse并不会在project中寻找工程的入口点，而是从你编辑器中的当前文件开始运行，所以报错！