facebook

A internal error occurred during Generating Artifacts

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268532 Reply

    hiberante3.jar is not in cp

    From a brand new installation:

    !ENTRY org.eclipse.core.jobs 4 2 2007-04-06 12:49:13.580
    !MESSAGE An internal error occurred during: “Generating Artifacts”.
    !STACK 0
    org.hibernate.HibernateException: could not instantiate CacheProvider: org.hibernate.cache.EHCacheProvider
    at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:330)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:219)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
    at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:73)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$6.execute(GenerateArtifactsJob.java:529)
    at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
    at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:72)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:524)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:296)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
    Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.EHCacheProvider
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)
    at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:327)
    … 9 more

    Volume in drive C has no label.
    Volume Serial Number is B80C-77C2

    Directory of C:\Program Files\MyEclipse 5.1.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.1\data\1.2\lib\dependencies\hibernate

    04/06/2007 10:58 AM 1,446,506 hibernate3.jar
    1 File(s) 1,446,506 bytes

    Directory of C:\Program Files\MyEclipse 5.1.1 GA\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.1\lib\hibernate

    04/06/2007 10:59 AM 1,691,092 hibernate3.jar
    1 File(s) 1,691,092 bytes

    Directory of C:\Program Files\MyEclipse 5.1.1 GA\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.1\myeclipse-data\3.0\lib

    04/06/2007 10:59 AM 1,453,920 hibernate3.jar
    1 File(s) 1,453,920 bytes

    Directory of C:\Program Files\MyEclipse 5.1.1 GA\myeclipse\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.1\myeclipse-data\3.1\lib

    04/06/2007 10:59 AM 1,705,006 hibernate3.jar
    1 File(s) 1,705,006 bytes

    Total Files Listed:
    4 File(s) 6,296,524 bytes
    0 Dir(s) 15,837,220,864 bytes free

    #268582 Reply

    Riyad Kalla
    Member

    Looks like you are missing ehcache.jar from your build path. Be sure to add that.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: A internal error occurred during Generating Artifacts

You must be logged in to post in the forum log in