Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #8

Open
jtwirly opened this issue Sep 13, 2023 · 0 comments
Open

issue #8

jtwirly opened this issue Sep 13, 2023 · 0 comments

Comments

@jtwirly
Copy link

jtwirly commented Sep 13, 2023

Hello! I am a tad confused, I think this may have something to do with a potential error in the reference docs but I could be wrong:

I am trying to use this
https://developer.mastercard.com/priceless-planet-carbon-tracker/documentation
https://github.com/Mastercard/carbon-calculator-experience-reference-app

On the GitHub site it says "
When the project builds successfully, you can run the following command to start the project: java -jar target/carbon-tracker-0.0.1-SNAPSHOT.jar

But that does not exist in the project - these are the jars that came with it

carbon-calculator-experience-0.0.1-SNAPSHOT.jar maven-archiver carbon-calculator-experience-0.0.1-SNAPSHOT.jar.original maven-status classes site generated-sources surefire generated-test-sources surefire-reports jacoco.exec test-classes jt@Taylors-MacBook-Air-2 carbon-calculator-experience-reference-app %

So I try running jt@Taylors-MacBook-Air-2 target % java -jar target/carbon-calculator-experience-0.0.1-SNAPSHOT.jar
And that is when I get this issue. However something that has just occured to me is that I have attempted to create this as a project within a project. Perhaps that is my mistake.

HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration#stringHttpMessageConverter matched:
- @ConditionalOnMissingBean (types: org.springframework.http.converter.StringHttpMessageConverter; SearchStrategy: all) did not find any beans (OnBeanCondition)

JacksonAutoConfiguration matched:
- @ConditionalOnClass found required class 'com.fasterxml.jackson.databind.ObjectMapper' (OnClassCondition)

JacksonAutoConfiguration.Jackson2ObjectMapperBuilderCustomizerConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder' (OnClassCondition)

I managed to get "build succeeded" after running this but can't access it via localhost or postman

Run mvn spring-boot:run command to run the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant