You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@empire-db.apache.org by Sujeet Kumar <su...@gmail.com> on 2013/11/12 05:40:54 UTC
Re: Getting error
Waiting for your reply. Can you explain it with step by step as i am
unable to import this with screenshot,if possible.
"The sample application used for this tutorial is provided with the
Apache-Empire-db distribution and can be found in the
*empire-db-examples/empire-db-example-basic* directory. In order to open
the project in your favourite IDE Maven may be able to generate a project
file for you (e.g. for Eclipse run “mvn eclipse:eclipse”). Otherwise you
have to create a new project and import all files and dependencies
manually. In your IDE, set a breakpoint on the first line of the main
method in SampleApp.java and debug the sample."
Thanks with Regards,
Sujeet
On Fri, Nov 8, 2013 at 9:59 PM, Sujeet Kumar <su...@gmail.com> wrote:
> Hi,
> I follow the link and getting error.
>
> http://empire-db.apache.org/documentation/getting_started.htm
>
>
> *Environment:*
> a)window 7
> b)Tomcat 7
> c)commons-beanutils-1.8.0.jar
> d)commons-logging-1.1.3.jar
> e)commons-collections-3.1.jar
> f)empire-db-2.4.2.jar
> g)log4j-1.2.12.jar
> h)hsqldb-1.8.0.7.jar
>
>
> *Step I followed:*
> Step 1.create one Dynamic Web Project
> Step2:Paste "main" folder inside "src"
> (\apache-empire-db-2.4.2\src\empire-db-examples\empire-db-example-basic\src\main)
> Step3:Paste all jar inside the "lib"
> Step4:All in library (properties)
>
> Getting error in "sampleApp.java"
>
>
> Kindly help me. Other wise send me some more document so that i can learn
> it more.
>
> Thanks with Regards,
> Sujeet
>
Re: Getting error
Posted by Francis De Brabandere <fr...@gmail.com>.
this is one way to get going in eclipse
Step 1: make sure you have the m2eclipse plugin installed in eclipse
(help - eclipse marketplace - search maven - install Maven Integration
For Eclipse)
Step 2: in eclipse - File - Import - maven - Existing maven projects -
point it to the sample app folder - next/finish (might ask to install
some more eclipse plugins)
Step 1: An other option is making sure you have maven available on
command line: http://maven.apache.org/download.cgi
Step 2: on command line: mvn eclipse:eclipse
Step 3: in eclipse import the project - file - import -
general/existing projects into workspace
Cheers,
Francis
On 12 November 2013 05:40, Sujeet Kumar <su...@gmail.com> wrote:
> Waiting for your reply. Can you explain it with step by step as i am
> unable to import this with screenshot,if possible.
>
> "The sample application used for this tutorial is provided with the
> Apache-Empire-db distribution and can be found in the
> *empire-db-examples/empire-db-example-basic* directory. In order to open
> the project in your favourite IDE Maven may be able to generate a project
> file for you (e.g. for Eclipse run “mvn eclipse:eclipse”). Otherwise you
> have to create a new project and import all files and dependencies
> manually. In your IDE, set a breakpoint on the first line of the main
> method in SampleApp.java and debug the sample."
>
>
> Thanks with Regards,
>
> Sujeet
>
>
>
>
> On Fri, Nov 8, 2013 at 9:59 PM, Sujeet Kumar <su...@gmail.com> wrote:
>
>> Hi,
>> I follow the link and getting error.
>>
>> http://empire-db.apache.org/documentation/getting_started.htm
>>
>>
>> *Environment:*
>> a)window 7
>> b)Tomcat 7
>> c)commons-beanutils-1.8.0.jar
>> d)commons-logging-1.1.3.jar
>> e)commons-collections-3.1.jar
>> f)empire-db-2.4.2.jar
>> g)log4j-1.2.12.jar
>> h)hsqldb-1.8.0.7.jar
>>
>>
>> *Step I followed:*
>> Step 1.create one Dynamic Web Project
>> Step2:Paste "main" folder inside "src"
>> (\apache-empire-db-2.4.2\src\empire-db-examples\empire-db-example-basic\src\main)
>> Step3:Paste all jar inside the "lib"
>> Step4:All in library (properties)
>>
>> Getting error in "sampleApp.java"
>>
>>
>> Kindly help me. Other wise send me some more document so that i can learn
>> it more.
>>
>> Thanks with Regards,
>> Sujeet
>>