Question

how to solve java.lang.NoClassDefFoundError: javax/ejb/EJBObject?

Asked by: viola123
Hi all,
i am new to JDeveloper and J2ee.
i opened an application in Jdeveloper 11, and complie it, it is fine. run it, i got error java.lang.NoClassDefFoundError: javax/ejb/EJBObject

what library i missing?

thanks a lot
Loading libraries
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at au.com.ords.commission.client.CommissionMain.<init>(CommissionMain.java:83)
	at au.com.ords.commission.client.CommissionMain.main(CommissionMain.java:992)
Caused by: java.lang.ClassNotFoundException: javax.ejb.EJBObject
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	... 14 more
Library directory not found.Process exited with exit code 1.

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:

Select allOpen in new window

This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Sign Up Now!
Asked On
2010-06-21 at 23:12:47ID: 26276899
Tags

Jdeveloper 11

Topics

Java Programming Language

,

J2EE

,

Enterprise Java Beans (EJB)

Participating Experts
2
Points
500
Comments
38

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

Companies like CVS, Honeywell, Chevron, Toyoto, TriStar Pictures, the U.S. Army, and Accenture

Your Complete Technology Resource

900+ topic areas (and counting)

Related Solutions

  1. EJB
    I am a beginner in EJB. I am using an NT system. What are the other softwares i need to work in EJB. I have downloaded the Java2 Enterprise Edition SDK. What are the other requirements.Will be grateful if somebody can help. Thanks viji
  2. 9iAS EJB Deployment
    When attempting to deploy a simple session EJB from JDeveloper 3.2.2 to Oracle 8iJVM 8.1.7 the error: Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.server.Messages'. is returned (deployment output belo...
  3. Learning J2EE & EJB
    Hi Anyone can tell me good url/places to learn J2EE & EJB. Thanks & Rgds Heng03
  4. ejb/ j2ee
    I wrote ejb samples. But I want to deploy it in J2EE server(using j2ee -verbose for starting the server). I need the steps for how to deploy my home,remote,bean classes. Please tell me what are all the things I have to perform?
Tutorials are great ways to tackle hard problems!

Featured Articles

Read through articles written by top experts!

Get full access to the help you need.

Subscribe Now

30-day free trial. Register in 60 seconds.

The Latest Technology News and Tips

Your answer is only minutes away!

New Solutions Everyday

Because of our active community of experts, on average new questions receive their first comment in under 30 minutes.

Top Java Questions

       

Hear What our Users are Saying

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

20130221-EE-VQP-039

3 Ways to Join

30-Day Free Trial

Why Experts Exchange?

Trusted by 44 of the Top Fortune 50 Companies. Verizon, Bank of America, IBM, Windows, Dell, Target, Boeing, Comcast, AT&T

Why Experts Exchange?

The go-to tech resource for hundreds of thousands.

"With the help of Experts Exchange -- I have been able to meet my deadlines and produce effective products"

Jan Miller

"I just today started my third contract assignment which I attribute to the skills I am learning from other experts."

Robert Antonellis

"It's my sole resource as I'm kind of an MS Access loner at my company. It's like having colleagues available when I run out of my own steam."

Karen Ruskin

Why Experts Exchange?

50K Tech Experts available to help

Leew has been an expert here since 1997 and is a master at Windows 2000 and XP, hard drives/storage and Small Business Server.

lrmoore has been an expert here since 2000 and is a six-time Microsoft MVP with over 18 years experience in the networking industry.

angeliii has been an expert here since 2000 and is a Microsoft MVP for his work with MS SQL Server and Development

Why Experts Exchange?

3 Million+ Questions Solved

"The experts approach solutions with patience and innovative ideas, and ultimately I have my problem solved."

Gary Serkhoshian

"Most every situation is already posted and answered, a quick search usually gives a solution. EE is truly a bargain."

Bob Schatzman

"9 out of 10 times Experts Exchange has the accepted solution or an open discussion of the potential solutions to the problem."

Kenny Red

Why Experts Exchange?

Serving tech professionals since 1996.

At Experts Exchange, we treat each question as unique and deserving of an answer.

As one of the most enduring technology resources, our community knows the importance of helping each individual with their problem, no matter how complex or how simple. We're here to collaborate with you.

Business Account Plans