Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rmic compiler generates this and ask me to file bug !

 
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)
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you show th e source code ?
What version are you working on ?
What OS ?
Just go to the developer connection & see if the bug is already known !
thomas,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic