-->
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.  [ 1 post ] 
Author Message
 Post subject: [ERROR] Could not get constructor for org.hibernate.persiste
PostPosted: Wed Jun 12, 2013 9:53 pm 
Newbie

Joined: Wed Jun 05, 2013 10:26 pm
Posts: 3
[ERROR] Could not get constructor for org.hibernate.persister.entity.SingleTable
EntityPersister

[INFO] Listening on port 8080
[INFO] [SimpleAxisServer] Started
[SimpleAxisServer] Started
[INFO] HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
[INFO] HHH000412: Hibernate Core {4.2.2.Final}
[INFO] HHH000206: hibernate.properties not found
[INFO] HHH000021: Bytecode provider name : javassist
[INFO] HHH000043: Configuring from resource: /hibernate.cfg.xml
[INFO] HHH000040: Configuration resource: /hibernate.cfg.xml
[INFO] HHH000221: Reading mappings from resource: Tmpm0_deptmaster.hbm.xml
[WARN] HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourc
eforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hiber
nate 3.6 Migration Guide!
[INFO] HHH000041: Configured SessionFactory: null
[INFO] HHH000402: Using Hibernate built-in connection pool (not for production u
se!)
[INFO] HHH000115: Hibernate connection pool size: 1
[INFO] HHH000006: Autocommit mode: false
[INFO] HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://loca
lhost:3306/tmpm_demo]
[INFO] HHH000046: Connection properties: {user=root, password=****}
[INFO] HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
[INFO] HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC
version [3] less than 4
[INFO] HHH000399: Using default transaction strategy (direct JDBC transactions)
[ERROR] Could not get constructor for org.hibernate.persister.entity.SingleTable
EntityPersister
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.jav
a:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic
(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:30
7)
at org.apache.axis2.transport.http.server.AxisHttpService.doService(Axis
HttpService.java:281)
at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(
AxisHttpService.java:187)
at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpS
erviceProcessor.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.hibernate.MappingException: Could not get constructor for org.hib
ernate.persister.entity.SingleTableEntityPersister
at org.hibernate.persister.internal.PersisterFactoryImpl.create(Persiste
rFactoryImpl.java:185)
at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPer
sister(PersisterFactoryImpl.java:135)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.j
ava:385)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1769)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1840)
at com.ex.Tssm2_fjpempsalesTEST.Return_Retrieve(Tssm2_fjpempsalesTEST.ja
va:27)
... 17 more
Caused by: org.hibernate.HibernateException: Unable to instantiate default tupli
zer [org.hibernate.tuple.entity.PojoEntityTuplizer]
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(En
tityTuplizerFactory.java:138)
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTupl
izer(EntityTuplizerFactory.java:188)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.jav
a:341)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(Abstrac
tEntityPersister.java:507)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(Sing
leTableEntityPersister.java:146)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.hibernate.persister.internal.PersisterFactoryImpl.create(Persiste
rFactoryImpl.java:163)
... 22 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(En
tityTuplizerFactory.java:135)
... 31 more
Caused by: java.lang.NoClassDefFoundError: javassist/util/proxy/MethodFilter
at org.hibernate.bytecode.internal.javassist.BytecodeProviderImpl.getPro
xyFactoryFactory(BytecodeProviderImpl.java:56)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactoryIntern
al(PojoEntityTuplizer.java:241)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoE
ntityTuplizer.java:219)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEnti
tyTuplizer.java:212)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTupliz
er.java:82)
... 36 more
Caused by: java.lang.ClassNotFoundException: Class Not found : javassist.util.pr
oxy.MethodFilter
at org.apache.axis2.deployment.DeploymentClassLoader.findClass(Deploymen
tClassLoader.java:96)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at org.apache.axis2.deployment.DeploymentClassLoader.loadClass(Deploymen
tClassLoader.java:277)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 41 more

pls guide me ASAP.. i check POJO no misspelling ....


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

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.