I am using Hibernate 3.6.4 on eclipse-Juno/EE with postgreSQL9.2.
I am not being able to run-- keep getting the following error log:
16:07:18,605 INFO [main] Main - javax.xml.transform.TransformerFactory=null
16:07:18,636 INFO [main] Main - java.endorsed.dirs=C:\Program Files\Java\jre7\lib\endorsed
16:07:18,746 INFO [main] Main - launchFile: C:\Users\AYSE\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml
16:07:20,478 FATAL [main] Main - No embedded stylesheet instruction for file: file:/C:/Users/AYSE/workspace/HiberAyse/src/hibernate.cfg.xml
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file:
file:/C:/Users/AYSE/workspace/HiberAyse/src/hibernate.cfg.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:/C:/Users/AYSE/workspace/HiberAyse/src/hibernate.cfg.xml
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
... 2 more
From what I've looked up, this looks to be an error related to the creation of SessionFactory instance I am looking to use in the code.
My setup, configuration and the code should all be fine-- i followed a step-by-step video to put it all together.
Thanking for the help in advance.
Way too new to Hibernate.
In a separate Q, I'm about to ask on Hibernate-and-which-DB.
//=====================
EDIT: this is all mixed-- I'm getting an error msg but not this one. this is from running it on the cfg file-- as lifus noted in his comments &the ans below. i'll look to see more and come back w/whatever i've come up.