- This topic has 6 replies, 2 voices, and was last updated 16 years, 2 months ago by Loyal Water.
-
AuthorPosts
-
kirandigraseMemberhi
i am geting error!MESSAGE An internal error occurred during: “Generating Artifacts”.
!STACK 0
java.lang.NoClassDefFoundError
at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:128)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:117)
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:111)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:510)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:296)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)while doing hibernate reverse enggineering
Pls help
also i have detail like .myhibernatedata file as below
#
#Tue Oct 21 15:54:26 GMT+05:30 2008
genBasicCompId=false
sessionFactoryName=
profile=
daoSFId=
version=3.0
jndiPath=
springDaoFile=
useJavaTypes=true
keyGenerator=increment
libInstallFolder=WebRoot/WEB-INF/lib
addLibs2Project=true
genVersionTag=false
sessionFactoryId=
basePersistenceClass=
reSettingsFile=
configFile=/xebiastruts2hib3/src/hibernate.cfg.xml
createConfigFile=true
addLibs2Classpath=truealso hibernate.cfg.xml is as below
<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE hibernate-configuration PUBLIC
“-//Hibernate/Hibernate Configuration DTD 3.0//EN”
“http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd”><!– Generated by MyEclipse Hibernate Tools. –>
<hibernate-configuration><session-factory>
<property name=”connection.username”>root</property>
<property name=”connection.url”>
jdbc:mysql://localhost:3306/kiranwebproject
</property>
<property name=”dialect”>
org.hibernate.dialect.MySQLDialect
</property>
<property name=”myeclipse.connection.profile”>dd</property>
<property name=”connection.password”>Ex1mware</property>
<property name=”connection.driver_class”>
com.mysql.jdbc.Driver
</property>
<property name=”show_sql”>true</property></session-factory>
</hibernate-configuration>
PLEASE HELP
THANKS
KIRAN
Loyal WaterMemberKiran,
Can you refer to this FAQ and check if it helps:-
https://www.genuitec.com/forums/topic/db-error-generating-artifacts/If the problem persists, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
kirandigraseMemberThanks for u r help i tried by link u hav given but its showing abt DB Accees but i checked it i have total rights for database ..
The following detail i am aataching from installatn summary ……………
*** Date:
Friday, October 24, 2008 10:45:58 AM GMT+05:30** System properties:
OS=Windows2000
OS version=5.0
Java version=1.5.0_08*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.1 GA
Build id: 20070302-5.1.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.1.1 GA
Build id: 20070302-5.1.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
E:\myeclipse 5.1 full\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
7e4_48
-vm
E:\myeclipse 5.1 full\jre\bin\javaw.exeThanks for u r help
Kiran
Loyal WaterMemberWhat database are you working with? Can you give me some information on this project?
Can you switch to a new workspace (File > Switch Workspace > Temp) and check if you are able to recreate the issue.
kirandigraseMemberThanks i have done it
Kiran
kirandigraseMemberis there any facility to plug in struts 2.0 in myecclipse 5.1
Loyal WaterMemberIm afraid there is no such plugin available.
-
AuthorPosts