• Post Reply Bookmark Topic Watch Topic
  • New Topic

idl file compilation throws ClassCastException

 
sanjays samadder
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made a .idl file .
set the appropriate classpath and copied the file in the bin directory of
visigenic/vbroker.
when i compile with idl2java XXX.idl from the bin directory
it throws an Exception ClassCastException in "main"
what could this mean???
my code in the simplest form is:
module hello{
interface helloapp{
string sayHello();
};
};
I am using VisiBroker for java 3.2
please some one help.
 
Mark Savory
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same problem which I solved by using JRE 1.2 rather than JRE 1.2.2.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!