Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Ankur R Jain

Ranch Hand
+ Follow
since Jan 13, 2018
Ankur likes ...
Mac OS X Spring Java
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads

Recent posts by Ankur R Jain

I really think that the concepts have to be clear, people have done practice tests alone for multiple times which increases their scores in the practice tests alot but in the real exam they have failed. The real reason behind this is people memorise those questions and their answers, the real exam may not have exactly same questions. So be prepared for it.

Good Luck

Curtis Jackson wrote:Hi Ankur

Did you end up taking this test. If so, what did you use to study for it?

Hi Curtis,

I didn't take this test, got a little side-tracked due to work. Looking forward to take it in near future, however there are issues in terms of content available on internet for spring certifications so I am a bit worried for this one as opposed to oca and ocp.

2 years ago
Most preferred would be Spring Data-JPA as it is the most recent out of the ones mentioned ones above.
That being said, it prevents lot of boilerplate code and supports Query methods which are quite convenient.

I would like to add something more recent which is not much in picture currently but it should be in near future.

Going reactive with Spring Data


Pete Letkeman wrote:
Have you had any experience with this framework?

I have good amount of experience working with Spring Boot 1.5 / Spring framework 4 and Swagger, but unfortunately didn't get chance to start with spring 5/ spring boot 2 specific project.

Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter

Have you tried deleting RequestMappingHandlerAdapter related folders from your local Maven/Gradle repository and trying to re-build project?
2 years ago
Hi Pete,

I would like you to take a look at this, it might have something useful.

2 years ago

kennith stomps wrote:I have gotten a bit farther, here is where I am at, now receiving an error code on both lines 32 and 44
"pointsEarned cannot be resolved to a variable"
"pointsMax cannot be resolved to a variable"

I have clearly initialized these on lines 29 band 41 so I am not sure what the deal is

You've declared those variables inside for loop, and trying to return them outside for loop. Those variables have gone out of scope post for loop block.
Please declare and initialise them at the start of methods to keep them in scope.

2 years ago
Please delete the .metadata folder in your workspace after closing eclipse, and then try again.

Note: It is going to reset your workspace specific settings.


2 years ago

Campbell Ritchie wrote:

Ankur R Jain wrote:. . . Java Specifications:";" target="_new" rel="nofollow">Java Specs. . .

Look for the Java® Virtual Machine Specification (I think) (=JVMS), not the Java® Language Specification.

Hi Campbell,
The link I provided has links to both VM specs as well as Lang Specs.  

Thanks for pointing that out, hope I haven't missed anything.

2 years ago
Hi Anuraag,

Following options should help

Book:";" target="_new" rel="nofollow">Java Performance - The definitive guide By Scott Oaks
Course:";" target="_new" rel="nofollow">Udemy Course
Java Specifications:";" target="_new" rel="nofollow">Java Specs

2 years ago
Did you try changing the run configuration to have JDK/JRE 1.8 as a runtime for execution of your project ?
2 years ago

Bear Bibeault wrote:

I really like this dog, so cute.
2 years ago

tangara goh wrote:

Adam Wentz wrote:

tangara goh wrote:However, now I don't see anything at all.

Have you inadvertently applied a filter to the window?

I have not.  I double check the preferences and then I re-set to default but still I can't debug.

I thought it is because I did not put breakpoints so I put a few of them around transaction.commit etc but it is still not debugging.

I noticed the step-over, step-in buttons are all greyed there anything I can do to make them not grey out ?

I can see the issue there, I can see that you have enabled 'Skip all breakpoints' (Button with a dot and diagonal strikethrough) there. Please disable it and it should work fine.

2 years ago

Campbell Ritchie wrote:Congratulations all four of you

Thanks Campbell.

I would really like to thank J Richard Rodger for being here and arranging this.
2 years ago

Tim Holloway wrote:My go-to book isn't very recent. It's the aPress Pro JPA 2 book. It has been helpful for even the most complex of projects using things like the query builder, native queries, all sorts of joins and fetches and so forth. It covers the fundamentals very well and as far as I know, nothing radical enough has happened to JPA since it came out that I actually require something newer. Excepting of course, the product-specific on-line manuals at places like Those are frequently more up-to-date than anything you can buy from a bookseller.

Thanks for your input Tim, I will definitely take a look at the book.
2 years ago