hibernate 3.0, mac os x, jdk1.4
hi, i've problem while follow hibernate tutorial from hibernate website. Can someone show me what the problem..the error
mac:/usr/local/src/hibernate-3.0/hibernateTutorial root# ant
Buildfile: build.xml
clean:
[delete] Deleting directory /usr/local/src/hibernate-3.0/hibernateTutorial/bin
[mkdir] Created dir: /usr/local/src/hibernate-3.0/hibernateTutorial/bin
copy-resources:
[copy] Copying 3 files to /usr/local/src/hibernate-3.0/hibernateTutorial/bin
[copy] Copied 2 empty directories to 1 empty directory under /usr/local/src/hibernate-3.0/hibernateTutorial/bin
compile:
[javac] Compiling 3 source files to /usr/local/src/hibernate-3.0/hibernateTutorial/bin
[javac] /usr/local/src/hibernate-3.0/hibernateTutorial/src/events/EventManager.java:32: cannot resolve symbol
[javac] symbol : method getTransaction ()
[javac] location: interface org.hibernate.Session
[javac] session.getTransaction().commit();
[javac] ^
[javac] 1 error
BUILD FAILED
/usr/local/src/hibernate-3.0/hibernateTutorial/build.xml:19: Compile failed; see the compiler error output for details.
tq
|