Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
Expected RemoteException, RuntimeException, or Error but received: 'class java.rmi.ConnectException'
via Oracle Community by 3004, 1 year ago
Expected RemoteException, RuntimeException, or Error but received: 'class java.rmi.ConnectException'
java.lang.ClassCastException: Expected RemoteException,
RuntimeException, or Error but received: 'class java.rmi.ConnectException'	at weblogic.common.T3Client.sendRecv(T3Client.java:724)	at weblogic.common.AdminServicesImpl.ping(AdminServicesImpl.java:34)	at weblogic.Admin.main(Admin.java:413)