• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

these are the errors for pg:57 head first ejb...help

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
C:\projects\advice>java -cp %CLASSPATH%;eyeClient.jar adviceclient
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Porta
bleRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at adviceclient.go(adviceclient.java:21)
at adviceclient.main(adviceclient.java:11)
C:\projects\advice>
please help
Pradeep
 
Bhavesh K.
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So whatz the final word on this from JGurus...is it worth it? How did ppl manage to fix this and get the thing running?

 
Dale Seng
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you follow the example exactly as it is in the book, and you heed the warning in http://www.wickedlysmart.com/HeadFirst/HeadFirstEJB/HeadFirstEJBNotes.html
it will work. Many problems appear to be people not knowing how to do basic java and javac command line stuff.
--Dale--
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic