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



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

Have Programming Question? Ask it here!
 
 
 


Java Coder
where to place persistence.xml in Maven 3 project
1 Answer(s)      8 months 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
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
Where is the Best Place to Buy Swtor Credits to Enjoy Swtor Thorn Rakghoul Resurgence Event?
Where is the Best Place to Buy Swtor Credits to Enjoy Swtor Thorn Rakghoul... available since January 21 5a.m. EST. Swtor2credits is the best place to buy swtor...-place-to-buy-swtor-credits-to-enjoy-swtor-thorn-rakghoul-resurgence-event
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
hibernate 3.5 maven
In this section, you will learn how to a generate simple java Hibernate 3.5 project using Maven project builder
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 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
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
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 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
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 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
How to create web application using maven in Eclipse?
to create the web project in Maven using the Eclipse IDE. Since Eclipse is very useful..., You can create project in maven and use in Eclipse. You have to use the proper maven archetype for creating the project. Check the tutorial: Maven Web
Hibernate 4.3.0.Final Maven dependency
Adding Hibernate 4.3.0.Final Maven dependency in a project How to add the Hibernate 4.3.0.Final Maven dependency in a project? The Maven is industry standard... experience with Maven then learn the Maven 3 tutorial first. Which will teach
Struts 2.3.15.1 Maven - How to use Maven dependency of Struts 2.3.15.1?
for using the Struts 2.3.15.1 libraries in your project. Maven is project... the †Struts 2.3.15.1 in the pom.xml file of the project. Maven will download...Struts 2.3.15.1 Maven - How to use Maven dependency of Struts 2.3.15.1
Hibernate 4.3.4 Released: Hibernate 4.3.4.Final Maven dependency
Adding Hibernate 4.3.4.Final Maven dependency in a project How to add the Hibernate 4.3.4.Final Maven dependency in a project? Hibernate 4.3.4 is already released and you can start using this in your project. The Maven is industry
Information about Connaught Place Delhi
Connaught Place of Delhi The Connaught Place is a valuable commercial centre in Delhi. This is a massive shopping centre in Connaught Place Delhi... in Delhi that has evolved over the years to where it features many different types
Maven 2.x Extension for Eclipse
Maven support on plain Java project Quick search for dependencies in Maven... Maven 2.x Extension for Eclipse Maven Integration for Eclipse provides tight integration for Maven into the IDE and providing the following
java - Maven
java  will u send me jsp,servlet or java,struts project dummy which will complet coding from where i can learn
java - Maven
java  will u send me jsp,servlet or java,struts project dummy which will complet coding from where i can learn
java - Maven
java  will u send me jsp,servlet or java,struts project dummy which will complet coding from where i can learn
java - Maven
java  will u send me jsp,servlet or java,struts project dummy which will complet coding from where i can learn
Maven Eclipse Integration - IDE Questions
Maven Eclipse Integration  How to integrate Maven with eclipse? Hi, If you are using maven to build, test and deploy your java... steps: 1: Create your maven project 2. Then create eclipse project file  Hi,If you
Local Maven Depenency
Local Maven Depenency  Hi, What is local maven dependency? How to manage local maven dependency? Thanks   Hi, If some library is not available on the public maven repository you can add it to the local maven
java - Maven
java  Can u send the maven plug in and related jar files.. i have down loded the zip file,but i need plug in for this... Plse send.... regards raghavendra
What is Apache Maven?
What is Apache Maven? What is the importance of Maven in project development and deployment? In this article we will introduce you with the Maven project management tool. Apache Maven or simply Maven is project management tool which
maven subversion issue
maven subversion issue   m doing work on maven and subversion i have created a maven project now i want to point it to my repository(created by svn... org.apache.maven.plugins maven-release-plugin svn+ssh://file:///E:/my-app-reposs then when
How to enable proxy settings in Maven?
Maven 3 Tutorial: How to enable proxy settings in Maven? In this tutorial I... to the directory where Maven is installed and then go to the conf directory and you should... repository access. Read more Maven 3 tutorials
maven subversion issue
maven subversion issue  m doing work on maven and subversion i have created a maven project now i want to point it to my repository(created by svn tortoise.so i want to take advantages of maven with maintaining subversion
Maven 2 Eclipse Plug-in
around the world. Similarly, Maven is a high-level, intelligent project management... or to enable Maven support on plain Java project ∑ It helps to search quickly... Maven 2 Eclipse Plug-in      
Installing and Getting Hands on Maven
maventest 3. Create your first project. In order to create the simplest of Maven... Installing and Getting Hands on Maven   ... file, let us shift on trying something out. Download Maven from
 

 

 

DMCA.com