首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > 嵌入开发 >

No embedded stylesheet instruction for file:奇怪的异常

2012-11-23 
No embedded stylesheet instruction for file:奇怪的错误08:09:43,395 INFO[main] Main- javax.xml.trans

No embedded stylesheet instruction for file:奇怪的错误

08:09:43,395 INFO  [main] Main  - javax.xml.transform.TransformerFactory=null08:09:43,398 INFO  [main] Main  - java.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre/lib/endorsed08:09:43,407 INFO  [main] Main  - launchFile: /Users/lishupeng/spaces/eclipsespaces/.metadata/.plugins/org.eclipse.wst.xsl.jaxp.launching/launch/launch.xml08:09:44,618 FATAL [main] Main  - No embedded stylesheet instruction for file: file:/Users/lishupeng/spaces/eclipsespaces/.../dao/User.xmlorg.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/Users/lishupeng/spaces/eclipsespaces/.../dao/User.xmlat org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225)at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186)at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73)Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/Users/lishupeng/spaces/eclipsespaces/.../dao/User.xmlat org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)... 2 more

?百思不得其解,分析了下发现main的提示入口竟然是xml文件,原来是我为了图快捷,直接在xml里面点了运行,没有切换到源代码去~解决

?

看来eclipse运行时是根据当前所在文件的类型来寻找入口点的~

热点排行