This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 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: 3815

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