Title: RE: [jBoss-User] NoClassDefFoundError

Hi!

Do you have EJBs calling other EJBs?

In that case you need to define that in the Deployment Descriptor with a <ejb-ref> to the bean you are calling ,in the bean <entity-bean> you are calling from. If the reference is not defined jBoss will not find the class.

Refer to the EJB1.1 spec. There should be examples there.

Cheers,

gustav bostr�m

the eon company
www.eoncompany.com

o +46-8-54528800
m +46-70-9575154
e [EMAIL PROTECTED]





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 9 januari 2001 17:54
To: [EMAIL PROTECTED]
Subject: [jBoss-User] NoClassDefFoundError


Hi folks,

I user jBoss-2.0_FINAL and the SUN jdk1.3.

As far as I see my app was deployed without a problem:

[J2EE Deployer] Create application trendbridge.jar
[J2EE Deployer] Installing EJB package: trendbridge.jar
[J2EE Deployer] Starting module trendbridge.jar
[Container factory]
Deploying:file:/D:/Programme/jBoss/bin/../tmp/deploy/trendbridge.jar/ejb100
2.jar
[Verifier] Verifying
file:/D:/Programme/jBoss/bin/../tmp/deploy/trendbridge.jar/ejb1002.jar
[Container factory] Deploying TrendEjbBridge
[Container factory] Deployed application:
file:/D:/Programme/jBoss/bin/../tmp/deploy/trendbridge.jar/ejb1002.jar
[J2EE Deployer] J2EE application:
file:/D:/Programme/jBoss/deploy/trendbridge.jar is deployed.

But when I tried to access the bean I got:

[TrendEjbBridge] TRANSACTION ROLLBACK
EXCEPTION:de/gebit/trend/bo/ejb/bridge/RemoteWorkspaceBridgeHome; nested
exception is:
        java.lang.NoClassDefFoundError:
de/gebit/trend/bo/ejb/bridge/RemoteWorkspaceBridgeHome
[TrendEjbBridge] java.lang.NoClassDefFoundError:
de/gebit/trend/bo/ejb/bridge/RemoteWorkspaceBridgeHome
[TrendEjbBridge]        at java.lang.Class.forName0(Native Method)
[TrendEjbBridge]        at java.lang.Class.forName(Unknown Source)

What I don't understand is that
de/gebit/trend/bo/ejb/bridge/RemoteWorkspaceBridgeHome
is in the jar file I deployed. What did I miss?

Thanks a lot,
Stephan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to