Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

EJB project

  Asked By: Ashan    Date: Jul 24    Category: Java    Views: 476

am doing one EJB project. I have one jar file in that
i kept all classes and that classes i have used in
Session bean.I kept that jar in Meta-inf as well as in
lib.then in MANIFEST.MF under Meta-inf directory i
worote like this
Manifest-Version: 1.0
Class-Path: securityAspect.jar
Bundle-ClassPath: lib/securityAspect.jar

and then i compiled it is Success ful
But when i deplyed in Weblogic its giving exception
that Class not dfound but that class is there in that
jar file



2 Answers Found

Answer #1    Answered By: Sean Grant     Answered On: Jul 24

Class-Path: securityAspect.jar

This will work, if the jar  specified is at the root level in the jar.
You can remove
Bundle-ClassPath: lib/securityAspect.jar

Answer #2    Answered By: Huette Miller     Answered On: Jul 24

That also i did but its not working.....

Didn't find what you were looking for? Find more on EJB project Or get search suggestion and latest updates.