[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Data Structures in C – Linked List (20 Programs)

List of Programs : Pointers in C Programming – Basics Stack Implementation using Linked List – C Program Linked List in C – Insert Node at Start of the Linked List Linked List in C – Insert Node at End of Linked List Linked List in C – Insert New Node at Position N in… Read More »

Read more
Alternative text

Error – “Plugin execution not covered by lifecycle configuration” for Spring Data Maven Builds – Eclipse/SSTS/GGTS Maven Proxy Issue when ...

You may have encountered this error when using MAVEN in corporate environments which is due to the proxy issue.  You may even get this error even after configuring proxy setting in Eclipse- > Window -> Preferences -> General -> Network Connections. The problem is that MAVEN wont use this PROXY setting for downloading the dependency… Read More »

Read more
Alternative text

Spring Boot – Use External/Local Tomcat instead of Embedded/In-built Tomcat server

Default pom.xml with exclusions tag to exclude embedded TOMCAT server: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.test</groupId> <artifactId>demo</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>demo</name> <description>Demo project for Spring Boot</description> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.2.1.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <start-class>demo.DemoApplication</start-class> <java.version>1.7</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion>… Read More »

Read more
Alternative text

Java – Read/Parse Command Line Arguments/Options

Maven Dependency : <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> </dependency> Sample Java Program : package test; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; public class Test { public static void main(String[] args) { //Define Options Options options = new Options(); //Option Name - option1 //Has input value - true options.addOption("option1", true, "Option 1 Description");… Read More »

Read more
Alternative text

WhatsApp for Web – QR code issues – SOLVED

           I personally own Moto E which doesn’t have auto focus in its camera. So initially the WhatsApp application was not able to read the QR code which is required to use WhatsApp for Web. You can follow the below steps to make it work. Steps to make smartphone use WhatsApp for Web… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]