aspose file tools*
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: 84

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: 3832

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JUnit test throws java.rmi.UnmarshalException: Method not found