Browsing All Posts filed under »Java«

Fixing “SSL handshake failed: SSL error: Key usage violation in certificate has been detected.” error on SVN checkout

April 11, 2012


This one solved it for me Advertisements

QuckTip: Tagging your code on git

December 8, 2011


  For Tagging >git tag -a v1.4 -m ‘version 1.4’ For viewing the tag >git tag For pushing it for everyone >git push --tags For tagging an existing commit > git tag -a v1.2 9fceb02 <start of the changeset code> For fetching tags from repository > git fetch --tags

QuickTip: Limiting the number of rows returned by MySQL. Pagination

November 15, 2011


If you would like to get a row num, you would have to do something like this for getting it in the right order or simply For limiting the number of rows however, there is the LIMIT keyword [bash] mysql> select * from CODE_PANEL_DETAIL limit 1,4; +———————-+—————+——+—————————–+——————–+ | CODE_PANEL_DETAIL_ID | CODE_PANEL_ID | CODE | CODE_TYPE […]

QuickTip: VerifyError with jdk 7

October 9, 2011


If you are struggling with the following kind of error java.lang.VerifyError: Expecting a stackmap frame at branch target 6 bla bla bla …. then a simple solution is to add the following default JVM argument -XX:-UseSplitVerifier If you are doing it in eclipse, like i was, then goto Window -> Preferences -> Installed JREs -> […]

Searching gmail inbox for unread mails only

September 8, 2011


in:inbox is:unread

QuickTip: Ignoring some jars from getting assembled in SBT 0.10x

September 1, 2011


We are using sbt-onejar and as expected but not intended all the jars along with thier transitive dependencies were getting included in the jar. This was giving us several warnings like JarClassLoader: Warning: org/hamcrest/BaseDescription.class in lib/mockito-all-1.8.5.jar is hidden by lib/junit-4.7.jar (with different bytecode) JarClassLoader: Warning: org/hamcrest/BaseMatcher.class in lib/mockito-all-1.8.5.jar is hidden by lib/junit-4.7.jar (with different bytecode) […]

Good Links

June 21, 2011


All Links as comments