Failed to load class org.slf4j.impl.StaticLoggerBinder

Ran into this issue today while trying to run a program from IntelliJ and using SLF4J for logging. pom.xml looked like below:



I was not creating any fat jar. The problem was that IntelliJ was not able to import the

slf4j-simple dependency. To check this goto View -> Tool Windows -> Maven Projects.
Saw red swiggly lines as described in Could not find artifact descriptor.
Downloaded the file manually from and installed it manually by running:

mvn install:install-file -Dfile=/Users/siddjain/Downloads/slf4j-simple-1.6.1.jar -DgroupId=org.slf4j -DartifactId=slf4j-simple -Dversion=1.6.1 -Dpackaging=jar

Now did a reimport in IntelliJ and the error went away

Posted in Software | Leave a comment

IntelliJ IDEA: Cannot resolve symbol

Step 1. Check that your Settings (accessed from File -> Settings) match following screenshots or equivalent:





Step 2: Close IntelliJ

Step 3: Delete all .idea directory and .iml files in your repo:

rm $(find . -name *.iml)

rm -r $(find . -name .idea)

will delete all files recursively on mac. On windows use the simpler

dir *.iml /s

dir .idea /s

Step 4: Delete IDEA system directory. On Windows the IDEA system directory is C:\Users\username\.IntelliJIdea2016.2\system

On Mac do:

rm -r ~/Library/Logs/IntelliJIdea15/*

rm -r ~/Library/Caches/IntelliJIdea15/*


First of all you should try File | Invalidate Caches and if it doesn’t help, delete IDEA system directory. Then re-import the Maven project and see if it helps.



Posted in Software | Leave a comment

Scenic Places

Valley Of Fire State Park


Red Rock Canyon


Hoover Dam


Butchart Gardens


Taj Mahal


Taj Mahal Entrance


Posted in Travel | Leave a comment

National Parks



Point Reyes


Muir Woods (can’t find a photo)

North Cascades (can’t find a photo)

Mt Rainier


Olympic National Park


Glacier Bay National Park


Liberty National Park


Thomas Edison National Park


Paterson Great Falls National Park


Crater Lake


Glacier National Park


Posted in Travel | Leave a comment

Glacier National Park


8/26/16 Drove from Seattle to Coeur ‘d Alene. Took 5 hours. This was the first time I was in Eastern Washington. There is a big field of wind mills by the Columbia River and also a Scenic Viewpoint (recommend). Ate dinner at Bonsai (recommend) and stayed at Super 8 motel.

8/27/16 Drove from Coeur ‘d Alene to West Glacier. Took 5 hours. Did half day white water rafting with Glacier Raft Co. The river was very calm and did not have many rapids. The guide was nice but overall did not enjoy the rafting trip very much. Felt it was too long (about 4 hours). Butt got sore. Had dinner at Belton Chalet. Had a unusual fetuccine pasta that had cauliflowers in it. Would not recommend the place considering the $$$. Stayed at Motel Lake McDonald. Bathroom was very tiny but other than that accommodation was okay – in fact one advantage of staying at the motel is that the car could be parked right outside the room and it was very easy to make trips to the car to get stuff out every now and then.

8/28/16 Breakfast at Lake Mc Donald Lodge. Drove Going to the Sun road all the way to Many Glacier and did 3 hikes along the way: Trail of Cedars, Avalanche Lake and Hidden Lake Overlook. Stopped at St. Mary’s Visitor Center and saw an educational video on history of GNP. Avalanche Lake hike was reminiscent of Little Si. The lake is beautiful. Highly recommended. Difficulty Level 5.98. Hidden Lake Overlook is reminiscent of Skyline Trail in Mt rainier. Its advertised as 2.7 miles roundtrip but felt very much like 2.7 miles one way! The alpine meadows were beautiful. Highly recommended. Comparing Avalanche Lake and Hidden Lake Overlook it felt as if the journey of Hidden Lake Overlook was better whereas Avalanche Lake trumped in the destination. Had dinner at Lake Mc Donald Lodge.

8/29/16 Drove all the way from Lake McDonald Lodge to Seattle stopping at Coeur ‘d Alene for lunch at Craft (recommend). Entire drive spanning 550 miles takes about 10 hours if you account for 100-120 minutes in rest breaks.

A great and very pleasant vacation overall with first time driving to Eastern Washington.

Posted in Travel | Leave a comment

Eddy Cue And Craig Federighi Open Up About Learning From Apple’s Failures

We had long discussions at the ET [executive team] level about the importance of Maps, where we thought Maps was going in the future, and could we treat it as a third-party app? I mean, we don’t do every app. We’re not trying to create a Facebook app. We think they do a great job. We always came back to the conclusion that Maps was not one of those. It’s an integral part to the whole platform. There were so many features that we wanted to build that are dependent on that technology, and we couldn’t see ourselves being in a position where that was something that we didn’t own.

It’s very, very expensive, and it doesn’t have a direct revenue stream. So when I say it’s only Google and us who are developing it, well, that’s part of the reason why. You can’t be a company going out and developing maps to make money; at least no one’s figured that out.



Posted in Software | Leave a comment

Sansa Clip Playlists


In the Clips’ Main menu, go into settings and scroll down til you find USB Mode.
Make sure it’s in Auto Detect.

Plug in the USB cable to your computer and find the player in Explorer (Start, My Computer, Sansa Clip).  Click “Internal Memory” to get to the Clips’ folders.  We’ll call this the Clip Explorer.  If you want to create a podcast playlist, open the Podcast folder and by selecting File, New Folder, create and name it whatever you want.  If you want your podcasts organized into two or three categories, just create more folders.  Do the same for Music and/or Audiobooks.

Leave it open and using Explorer again (Start, My Computer), find the files or folders you want to copy onto the Clip.  We’ll call this the Computer File Explorer.  It’s easier if you put your mp3 files in a folder in the Computer File Explorer first.  Then you can just copy those music, podcast or audiobook folders to the appropriate folder on the Clip (copy and paste).

What we have done thus far does not create playlists.  It merely puts all files into a big jumble on the player where they can only be accessed by tags in categories such as Artists, Albums and Genre.  In order to create a list that will play in sequence, we have to create a .pla file (a playlist from those files on the player).  Go back to the Clip Explorer, open a folder (Podcasts for example), select one of your created folders with a Right Click, and then select “Create Playlist” from the drop down menu.  At the bottom you’ll see “New Playlist.pla” flashing.  Now you just name it again whatever you want to and you’re done.  Get out of Explorer and unplug the USB cord.  Whenever you open up the Clip Explorer on your computer again, you’ll find that .pla file in the same folder.  If you want to rearrange the order of that playlist, just double click the .pla file and use the arrows at the bottom of the pop-up window.

The confusing category in the Clip Explorer is Playlists.  This is simply a place where you can drag and drop (or cut and paste) your .pla playlist files and see them all in one place in the Clip Explorer.  You don’t need to put them there.  You can just leave them in the Music, Podcast or Audiobook folders and they’ll still show up as playlists on the player, but if you have a lot of playlists, it is convenient to be able to see them all in one place.

Posted in Computers | Leave a comment