File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 87

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

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JUnit test throws java.rmi.UnmarshalException: Method not found