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

Changes to the build.gradle file to fix the dependance issues #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tdenton8772
Copy link

Take a look at the changes made to the build.gradle file. I put some Rockset files in here to make sure the sdk was still able to be imported.

@tylrd tylrd self-assigned this Apr 10, 2022
@@ -32,6 +32,7 @@ ProtobufHttpMessageConverter protobufHttpMessageConverter() {

@PostMapping(value = "/", produces = "application/json")
ResponseEntity<Person> createPerson(@RequestBody Person person) {
DemoRockset d = new DemoRockset();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DemoRockset d = new DemoRockset();
DemoRockset.main();

This will run the code defined in the static method DemoRockset.

Tests will fail with

java.lang.NoClassDefFoundError: com/rockset/client/RocksetClient
    at com.tylrd.DemoRockset.main(DemoRockset.java:31)

with this change.

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

Successfully merging this pull request may close these issues.

2 participants