-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Exception while trying to run any unitest
PostPosted: Sun Aug 14, 2011 6:09 am 
Newbie

Joined: Fri Aug 12, 2011 2:26 pm
Posts: 3
Hi
After compiling the ogm code i get the following exeption when i try tun run any unit test
what is missing in the sources?
any config file ( Infinispan?)

org.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect.
at org.hibernate.dialect.Dialect.instantiateDialect(Dialect.java:218)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:196)
at org.hibernate.testing.junit.functional.annotations.HibernateTestCase.runBare(HibernateTestCase.java:77)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:199)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)


Top
 Profile  
 
 Post subject: Re: Exception while trying to run any unitest
PostPosted: Mon Aug 15, 2011 8:42 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi bate,
it looks like the resource files are not found on your classpath.
Since this is a Maven project I would expect Maven to have this setup properly for you: are you running an alternative way to import the project sources into your IDE?

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Exception while trying to run any unitest
PostPosted: Mon Dec 22, 2014 5:52 am 
Newbie

Joined: Mon Dec 22, 2014 5:47 am
Posts: 1
it looks like the resource files are not found on your classpath.



______________________
dhoom


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.