So I am very close to getting my Web Service ported to Axis2.
I am using hibernate so I put the hibernate jars under axis2/WEB-INF/lib
As well as a jar with my mapping files. When the jar with mapping files
was in
The aar my hibernate session loading code couldn't find them. Now that
the jar w/ mapping files is under WEB-INF
Lib it finds them, but I get an IllegalAccessError
Caused by: java.lang.IllegalAccessError: tried to access method
org.hibernate.cfg.Mappings.<init>(Ljava/util/Map;Ljava/util/Map;Ljava/ut
il/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava
/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/
Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/u
til/Map;)V from class org.hibernate.cfg.ExtendedMappings
at
org.hibernate.cfg.ExtendedMappings.<init>(ExtendedMappings.java:65)
at
org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(Annotat
ionConfiguration.java:175)
at
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationCo
nfiguration.java:263)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
283)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(Annotation
Configuration.java:915)
at
com.bae.nedc.wfnp.util.HibernateUtil.<clinit>(HibernateUtil.java:26)
Do I need to do something with security settings or something ?
Thanks;
Jay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]