org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException

1、错误描述

22:09:21,005 INFO  [main] Main  - javax.xml.transform.TransformerFactory=null
22:09:21,007 INFO  [main] Main  - java.endorsed.dirs=D:Javajdk1.7.0_67jrelibendorsed
22:09:21,012 INFO  [main] Main  - launchFile: D:MyEclipse10workspace.metadata.pluginsorg.eclipse.wst.xsl.jaxp.launchinglaunchlaunch.xml
22:09:21,083 FATAL [main] Main  - No embedded stylesheet instruction for file: file:/D:/MyEclipse10/workspace/MSSH/src/main/resources/generatorConfig.xml
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/D:/MyEclipse10/workspace/MSSH/src/main/resources/generatorConfig.xml
	at 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:/D:/MyEclipse10/workspace/MSSH/src/main/resources/generatorConfig.xml
	at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
	... 2 more

2、错误原因

       由于MyEclipse中没有命令直接运行generatorConfig.xml,导致报错


3、解决办法

原文地址:https://www.cnblogs.com/hzcya1995/p/13314226.html