• Post Reply Bookmark Topic Watch Topic
  • New Topic

rmic generates this error ! any idea ?

 
Amit Jain
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
posted April 15, 2002 12:55 PM
--------------------------------------------------------------------------------
This is my rmic compiler generating:
[rmic] RMI Compiling 2 classes to D:\ecp\build\base_classes
java.lang.ClassFormatError: javax/servlet/ServletRequest (Illegal constant pool
index)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
at sun.rmi.rmic.iiop.ClassPathLoader.findClass(ClassPathLoader.java:34)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at sun.rmi.rmic.iiop.CompoundType.loadClass(CompoundType.java:314)
at sun.rmi.rmic.iiop.Type.initClass(Type.java:964)
at sun.rmi.rmic.iiop.Type.setRepositoryID(Type.java:981)
at sun.rmi.rmic.iiop.CompoundType.initialize(CompoundType.java:755)
at sun.rmi.rmic.iiop.NCInterfaceType.initialize(NCInterfaceType.java:147
)
at sun.rmi.rmic.iiop.NCInterfaceType.forNCInterface(NCInterfaceType.java
:72)
 
Don Schaefer
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll admit that this is a real reach but could you be picking up a different rmic than you are expecting? Say from another jdk installation?
Like I said, its a reach.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!