wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes JUnit test throws java.rmi.UnmarshalException: Method not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JUnit test throws java.rmi.UnmarshalException: Method not found" Watch "JUnit test throws java.rmi.UnmarshalException: Method not found" New topic
Author

JUnit test throws java.rmi.UnmarshalException: Method not found

Iarla O'Riada
Ranch Hand

Joined: Oct 06, 2012
Posts: 78

I'm running a jUnit test which throws this exception:


The method signature reported in the exception differ slightly from the interface:
Exception equates to: mergeProfiles(SCID, ArrayList, boolean, boolean, List...)
Interface: mergeProfiles(SCID, ArrayList, boolean, boolean, List[])
Implementing class: mergeProfiles(SCID, ArrayList, boolean, boolean, List...)

I'm using WebLogic 10.3.6

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3817

You may need to provide more details about the code and how you initialize the implementations etc... in this test so that'd make it easier to answer your query.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
 
subject: JUnit test throws java.rmi.UnmarshalException: Method not found
 
Similar Threads
HSQLDB - user lacks privilege or object not found
Parameterized lists in remote interface
junit throwing exception to pass the test
RMI: ClassNotFoundException for STUB class
struts test case problem