Skip to content

Casting same class - loader issues on api-webapp start #296

@Greg0

Description

@Greg0

Hi, I'm facing problem with quickstart guide.

I'm following instructions from QuickStart Guide

I've downloaded version 2.0.0 of api-webapp

Step 1. Generating bundle

Done with no problems by JDK 8.

Step 2. Run webapp

And on webapp start I have errors ClassCastException from casting same clasess. I've read that is problem with many loaders working on same classes.

java.lang.ClassCastException: org.apache.commons.cli.CommandLine cannot be cast to org.apache.commons.cli.CommandLine
	at org.onebusaway.quickstart.webapp.BootstrapWebApplicationContext.loadBeanDefinitions(BootstrapWebApplicationContext.java:54)

FULL LOG: https://gist.github.com/Greg0/3dfd05e0b6b2099356c7d97762a002fc

There is nothing working on localhost:8080 after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions