I get the following error of both the v4.0.4RC1 src distro and the cvs.  Any 
help on how to resolve this would be appreciated.

Thanks,

Jack

compile-classes:
    [javac] Compiling 111 source files to 
/opt/java/jboss-cvs/jboss-4.0/ejb3/output/classes
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/ExtendedHibernateSession.java:49:
 org.jboss.ejb3.entity.ExtendedHibernateSession is not abstract and does not 
override abstract method 
update(java.lang.String,java.lang.Object,java.io.Serializable) in 
org.hibernate.Session
    [javac] public class ExtendedHibernateSession implements Session, 
ExtendedPersistenceContext, Serializable
    [javac]        ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/ExtendedHibernateSession.java:309:
 delete(java.lang.Object) in org.hibernate.Session cannot be applied to 
(java.lang.String,java.lang.Object)
    [javac]       getHibernateSession().delete(entityName, object);
    [javac]                          ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/ExtendedHibernateSession.java:454:
 cannot find symbol
    [javac] symbol  : method getTransaction()
    [javac] location: interface org.hibernate.Session
    [javac]       return getHibernateSession().getTransaction();
    [javac]                                 ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/InjectedHibernateSession.java:52:
 org.jboss.ejb3.entity.InjectedHibernateSession is not abstract and does not 
override abstract method 
update(java.lang.String,java.lang.Object,java.io.Serializable) in 
org.hibernate.Session
    [javac] public class InjectedHibernateSession implements Session, 
Externalizable
    [javac]        ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/InjectedHibernateSession.java:316:
 delete(java.lang.Object) in org.hibernate.Session cannot be applied to 
(java.lang.String,java.lang.Object)
    [javac]       getHibernateSession().delete(entityName, object);
    [javac]                          ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/InjectedHibernateSession.java:461:
 cannot find symbol
    [javac] symbol  : method getTransaction()
    [javac] location: interface org.hibernate.Session
    [javac]       return getHibernateSession().getTransaction();
    [javac]                                 ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/InjectedSessionFactory.java:92:
 cannot find symbol
    [javac] symbol  : method getDefinedFilterNames()
    [javac] location: interface org.hibernate.SessionFactory
    [javac]       return getSessionFactory().getDefinedFilterNames();
    [javac]                               ^
    [javac] 
/opt/java/jboss-cvs/jboss-4.0/ejb3/src/main/org/jboss/ejb3/entity/InjectedSessionFactory.java:97:
 cannot find symbol
    [javac] symbol  : method getFilterDefinition(java.lang.String)
    [javac] location: interface org.hibernate.SessionFactory
    [javac]       return getSessionFactory().getFilterDefinition(filterName);
    [javac]                               ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 8 errors

BUILD FAILED


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923083#3923083

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923083


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to