1、错误描述

14:14:41,779 INFO  [main] Main  - javax.xml.transform.TransformerFactory=null
14:14:41,783 INFO [main] Main - java.endorsed.dirs=D:\Java\jdk1.7.0_67\jre\lib\endorsed
14:14:41,798 INFO [main] Main - launchFile: D:\MyEclipse10\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml
14:14:41,912 FATAL [main] Main - No embedded stylesheet instruction for file: file:/D:/MyEclipse10/workspace/weixin/src/main/resources/generatorConfig.xml
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/D:/MyEclipse10/workspace/weixin/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/weixin/src/main/resources/generatorConfig.xml
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
... 2 more


2、错误原因

       在MyEclipse中,利用Mybatis创建了自动生成文件,但是在运行中出现问题;运行Mybatis生成文件时,没有配置Mybatis插件


3、解决办法

     下载MyBatis_Generator_1.3.1,将其复制到MyEclipse安装插件的目录下MyEclipse 10\dropins;然后重启MyEclipse