Hello guys! I'm absolutelly newby in Java, and looking for some help with
ejb\glassfish\javafx.
I'm try to develop simple ejb application using javafx as client and javadb
as database (and sample database "tours").
I downloaded netbeans 7, glassfish 3.1, javafx 2.0. After one day my fist
application is finish - I ran them under Netbeans and they work fine - my
application lunch the window with javafx tableview andshow me the flights
grid from tours database. It was very fine moment ))
But when I try ran my app outside Netbeans I recive errors. This
image
Then I read a lot of forums and talks what google offer my by keywords "can't
run app outside netbeans". In some times I got that I need to specify the
classpath for used libs\jars.
I specify the libs, and run my app again.
"java -cp
"C:\Users\afina\projects\flycenter\FlyRemoteInterface\dist\FlyRemoteInterface.jar;C:\Users\afina\projects\flycenter\FlyWorkstation\dist\FlyWorkstationClient.jar;C:\Program
Files\glassfish-3.1.1\glassfish\lib\appserv-rt.jar;C:\Program
Files\glassfish-3.1.1\glassfish\lib\javaee.jar;C:\Program
Files\glassfish-3.1.1\glassfish\lib\gf-client.jar;C:\Users\afina\projectsfly\center\FlyWorkstation\dist\FlyWorkstation.jar"
My previous problem was solved, but I get new problem )
Java show me this - """Absent Code attribute in method that is not native or
abstract in class file javax/ej
b/RemoveException"""
image
full exception here -
http://dpaste.com/hold/595384/
source code of my application here -
https://bitbucket.org/roma/flycenter/src - There are 3 app - server ejb
app, ejb interface and application client app - FlyWorkstation, what I try to
run outside Netbeans.
Maybe I have to specify some jar in classpath addinitially, but I don't know
what exactly.
I spent a lot of times with Google, but find nothing explanation about this
error..
I think a lot of guru-coders know what's that mean and what I have to do to
solve this proplem. I will very happy if somebody give my an advice.
Sorry for my super-duper english and orthography))
Thank you!
--
[Message sent by forum member 'roma_kabiev']
View Post: http://forums.java.net/node/833803