1. 程式人生 > >org eclipse wst xsl jaxp debug invoker TransformationExcepti

org eclipse wst xsl jaxp debug invoker TransformationExcepti

font 安裝插件 自動 創建 描述 code pin ati RoCE

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

再分享一下我老師大神的人工智能教程吧。零基礎!通俗易懂!風趣幽默!還帶黃段子!希望你也加入到我們人工智能的隊伍中來!https://blog.csdn.net/jiangjunshow

org eclipse wst xsl jaxp debug invoker TransformationExcepti