当前位置: 代码迷 >> Eclipse >> An internal error occurred during: "Generating
  详细解决方案

An internal error occurred during: "Generating

热度:676   发布时间:2016-04-23 18:47:51.0
An internal error occurred during: "Generating Artifacts". 是什么错误? 在线等!!!
org.hibernate.HibernateException:   Proxool   Provider   unable   to   load   JAXP   configurator   file:   proxool.xml
at   org.hibernate.connection.ProxoolConnectionProvider.configure(ProxoolConnectionProvider.java:125)
at   org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at   org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at   org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at   org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at   org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
at   com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:71)
at   com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$6.execute(GenerateArtifactsJob.java:514)
at   org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at   org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:70)
at   com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:509)
at   com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:293)
at   org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused   by:   org.logicalcobwebs.proxool.ProxoolException:   Parsing   failed.
at   org.logicalcobwebs.proxool.configuration.JAXPConfigurator.configure(JAXPConfigurator.java:91)
at   org.logicalcobwebs.proxool.configuration.JAXPConfigurator.configure(JAXPConfigurator.java:107)
at   org.hibernate.connection.ProxoolConnectionProvider.configure(ProxoolConnectionProvider.java:120)
...   12   more
Caused   by:   org.logicalcobwebs.proxool.ProxoolException:   Couldn 't   load   class   com.mysql.jdbc.Driver
at   org.logicalcobwebs.proxool.configuration.XMLConfigurator.endElement(XMLConfigurator.java:198)
at   org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown   Source)
at   org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown   Source)
at   org.apache.xerces.parsers.XML11Configuration.parse(Unknown   Source)
at   org.apache.xerces.parsers.XML11Configuration.parse(Unknown   Source)
at   org.apache.xerces.parsers.XMLParser.parse(Unknown   Source)
at   org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown   Source)
at   org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown   Source)
at   org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown   Source)
at   org.logicalcobwebs.proxool.configuration.JAXPConfigurator.configure(JAXPConfigurator.java:87)
...   14   more


这是我在Hibernate的mapping   的时候eclipse   报错;对话框:An   internal   error   occurred   during:   "Generating   Artifacts ".

------解决方案--------------------
不能解析配置文件
看你的数据库驱动导入了没

------解决方案--------------------
相对路径查找的问题
------解决方案--------------------
  相关解决方案