Prasanna Raman

Ranch Hand
+ Follow
since Sep 05, 2010
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
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prasanna Raman

Pete Letkeman wrote:I noticed the other day with my SpringBoot 2.0 M7 project that when I start it up the first line in the log shown by IntelliJ is
DEBUG StatusLogger org.slf4j.helpers.Log4jLoggerFactory is not on classpath. Good!
I'm also using Gradle instead of Maven, so this could matter.

What version of SpringBoot are you using Prasanna?

I only say all this because, maybe the absence of the dependency as pointed out by Ankur is not the issue.

I'm using 1.5.9
9 months ago

Ankur R Jain wrote:

Prasanna Raman wrote:Could you please tell me how I do this?

Yes, please navigate to your user directory (using one of the following default locations) and find .m2 folder down there, go inside it, and delete the repository folder, now clean build the project in your IDE.

Default locations of .m2:

Unix/Mac OS X – ~/.m2
WindowsXP – C:\Documents and Settings\{your-username}\.m2
Windows Vista and above - C:\Users\{your-username}\.m2

Note: .m2 folder might be hidden and you can directly navigate into it by using address bar or use 'show hidden files' option.

Thank you very much, this worked.
9 months ago

Ankur R Jain wrote:I would suggest deleting your local maven repository and try compiling/building project.
It seems like some jar file did not get correctly downloaded to your system.

Could you please tell me how I do this?
9 months ago

I used Spring Initaliazr to download a Maven project, only selected Web. I added a test controller, and tried starting the app. I get this error:

Here's my pom.xml; it's unmodified from the downloaded version.

Could someone kindly check and let me know how the error can be resolved?
9 months ago
Thank you. The aim is to be able to import the customer's documents, let's say their tax forms, and pre-fill information from that document onto the Web app. Would it be possible to do something like this? I'm not sure how we'd look for pieces of information we need from the document.

10 months ago
I now got past this error. I had to go through proxy, so I added proxy in settings.xml file and it worked.

Now I added a simple controller but still keep getting the error page:

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Dec 27 12:51:37 CST 2017
There was an unexpected error (type=Not Found, status=404).
No message available

This is my controller:

I am trying to access http://localhost:8080/hello. I see that the app is started

2017-12-27 12:51:23.358  INFO 24196 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-12-27 12:51:23.478  INFO 24196 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2017-12-27 12:51:23.488  INFO 24196 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 5.157 seconds (JVM running for 5.665)
10 months ago

I just imported the Spring boot initializer zip file, unzipped it and imported it as a Maven project into my IntelliJ. I am getting a lot of errors and I don't know how to resolve those! It seems like Maven isn't dowloading anything.

  • Error3, 32) java: package org.springframework.boot does not exist
    Error4, 46) java: package org.springframework.boot.autoconfigure does not exist
    Error6, 2) java: cannot find symbol
      symbol: class SpringBootApplication
    Error10, 17) java: cannot find symbol
      symbol:   variable SpringApplication
      location: class com.example.demo.DemoApplication

  • Could someone please help? I thought it'd just be a simple import!!
    10 months ago

    I got this question from someone at work. Could someone please shed some light on this?

    "would be possible for us to accept certain file formats for upload, read the data, and prefill the application?

    Specifically, I was wondering if we could ask people to upload their Quicken or TurboTax files (.qdf, .qxf, .tax, etc) or a .pdf of a tax form and we could prefill all of their data into the application.

    Of course, we might need to be able to read all kinds of documents and see how we can pull the data we need out of each one, and maybe build a different app for that but I’m just starting with the idea.. "

    Ours is an Spring based online web application for credit that takes the user's information, so they're trying to add these options.
    10 months ago

    Tim Moores wrote:There are APIs like "login with Google" and "login with Facebook", and you should have no problems finding information about them. I don't know where you're located, but in my part of the world, I very much doubt that people would want to use social media logins for a banking site. You might want to look into what comparable sites do before embarking on this.

    Yes, I have the same question myself! I know a lot of people hardly use any real data on social networks.. so, with that said, is there anything that I could use? I did look at the login with Google, and it seems it's simple enough.
    11 months ago
    Thank you. I looked at the Spring Social app, and it seems to me like it's more for web sites that have a user login.

    To add more information, ours is a web application that lets the customer apply for some kind of credit. So, there is no login; every user is a new customer. We are just trying to see if we can connect to the user's social media and prefill some of their information to make it easier.
    11 months ago

    Stephan van Hulst wrote:Your question is quite vague. What does 'integrate' mean? Do you need to pull information out off these sites, or do you want to publish as well? What's the use case for connecting to these sites?

    Sorry for being vague. The use case is just to pull information off those sites - like name, address, email, DOB etc. and prefill our web application so users of our app won't have to enter those manually.
    11 months ago

    I have been asked to check the feasibility of adding social media integration to our web application. I am a newbie and I don't have great knowledge on this subject, so I thought I'd turn to this forum to get some help! The specific questions they had were along these lines:

    - How its done and how complicated is it to integrate?
    - What fields can be populated by logging into each social site (google, Facebook, LinkedIn, etc.)
    - How accurately does it prefill fields in each browser
    - What would we have to look out for

    I'd greatly appreciate any help! Our Web application is in Spring, if that matters.
    11 months ago
    Thank you, Junilu for all your efforts and the time you spend on this site to help us all become better developers. I can feel your real passion for software development in every post of yours I read.
    1 year ago

    Paweł Baczyński wrote:
    Don't close a Scanner pointing to

    Could you pleas explain why so?
    1 year ago
    Sorry to keep harping on the subject, but just for my own understanding and peace of mind, I will just ask this:

    Is there any merit to the argument that there shouldn't be any composite objects because the application is just a pass through and doesn't contain any behaviour? I know this whole model itself is flawed, but I was just trying to do my best given the limitations.

    His argument was why add an extra layer of complexity when the whole application was just a place holder, even if it means a new class tomorrow would have to declare all these fields separately again despite there being a number of common fields.

    I ask this just for my own understanding, because I am so disappointed right now with this.
    1 year ago