EJB Project  couldnu00B4t be created

Hello,
I updated my NW Developer Studio to 2.0.15, Build id: 200511290548. Now the problem occurs that I cannot create a new EJB Project. Following error is shown up: New project couln´t be created.
In the log the error starts with following message:
!ENTRY com.sap.ide.metamodel.core 1 1 Jul 31, 2006 14:38:19.281
!MESSAGE Updating metamodel archives from classpath for project MailAdapterModule
!ENTRY com.tssap.util 4 0 Jul 31, 2006 14:38:20.804
!MESSAGE Jul 31, 2006 2:38:20 PM  com.tssap.j2ee.ui.creation.internal.AbstractJ2eeProjectCr... [Thread[main,5,main]] Error: method: createNewProject -> problems with runnable for j2ee-project
!STACK 0
java.lang.reflect.InvocationTargetException
     at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:313)
Any ideas?
Regards
Michael

Hi Michael,
I have heard of (and experienced) a number of different issues with NWDS SP15. Rather than trying to fight it, you could try installing SP16 or SP17 and see if that solves the problem.
Regards,
Thorsten

Similar Messages

  • How can I create a new EJB project ?

    Hi,
    I downloaded the trial version and I don't know how to create an EJB project ?
    When I create a new project, I've only the web template to choose.
    Where can I find informations about that ?
    Thanks.
    jack

    Hi Jack,
    This version of the Creator allows you to build applications which access existing EJB's, but doesn't create new EJB's from scratch. We are looking into that for future releases.
    If you want to access an existing EJB, please see the tutorials:
    http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/sessionEJBcomps.pdf
    I believe the Sun Java Studio Standard product can help you create EJB's today, if that's what you need:
    http://developers.sun.com/prodtech/javatools/jsstandard/index.html
    hth,
    Val

  • How to run the ejb project in j2ee server

    How to run the EJB project.
    I give like
    java conveterClient converterClient.jar
    here conveterClient is class file name and converterClient.jar is deployed file
    like wise i give some exception is come
    give some help pls friends

    Navigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database

  • How to call external jar files in EJB project for CE

    Hi,
    I would be thankful if someone could help me with this -
    I need to call the external jar files into my EJB project - Here is what I have done and am getting runtime exception as  -
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    1. Created a EJB  project" HelloWorld "  using Java perspective in NWDS 7.1 called with client as HelloWorldClient and EAR project as HelloWorldEAR.
    2. Am working on HelloWorld project (1st one).
    3. In my code I am instantiating a class which is a class in one of  the external jar file that I need to refer in my project.
    4. I have set the Java Build path but it works only for the compile time and fails during runtime.
    5. Have read I need to create external library DC and refer in my project "HelloWorld".
    Can anyone help me with exact steps what needs to be done - during creation of external library project and then for my "HelloWorld" EJB project. How would I be able to reference or set the external library project in my EJB project?
    Looking forward to hear from experts.
    Thanks,
    Shiv
    Edited by: Shiv Khullar on Aug 30, 2010 9:39 PM

    Hi Edson,
    I tried it , but it still gives me runtime exception.
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    Steps I performed are -
    1. Created a library project and created 2 Public parts "Compilation" and "Assembly"
    2. Build the library project.
    Now in my EJB project using Project Explorer - set the classpath and added both compilation jar and assembly jar files.
    This is how the classpath entries for external library looks like -
    <classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkAssembly/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkAssembly.jar"/>
         <classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkCompilation/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkCompilation.jar"/>
    I have also added the jar files I used in my external library project as "User Library" from Java Build Path . I dont do it , then the code fails during compilation itself.
    Regards,
    Shiv

  • Adapter module:: JAR file in the build path of EJB project

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

  • EJB project IDE build dos not include properties files

    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

    Hey Jamie,
    Currently there is no support to include other .properties files into
    the internal build. There's a build.properties that you get as part of
    an EJB project which you could place your values into and use that as
    your template for your team based development and check that into your
    source control.
    If you'd really like to get gross and hack Workshop a little bit you
    could modify the default EJB project template to use your .properties
    file for every EJB project you create. This would then splat a copy of
    your .properties file into the root of the EJB project.
    To do that you'd go to {your BEAHOME}\workshop\templates and crack open
    the ejb-project.zip template zip file and merge your settings into the
    existing build.properties file. This has the same
    effect as replacing the .properties file after you've created your
    project only it keeps you from having to perform that step each time.
    The downside of this is that each person on your team would then have to
    update that template zip file in their workshop installation. (I'd make
    sure to backup the original template file before performing this
    activity so you can always go back to the original template).
    Hope this helps,
    -Michael
    Jamie wrote:
    We have property files also which we want included as part of the build process
    for EJB projects but if we use the IDE build it does not include them. We have
    to therefore export the IDE build and customize it to include *.properties like
    this
    <zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
    filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
    /> </zip>
    which causes a problem for us because the exported build file is specific to a
    user's local PC and cannot be used in a team environment.
    How can we have the IDE build include all the files within an EJB project i.e.
    include properties files also.

  • Unable to build EJB project.

    Hi All,
    I am new to CE and trying to crete an EJB project. I am following the below tutorial.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b?quicklink=index&overridelayout=true
    I have configured the data source, created the EJB module, created the Entity Bean & session bean. While trying to build the project, I am getting an error "Unable to provide dictionary objects. Please check if the connected project is sttll valid."
    Please help me resolving the issue.
    Regards,
    Bhavya.

    Hi Divya,
    Follow the above steps in the following link how to use external library in DC's
    /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
    1)Expose the JAR file in two separate public parts, one with purpose assembly (1) and another one with purpose compilation (2).
    2)Use the public part with purpose compilation in the Web Dynpro "client" development component
    Let me know if you are still facing the problem.
    Hope this helps you...
    Regards,
    Saleem
    Edited by: Saleem Baig Mohammed on Jun 2, 2009 2:35 PM

  • Configuring Log4j for a EJB Project.

    Hi,
    I have a weblogic EJB project as a Ear file. The project has no web components (so war file). I want to know which is the ideal way to initialize log4j in this situation.
    I can use listener class thro' weblogic-application.xml. But there is no neat way to passing the log4j.xml thro' parameter from weblogic-applicaiton.xml file.
    If we are using servlet we could use init-parm to passing xml file. I don't want to hard code the xml file location in the listener class.
    What is the best practice to initialize log4j for a EJB project?
    Thanks in advance.
    Anand

    Dan,
    I had a similar problem because I wanted to define my own log4j config regardless of what other portal apps were deployed in the BEA domain or what log4j was the default for the domain. This is what I do:
    1) Put your log4j config file in the WEB-INF classes dir (or I guess it could be in some other place that the CLASSPATH knows of)
    2) Create a servlet that looks like:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.apache.log4j.xml.*;
    public class Log4jInitServlet extends HttpServlet {
    private static final long serialVersionUID = 23456;
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    DOMConfigurator.configure(Thread.currentThread().getContextClassLoader().getResource("myLog4jConfigFile.xml"));
    public void doGet(HttpServletRequest req, HttpServletResponse resp) {
    3) Add the servlet definition in the web.xml and add a <load-on-startup>1</load-on-startup>
    That should do it.
    - Peter

  • Javax ejb CreateException: Could not create stateless EJB

    Hi,
    I have a JavaEE (EJB3.0) project deployed on glassfish2.1 as -.ear (exported from eclipse3.4 to the autodeploy-folder) with -.ejb.jar, -.webui.war, general-lib-base.jar (some other...)
    The session bean is invoked by a jsf-managed bean. Have a pure annotation +@ejb+ in managed bean (identifiing the ejb-interface (+@Remote+) ...the ejb is annotated with +@stateless+
    get the following error message:
    *...nested exception is: javax.ejb.CreateException: Could not create stateless EJB*
    as beginner in the JavaEE-field I'm looking for some help concerning the possible causes.
    thank's for any comment...
    (also posted in the Enterprise JavaBeans-forum possibly better there)

    problem fixed: in the deployment-descriptor ejb-jar.xml a spezification of the session-bean hung around ...very annoying!

  • Re:  Tutorial:  Using an EJB Project

    I am a computer engineering student who is learning weblogic. I appreciate if
    anyone can help me with my question on Using an EJB Project
    This tutorial can be found in weblogic 8.1: go to workshop ->help->Tutorials and
    samples-> Using an EJB project
    On page 11, section: Create a web application, it asks to import a webapp file
    that nowhere to be found in beahome. Where can I find webapp file for this
    ejb example
    Thanks very much,
    Jessica

    Hi Jessica,
    If I'm understanding your question correctly you're running
    the EJB tutorial that's being shipped with the 8.1 beta correct?
    I just did a quick check on my installation of the pre-beta installer
    and didn't see it there so it's possible there's a bug in the installer
    or something. At any rate, I've attached a zipped up copy of that
    tutorial code here. Hope that helps.
    Michael Kovacs
    Senior Software Engineer
    BEA Systems
    "Jessica " <[email protected]> wrote in message
    news:3e9b0cfc$[email protected]..
    >
    I am a computer engineering student who is learning weblogic. Iappreciate if
    anyone can help me with my question on Using an EJB Project
    This tutorial can be found in weblogic 8.1: go toworkshop ->help->Tutorials and
    samples-> Using an EJB project
    On page 11, section: Create a web application, it asks to import a webappfile
    that nowhere to be found in beahome. Where can I find webapp file forthis
    ejb example
    Thanks very much,
    Jessica[EJBProject.zip]

  • JPA facet in EJB project

    Hi!
    Trying to develop ejb 3 project. No problem creating ejb3 session beans.
    But I'm not able to enable JPA facet in ejb project. Only supported in web project.
    Can this be true? Is support for EJB 3/JPA still lacking even in 10.3 version?
    Very disapointing....
    Regards,
    Jesper

    To clarify...
    There is no support for JPA in EJB projects in Workshop. Workshop JPA tools can only be used in web projects.
    Base Eclipse, however, comes with a different set of JPA tools that can be used with EJB or Utility projects. Oracle Enterprise Pack for Eclipse (OEPE) works with this JPA toolset (unlike Workshop). Version 1.0 of OEPE is already available (see link that Danny provided). The next version of OEPE (available in Q1 of 2009) will include additional JPA functionality that is even better than similar functionality currently available in Workshop. All of the new JPA functionality coming in the next OEPE release will be supported for Web, EJB and Utility projects.
    Hope this helps.
    - Konstantin

  • Deploing an ejb project

    i have an application wich contain a jsp and servlet project, then i create in this application an ejb project which contain an ejb entity and ejb session but when i run'it whith oc4j both of this project: a jsp page or an ejb session don't be executed and the error is:
    11 mai 2007 11:45:01 com.evermind.server.ejb.logging.EJBMessages logException
    GRAVE: [current-workspace-app] Une erreur s'est produite lors du déploiement du module EJB : com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:PFE_Project_EJB_0] - Exception lors de la création de EntityManagerFactory utilisant la classe PersistenceProvider oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider pour l'unité de persistance Project_EJB.
    com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:PFE_Project_EJB_0] - Exception lors de la création de EntityManagerFactory utilisant la classe PersistenceProvider oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider pour l'unité de persistance Project_EJB.
         at com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
         at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1022)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:845)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:439)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Exception [TOPLINK-7161] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Entity class [class project_ejb.Test] has no primary key specified. It should define either an @Id, @EmbeddedId or an @IdClass.
         at oracle.toplink.essentials.exceptions.ValidationException.noPrimaryKeyAnnotationsFound(ValidationException.java:1112)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataValidator.throwNoPrimaryKeyAnnotationsFound(MetadataValidator.java:210)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.validatePrimaryKey(ClassAccessor.java:1470)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.process(ClassAccessor.java:463)
         at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processAnnotations(MetadataProcessor.java:196)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.processORMetadata(EntityManagerSetupImpl.java:993)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:501)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:152)
         at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
         ... 12 more
    07/05/11 11:45:01 ATTENTION: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: [current-workspace-app:PFE_Project_EJB_0] - Exception lors de la création de EntityManagerFactory utilisant la classe PersistenceProvider oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider pour l'unité de persistance Project_EJB.
    11 mai 2007 11:45:01 com.evermind.server.ServerMessages warningApplicationInitializationFailed
    ATTENTION: Exception lors de l'initialisation de l'application déployée : current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
    Please help me, this error stop me to continue my job

    Hi,
    I think your ejb doesn't contain primary key definition.
    From your exception:
    Caused by: Exception [TOPLINK-7161] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Entity class [class project_ejb.Test] has no primary key specified. It should define either an @Id, @EmbeddedId or an @IdClass.
    You can use the @Id annotation on the primary key field(s).
    For example:
    @Id
    @Column(name="INVOICE_NR", nullable = false)
    private Long invoiceNr;
    Regards,
    Kati

  • EJB project creation in Eclipse

    Hi All,
    i am using Eclipse 3.2 to create an EJB module.
    i created a new EJB project......in it in ejbModule, i created a package and a JAVA class in it...........
    when in the JAVA class, i wrote import javax.ejb.SessionBean; it gave error on javax.ejb saying "javax.ejb cant be resolved"............
    Can anybody suggest how to rectify this error.
    Thanks,
    Rajeev Gupta

    Hi All,
    i created a jar file for my ejb project...........
    Now i imported that jar file in a new java prj, then i am able to instantiate that ejb class in the main method of the new java prj.........
    In the window i can also see all methods of the ejb class.........
    My ejb-jar xml file is having the below content:
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
         <description>Hello World EJB description</description>
         <display-name>prjHelloWorldEJB</display-name>
         <enterprise-beans>          
                   <ejb-name>HelloWorldEJB</ejb-name>
                   <ejb-class>pkgHelloWorldEJB.HelloWorldEJB</ejb-class>               
                   <session-type>Stateless</session-type>
                   <transaction-type>Container</transaction-type>          
         </enterprise-beans>
    </ejb-jar>
    Like i declared a function:
    public String strReturn(){
              return "Hello JAVA EJB World";     
    When i called this function by obj.strReturn() then no compilation error was there.
    <b>But when i run this JAVA prj application, it gave error java.lang.NoClassDefFoundError: pkgEJB/ClassEJB
         at pkg.class.main of JAVA prj application</b>.
    Can anybody suggest me what should i do to rectify this situation.
    Thanks,
    Rajeev Gupta

  • EJB project in Eclipse 3.2

    Hi All,
    i am trying to develop a demo EJB project in Eclipse 3.2 so after it i can use it in some other demo project.....i am not developing a adapter module.....i am developing a simple EJB project by implementing SessionBean only.
    now i am facing a problem that     i am not able to see EJB Candidate   in  my EJB-Project, so i am not able to add my class file to ejb-jar xml file........i am also not able to see ejb-j2ee-engine.xml............
    So can anybody help me to rectify this situation.
    Thanks,
    Rajeev Gupta

    Hi Wang,
    i am not developing a adapter module......i am developing just a demo ejb project in Eclipse 3.2 for using it in another java prj.....well my above problem is resolved now...........
    now i am facing the below issue:
    i created a jar file for my ejb project...........then i imported that jar file in a new java prj, then i am able to instantiate that ejb class in the main method of the new java prj.........
    In the window i can also see all methods of the ejb class.........
    My ejb-jar xml file is having the below content:
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    <description>Hello World EJB description</description>
    <display-name>prjHelloWorldEJB</display-name>
    <enterprise-beans>
    <ejb-name>HelloWorldEJB</ejb-name>
    <ejb-class>pkgHelloWorldEJB.HelloWorldEJB</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </enterprise-beans>
    </ejb-jar>
    Like i declared a function:
    public String strReturn(){
    return "Hello JAVA EJB World";
    When i called this function by obj.strReturn() then no compilation error was there.
    <b>But when i run this JAVA prj application, it gave error java.lang.NoClassDefFoundError: pkgEJB/ClassEJB
    at pkg.class.main of JAVA prj application.</b>
    Can anybody suggest me what should i do to rectify this situation.
    Thanks,
    Rajeev Gupta

  • Can't use JPA facet in a Workshop 10.3 EJB project

    Greetings,
    I'm using Oracle Workshop for WebLogic 10.3 to migrate an enterprise application from JBoss 5.0 to WebLogic 10.3. I'm a bit confused as, while I can add the JPA facet to a Dynamic Web project, I cannot do the same with an EJB project. I'd need to take advantage of the IDE automatic facets management instead to manually dealing with libraries and dependencies. I beleive that this is the reason these facets exist. However, after having created a EJB 3.0 project, it is impossible to add to it the JPA facet. I had to define the JPA entities in a Dynamic Web project as this is the only one to which I can add the JPA facet. This is not regular. Additionally, the SLSB facades may only be defined in an EJB project. They reference the JPA entities in the Dynamic Web project which, given the class loading hierarchy, is not possible. So my question is: how is one supposed to use JPA with WTP projects ?
    Many thanks in advance for any help,
    Nicolas

    This isn't supported in Workshop 10.3 and prior, the JPA tooling only works with Dynamic Web Projects in those releases to my knowledge.
    I think this changed in OEPE 11g. Check out this article that shows JPA being used in the context of a Utility Project:
    http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
    OEPE 11g Download: http://www.oracle.com/technology/software/products/oepe/index.html

Maybe you are looking for

  • Itunes won't recognize my phone is connected with a usb.

    I tried using different cables and plugging them into to different ports. And its not my phone because it will connect to the computer.

  • Considering the purchase a Dell Ultrasharp

    Displays HD resolution.  As a third monitor will I move my canvas to this monitor.  Or their away to get the HD image to display?

  • EXPDP 10g - skip estimate

    I have a big database (1,6TB) and now many rows in many tables where deleted. The tablespaces are still very big but i want to shrink them to free up some disk space. So i want to try to export the whole database and import them with TABLE_EXISTS_ACT

  • HTML Drill Down Report

    Hi, I am using CR4E Ver 2.0.11.r1346. I am producing HTML drill down report. My code for the same looks like.. CrystalReportViewer crystalReportViewer = new CrystalReportViewer();                     crystalReportViewer.setOwnPage(false);            

  • Error deploying pages containing JSTL

    Having a problem when I verify my App. Assertion:All the JSPs that are bundled inside a web application must be compilable using a J2EE compliant JSP compiler that does not have any proprietary or optional features in it. For [ /project/WebApp.war ]