Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions where to place persistence.xml in Maven 3 project
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
where to place persistence.xml in Maven 3 project
1 Answer(s)      a year ago
Posted in : Java Interview Questions


Hi,

The persistence xml should be places in the meta inf folder in maven based project. But I don't know what is the correct directory structure?

Please help me!!

Thanks


Advertisement
View Answers

November 25, 2013 at 4:41 PM


Hi,

You should place this in src\main\resources\META-INF folder.

Read more JPA tutorials.

Thanks



Related Tutorials/Questions & Answers:
where to place persistence.xml in Maven 3 project
where to place persistence.xml in Maven 3 project  Hi, The persistence xml should be places in the meta inf folder in maven based project. But I...; Hi, You should place this in src\main\resources\META-INF folder. Read
where to place persistence.xml in Maven 3 project
where to place persistence.xml in Maven 3 project  Hi, The persistence xml should be places in the meta inf folder in maven based project. But I...; Hi, You should place this in src\main\resources\META-INF folder. Read
Advertisements
Maven 3 Tutorial
Maven 3 Tutorial - Learn Maven 3 Project Management tool In this section we are giving tutorials on the Maven 3 project management tool. Maven is famous... Hello World project with Maven 3 Building web application with Maven
Best Eclipse plugin for Maven 3
Best Eclipse plugin for Maven 3  Hi, I am trying to use the Eclipse... want to use the Maven 3 in the Eclipse. Can anyone tell me the best Eclipse plugin for Maven 3? Thanks   Hi, The best plugin is Maven Integration (m2e
JavaScript where to place in HTML
JavaScript where to place in HTML   Where to place JavaScript code into HTML Code?   Placing JavaScript code into HTML Code In HTML, JavaScript can be declared anywhere either in <Head>? or <Body>? Tag
Downloading and installing Maven 3 - Tutorial of Maven 3 explaining the steps to download and configure Maven 3
Downloading and installing Maven 3 In this tutorial I will teach you how you can download, unzip, install and configure Maven 3 on your windows computer. We are using windows 7 for installing and configuring the Maven 3 project
Maven Project Build fails - Maven
Maven Project Build fails  HI Team I need an urgent help and guide. I have installed maven on my system. I am running Windows xp. When i am tryin to build the project app, I am getting this error. as below. Please
Features of Maven 3
in maven 3 allows easy download and quick build of project and hence makes it worth... Project Dependencies and Plugin Dependencies in Maven 3, it is quite different from..., in Maven 3 you can retrieve your own project dependencies from the declared
How to convert eclipse project to Maven
How to convert eclipse project to Maven  Hi, I have a Eclipse Project which is developed using Eclipse. Now I want to use the Maven to build the project. Let's know how to convert it to the Maven Project. Thanks
Maven Web Application: Creating web application in Maven 3
using Maven 3 project management tool. You will also learn how to run... application using maven archetype. We are using the Maven 3 build tool... -DgroupId={package} -DartifactId={project-name} -DarchetypeArtifactId=maven
Create project from Maven Template
In this section, you will learn to create a simple Java web application project from Maven Template
Generate a documentation site for Maven project
In this section, you will learn to auto generate a documentation site with default design and pages for your Maven based project
persistence.xml for MySQL
persistence.xml for MySQL  Hi, Can anyone share me the example of persistence.xml for MySQL database? Thanks   Hi, Here is the code for MySQL: <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi
Maven Jobss Plugin - Maven
Maven Jobss Plugin  How to deploy your application using maven tool.... So, to make the things simple we used jboss-maven-plugin to deploy... org.codehaus.mojo jboss-maven-plugin  Hi, I was working on a project where
Hibernate persistence.xml
In this section, you will learn how to configure persistence.xml and what is its need
Maven - Maven
Maven  I am new to maven tool.i don't know anything abt that? plesae explain me about maven   Hi mamatha, Maven is a high-level, intelligent project management, build and deployment tool provided by Apache?s
Hibernate Maven repo
In this section, you will learn how to use maven repository in your Hibernate project
hibernate maven
In this section, you will learn how to a generate simple java Hibernate project using Maven project builder
redirecting a login authenticated form to a form to be displayed on the same page from where the login authentication has taken place.
page from where the login authentication has taken place.  I am...=st.executeQuery("select * from login where username='"+user+"' and password='"+pass+"'"); int...(); ResultSet rs=st.executeQuery("select * from login where username='"+user
Tell me where we are using overloading and overriding in realtime project?
Tell me where we are using overloading and overriding in realtime project?  Hi,Tell me where we are using overloading and overriding in realtime project? please give me answer
hibernate 3.5 maven
In this section, you will learn how to a generate simple java Hibernate 3.5 project using Maven project builder
Hibernate 4.2.7 Maven dependency
Adding Hibernate 4.2.7 Maven dependency in a project How to add the Hibernate 4.2.7 Maven dependency in a project? The Maven is industry standard build tool... with Maven then learn the Maven 3 tutorial first. Which will teach you how to develop
Hibernate 4.2.8 Maven dependency
Adding Hibernate 4.2.8 Maven dependency in a project How to add the Hibernate 4.2.8 Maven dependency in a project? The Maven is industry standard build tool... with Maven then learn the Maven 3 tutorial first. Which will teach you how to develop
Maven 2
Maven 2          Maven is a high-level, intelligent project management, build and deployment tool provided by Apache?s software foundation group. Maven deals with application
Maven basics
the project and configuration details used by Maven to build the project. It contains... Maven basics        I . Project Object Model A Project Object Model or POM is the fundamental
How to create Maven Web Application in Eclipse?
server. Maven 3 is project management tool for managing the lifecycle..., project building, testing and deployment. Maven helps the developer to automate... you how you can use the Maven 3 in the Eclipse IDE. I am assuming that you
Maven 2 - Maven
Maven 2   Hi, I m new to Maven 2 and in process to implement Maven2. I have browse in the net and got my Maven 2 installed but now I m facing few concerns on creating a small project. Please help me in this regard Thanks
Ask Maven Questions Online
;    Maven is an Open Source high-level, intelligent project... lifecycle management. Maven is based on the concept of a project object model (POM... questions if you are facing any problem in Maven project whether
Maven with eclipse
Maven with eclipse  Hai friends i m new to maven and quartz scheduler. I run the simple Helloworld quartz scheduler program as maven project in eclipse successfully. Now i want to cluster the same program in terracotta quartz
Maven 2: Features
Maven 2: Features       Maven is a high-level, intelligent project management, build and deployment... Maven tries to harness in its general approach to project management. 
Maven Exclusion - Maven
Maven Exclusion  While doing a project I was encountered a problem... jsf-api-1.2_06.jar jsf-impl-1.2_06.jar Here is the full code of maven-war plugin maven-war-plugin 2.0.2 **/jdbc.properties   Hello,My problem
Advertisements
 

 

 

DMCA.com