You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm new to this project. Thanks for your effort on this.
I can build it with maven just fine, its running. Now I want to implement something new to this codebase.
I check out this source and try to run in Eclipse but show some errors:
Missing some dependencies as show in this screen shot
When starting app it cannot connect to database. Do i need to manual add something to make it work. Thanks and brgs,
com.floreantpos.util.DatabaseConnectionException: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
ERROR: 08-Oct-2022 07:07:47: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
at com.floreantpos.util.DatabaseUtil.initialize(DatabaseUtil.java:548)
at com.floreantpos.main.Application.initializeSystem(Application.java:167)
at com.floreantpos.main.Application.start(Application.java:135)
at com.floreantpos.main.Main.main(Main.java:58)
Caused by: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:25)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:124)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
at com.floreantpos.model.dao._RootDAO.reInitialize(_RootDAO.java:260)
at com.floreantpos.util.DatabaseUtil.initialize(DatabaseUtil.java:544)
... 3 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
... 13 more
Caused by: java.lang.Error: Unresolved compilation problems:
The import javax.xml.bind cannot be resolved
XmlRootElement cannot be resolved to a type
at com.floreantpos.model.ModifierGroup.<init>(ModifierGroup.java:3)
... 19 more
ERROR: 08-Oct-2022 07:07:47: com.floreantpos.util.DatabaseConnectionException: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
The text was updated successfully, but these errors were encountered:
Hmm. Im' not sure. I believe there have been more updates to the floreant code upstream that aren't in this git repo-- did you check there to see if there's any fix?
Hi
I'm new to this project. Thanks for your effort on this.
I can build it with maven just fine, its running. Now I want to implement something new to this codebase.
I check out this source and try to run in Eclipse but show some errors:
com.floreantpos.util.DatabaseConnectionException: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
ERROR: 08-Oct-2022 07:07:47: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
at com.floreantpos.util.DatabaseUtil.initialize(DatabaseUtil.java:548)
at com.floreantpos.main.Application.initializeSystem(Application.java:167)
at com.floreantpos.main.Application.start(Application.java:135)
at com.floreantpos.main.Main.main(Main.java:58)
Caused by: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:25)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:124)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
at com.floreantpos.model.dao._RootDAO.reInitialize(_RootDAO.java:260)
at com.floreantpos.util.DatabaseUtil.initialize(DatabaseUtil.java:544)
... 3 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
... 13 more
Caused by: java.lang.Error: Unresolved compilation problems:
The import javax.xml.bind cannot be resolved
XmlRootElement cannot be resolved to a type
ERROR: 08-Oct-2022 07:07:47: com.floreantpos.util.DatabaseConnectionException: org.hibernate.InstantiationException: could not instantiate test objectcom.floreantpos.model.ModifierGroup
The text was updated successfully, but these errors were encountered: