Category Archives: Programming

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

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

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

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

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 »

Pretty/Style/Indent JSON String in HTML DIV/PRE Tag in Javascript/jQuery

Pretty/Style/Indent JSON String in HTML DIV/PRE Tag in Javascript/jQuery

Pretty/Style/Indent JSON String in HTML DIV/PRE Tag in Javascript/jQuery

Pretty/Style/Indent JSON String in HTML DIV/PRE Tag in Javascript/jQuery

         We come across many situations where we need to display JSON string (pretty/Style/Indent format) inside HTML DIV(<div></div>) tag. The below Javascript code snippet can be used to achieve what you need.  HTML Code <pre id=”json”></pre> //DIV tag wont work  Javascript Code var data = { “data”: { “attribute1”: “value1”, “attribute2”: “value2”,… Read More »

Grails GGTS/Eclipse – Stop Server -Stop Button Not Working (Application Not Stopping/Killed)

Grails GGTS/Eclipse – Stop Server -Stop Button Not Working (Application Not Stopping/Killed)

           Since Grails version 2.3, there is a feature, Forked Execution which can be configured in grails-app/conf/BuildConfig.groovy to make build classpath independent from the runtime classpath. If you do not want this feature, you can comment the following line in grails-app/conf/BuildConfig.groovy. /* Comment Starts grails.project.fork = [ // configure settings for compilation JVM, note… Read More »

javax.net.ssl.SSLProtocolException – Message handshake alert: unrecognized_name Trace – getContentEncoding in java.net.URLConnection

javax.net.ssl.SSLProtocolException – Message handshake alert: unrecognized_name Trace – getContentEncoding in java.net.URLConnection

        This is an error due to a bug in Java version 1.7. It can be solved by adding the following line in your Java application. System.setProperty (“jsse.enableSNIExtension”, “false”);          This error occurs mainly in private or corporate networks where there are security protocols implemented.