Hey Folks,
I am trying to run my first Hibernate Application, which is also the first example application on the online hibernate tutotail chp 2 Intro To Hibernate,
http://www.hibernate.org/hib_docs/v3/re ... orial.html
Everything works ok , I can build the application using ANT, but when I run ant as what the documenation says like:
$ant run -Daction=store
I get the following errors, and I have no clue whats going wrong except the fact that I guess it has something to do with the classpath. Could someone please guide me with this problem.
Heres what it looks like when I run the application:
------------------------------------------------------------------
$ant run -Daction=store
Buildfile: build.xml
clean:
[delete] Deleting directory /a/data/kashi/bin
[mkdir] Created dir: /a/data/kashi/bin
copy-resources:
[copy] Copying 3 files to /a/data/kashi/bin
compile:
[javac] Compiling 3 source files to /a/data/kashi/bin
run:
[java] gij: unrecognized option -- `-classpath'
[java] Try `gij --help' for more information.
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 0 seconds
Thanks in advance,
Regards,
Sam