In Java 1.4.2 and earlier versions, if you get a ClassCastExcep开发者_如何学Pythontion, you can see the exception stack trace but not the class name. If you want to find out the class of the object fo
I am trying following Context ctx = (Context) jndiCntx.lookup(fSTANDARD_ENVIRONMENT); Object obj = ctx.lookup(fSTANDARD_JNDINAME);