3 Replies Latest reply on Jan 8, 2008 10:00 AM by Frank Nimphius-Oracle

    duplicate class definition error while invoking EJB from ADF project

    594872
      Hi,

      I am using Jdeveloper TP3 and facing the following problem.

      I have built an EJB project and am ran them successfully in the embedded OC4J via a standalone java program.

      Now I created another project with ADF capabilities and when I tried to ping the EJB i get the following exception

      The application named, current-workspace-app, could not start due to an error.
      duplicate class definition: javax/faces/context/FacesContextFactory Invalid class: javax.faces.context.FacesContextFactory Loader

      This is happenning due to class conflicts between javaee.jar and trinidad-impl.jar/adf-richclient-impl.jar.
      Is there any way of bypassing this class loader issue?