Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

AdviceApp Error

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I started studying the HFEJB book and tried the first tutorial program there in Chapter 1 called AdviceApp. I was able to follow all throughout the steps. I successfully run the server. I was able to create the ejb-jar.xml using the deploytool. I was able to compile the client program successfully. But when I was trying to run the client program, using this command, (i'm using windows as my platform)

C:\projects\advice>java -cp %CLASSPATH%;AdviceAppClient.jar AdviceClient

I got this error saying...

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/JDKBridge at com.sun.corba.ee.internal.core.IOR$LocalCodeBaseSingletonHolder.<clinit><IOR.java:90> ...

What is this com/sun/corba/se/internal/util/JDKBridge all about? Am I missing something here?

Thanks in advance!
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please find below an explanation of someone who has had the same problem:

https://coderanch.com/t/161143/java-EJB-SCBCD/certification/AdviceClient
 
Richard Rex
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Valentin,

I added the rt.jar in the CLASSPATH and was successfully removed the JDKBridge error however, I got another error saying...

Exception in thread "main" java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.se.internal.util.JDKClassLoader.specialLoadClass(Native Method)

What's this JDKClassLoader and how do I fix this?
 
Richard Rex
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Valentin,

I added the rt.jar in the CLASSPATH and was successfully removed the JDKBridge error however, I got another error saying...

Exception in thread "main" java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.se.internal.util.JDKClassLoader.specialLoadClass(Native Method)

What's this JDKClassLoader and how do I fix this?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic