May 28, 2015

Error-JavaEE-Oracle[Solved]-Apache Maven install “'mvn' not recognized as an internal or external command”

Problem : Apache Maven install “'mvn' not recognized as an internal or external command”

Solution : Here I am using Windows 8.1 and Java 8.
1. Check out Maven in your Apache Tomcat Directory. If Maven folder is not there then download it first from this site : https://maven.apache.org/download.cgi
Download apache-maven-3.3.3-bin.zip
Unzip it and paste "apache-maven-3.3.3" inside "apache-tomcat-7.0.54" as I'm using Apache 7.
 
2. Create a user variables like this [ M2 = %M2_HOME% ]

3. Create a user variables like this [M2_HOME = F:\apache-tomcat-7.0.54\apache-maven-3.3.3\bin]
 (as my apache tomcat is in F:\ dive your may be in C:\ drive)

4. Edit the Path or PATH to [What ever is already in here +];%M2%

5. Dependency in pom.xml

6. Now open Command Prompt go-to  "F:\apache-tomcat-7.0.54\apache-maven-3.3.3\bin"
Execute following command
 mvn install:install-file -Dfile=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14_g.jar -DgroupId=com.oracle -DartifactId=ojdbc14_g -Dversion=10.2.0 -Dpackaging=jar   




Please Comment Thanks to us if this topic is helpful :)

May 23, 2015

Error-JavaEE[Solved] : m2e Maven Dependency Plugin Install in Eclipse

Problem : Cannot complete the install because one or more required items could not be found.

Software being installed: m2e connector for the Maven Dependency Plugin 0.0.4.201410161303 (com.ianbrandt.tools.m2e.mdp.feature.feature.group 0.0.4.201410161303)

Missing requirement: m2e connector for Maven Dependency Plugin 0.0.4.201410161303 (com.ianbrandt.tools.m2e.mdp.core 0.0.4.201410161303) requires 'bundle org.eclipse.m2e.jdt 1.4.0' but it could not be found

 Cannot satisfy dependency:

 From: m2e connector for the Maven Dependency Plugin 0.0.4.201410161303 (com.ianbrandt.tools.m2e.mdp.feature.feature.group 0.0.4.201410161303)

 To: com.ianbrandt.tools.m2e.mdp.core [0.0.4.201410161303]


Solution : 
1. Start Eclipse IDE > Help > Install New Software
2. Paste site: http://download.eclipse.org/releases/indigo/  in Work with Textbox
3. Once the list loads, under "General Purpose Tools", check "m2e - Maven Integration for Eclipse ".
Continue Installation with Next
Click Finish
Wait For Completion of Installation.

NOTE : Sometimes it still shows error while installation with Eclipse Indigo
so if you are not still able to install it then download "eclipse-jee-luna-SR2-win32-x86_64" 
It already comes with m2e Maven dependency plugin.

Please Comment Thanks to us if this topic is helpful :)

Disclaimer

We shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its response or damage to your system. We do not guarantee that the integrity or security of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. Anyone communicating with us by email accepts the risks involved and their consequences. We accept no liability for any damage caused by any virus transmitted by this site.