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 RMIC Unresolved Super Compile Error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "RMIC Unresolved Super Compile Error" Watch "RMIC Unresolved Super Compile Error" New topic
Author

RMIC Unresolved Super Compile Error

Trey Brown
Greenhorn

Joined: Apr 08, 2004
Posts: 5
I am getting the following error on the rmic of my class: sun.tools.java.CompilerError: unresolved super.
What has happened is that I have extended a remote class and compiled + rmic successfully. However, when I try to instantiate a class within a method of that remote class (i.e. MyClass oMyClass = new MyClass()), the compile succeeds, but rmic fails with the error.
Currently, MyClass is empty, as I have stripped all functionality out for debugging. Further, when I comment out the class instantiation and attempt to add a new protected method, I get the same error.
Any suggestions would be appreciated,
Thanks,
Trey Brown
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Maybe your classpath is messed up for the rmic but is defined correctly for regular compilation? Could you post your code and how you are doing the compilation/rmic steps (IDE, command line, ANT, etc.)?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMIC Unresolved Super Compile Error
 
Similar Threads
Getting errors during rmic. pls help
using toString() method
How to create the stub class using rmic
RMIC Error: Could not find Class
constructor