java.lang.NoSuchFieldError: STRING
ohmygod Dec 10, 2010 4:45 AMRunning jbpm 3.1.4 and following error reports when running to
sessionFactory = getConfiguration().buildSessionFactory(); Any idea? In Jboss 6.0.0.CR1. Let me know if you want more details.
17:19:07,484 ERROR [STDERR] Exception in thread "Thread-46" java.lang.NoSuchFieldError: STRING
17:19:07,484 ERROR [STDERR] at org.jbpm.identity.hibernate.PermissionUserType.<clinit>(PermissionUserType.java:44)
17:19:07,484 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
17:19:07,484 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
17:19:07,484 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
17:19:07,484 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
17:19:07,484 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:355)
17:19:07,484 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:308)
17:19:07,484 ERROR [STDERR] at org.hibernate.type.TypeFactory.customComponent(TypeFactory.java:144)
17:19:07,484 ERROR [STDERR] at org.hibernate.type.TypeFactory.customComponent(TypeFactory.java:135)
17:19:07,484 ERROR [STDERR] at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:95)
17:19:07,484 ERROR [STDERR] at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)
17:19:07,484 ERROR [STDERR] at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:297)
17:19:07,484 ERROR [STDERR] at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:290)
17:19:07,484 ERROR [STDERR] at org.hibernate.mapping.Collection.validate(Collection.java:313)
17:19:07,484 ERROR [STDERR] at org.hibernate.mapping.Set.validate(Set.java:42)
17:19:07,484 ERROR [STDERR] at org.hibernate.cfg.Configuration.validate(Configuration.java:1336)
17:19:07,484 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1835)
17:19:07,484 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)