Skip to content

Example does not compile without modifications and fails at runtime with MethodInvocationException #10

@n8r0n

Description

@n8r0n

Downloaded (git cloned) latest version of spark-basic-structure. First, did not compile with errors for multiple constructors and accessor methods not present in Book.java and User.java. Implementing those methods in the obvious way allows the project to compile.

However, on running the application, I see the following web application error.

I reproduced the exact same error both on a Win 10 machine, and MacOS 10.13 machine. Java RE 1.8. Project built by importing into Eclipse.

This is my first attempt to use spark java for anything. So, machines may not be properly configured (?).

Should this code be buildable and runnable at this point? Any idea why it doesn't? Most interested in the runtime error.

spark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions