Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
An AnnotationConfiguration instance is required to use <mapping class="com.parentco.fdr.myproject.model.UserRole"/>
via Coderanch by Dave Alvarado, 1 year ago
An AnnotationConfiguration instance is required to use <mapping class="com.parentco.fdr.myproject.model.UserRole"/>
via coderanch.com by Unknown author, 1 year ago
An AnnotationConfiguration instance is required to use <mapping class="com.parentco.fdr.myproject.model.UserRole"/>
via coderanch.com by Unknown author, 1 year ago
An AnnotationConfiguration instance is required to use <mapping class="com.parentco.fdr.myproject.model.UserRole"/>
via Stack Overflow by Dave
, 2 years ago
Unable to load class declared as &lt;mapping class="com.mainco.fdr.myco.model.UserRole"/&gt; in the configuration:
via Coderanch by Dave Alvarado, 1 year ago
java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="com.parentco.fdr.myproject.model.UserRole"/>	at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1600)	at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)	at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)	at org.hibernate.cfg.Configuration.configure(Configuration.java:1523)	at org.mainco.subco.dido.service.AbstractServiceProvider.getSessionFactory(AbstractServiceProvider.java:84)	at org.mainco.subco.dido.service.AbstractServiceProvider.initServices(AbstractServiceProvider.java:163)	at org.mainco.subco.dido.quartz.ProcessOrdersJob.execute(ProcessOrdersJob.java:80)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:249)	at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)	at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)	at $Proxy149.execute(Unknown Source)	at org.jboss.resource.adapter.quartz.inflow.QuartzJob.execute(QuartzJob.java:57)	at org.quartz.core.JobRunShell.run(JobRunShell.java:203)	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)