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

Change spring boot app to use H2 in memory database #4

Open
stream2stream opened this issue Jul 21, 2023 · 10 comments
Open

Change spring boot app to use H2 in memory database #4

stream2stream opened this issue Jul 21, 2023 · 10 comments
Assignees

Comments

@stream2stream
Copy link
Owner

I think this is already done, we can check with @stream2stream (Selvyn)

@stream2stream stream2stream self-assigned this Jul 21, 2023
@stream2stream
Copy link
Owner Author

App runs locally, both as a standalone jar and from intellij, but /h2-console gives a 404, you can it's started in the console output, but not reachable via browser, any ideas

@peterrhysthomas
Copy link
Collaborator

peterrhysthomas commented Jul 21, 2023 via email

@stream2stream
Copy link
Owner Author

stream2stream commented Jul 24, 2023 via email

@stream2stream
Copy link
Owner Author

stream2stream commented Jul 27, 2023 via email

@stream2stream
Copy link
Owner Author

The h2-console issues was resolved by adding this dependency to the pom.xml

org.springframework.boot spring-boot-devtools true

Still got an issues where no data is coming out of the ReST endpoints, looking into it

@stream2stream
Copy link
Owner Author

stream2stream commented Jul 27, 2023 via email

@stream2stream
Copy link
Owner Author

Anyone know why the latest build fails. h2-console issue has been resolved but now getting a build failure

@peterrhysthomas
Copy link
Collaborator

Looks like some problem in the pom file
Error: 'dependencies.dependency.version' for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 73, column 21
Does it work if you run maven locally?

@stream2stream
Copy link
Owner Author

Ahh ok I get the same problem, I'll try and fix it

@stream2stream
Copy link
Owner Author

Sorted, it wanted a version number

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

2 participants