Hi,
I'm having problems with my database management program, I'm using stateless sessions EJB beans, Hibernate with a Mysql DB and getting the below errors...Can you someone help?
Hibernate version: 3.4.0
Mapping documents: N/A
Code between sessionFactory.openSession() and session.close(): What?
Full stack trace of any exception that occurs: [mkdir] Created dir: C:\crs570\DBMSSware\bin compile: [javac] Compiling 12 source files to C:\crs570\DBMSSware\bin [javac] C:\crs570\DBMSSware\src\sware\dbms\businesstier\DbmsBean.java:13: package javax.ejb does not exist [javac] import javax.ejb.Stateless; [javac] ^ [javac] C:\crs570\DBMSSware\src\sware\dbms\businesstier\DbmsDAO.java:4: package javax.ejb does not exist [javac] import javax.ejb.Remote; [javac] ^ [javac] C:\crs570\DBMSSware\src\sware\dbms\businesstier\DbmsDAO.java:15: cannot find symbol [javac] symbol: class Remote [javac] @Remote [javac] ^ [javac] C:\crs570\DBMSSware\src\sware\dbms\businesstier\DbmsBean.java:28: cannot find symbol [javac] symbol: class Stateless [javac] @Stateless [javac] ^ [javac] Note: C:\crs570\DBMSSware\src\sware\dbms\clienttier\Driver.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\crs570\DBMSSware\src\sware\dbms\businesstier\DbmsBean.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors
BUILD FAILED C:\crs570\DBMSSware\build.xml:28: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Name and version of the database you are using: Mysql 5.0
The generated SQL (show_sql=true): N/A
Debug level Hibernate log excerpt: N/A
Regards
Col
|